Module Name: src
Committed By: pooka
Date: Sat Dec 11 11:36:48 UTC 2010
Modified Files:
src/tests/sbin/resize_ffs: common.sh
Log Message:
Reset error from umount. This squelches atf "cleanup should not
fail" warning if a test fails when the fs is not mounted.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/tests/sbin/resize_ffs/common.sh
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/tests/sbin/resize_ffs/common.sh
diff -u src/tests/sbin/resize_ffs/common.sh:1.3 src/tests/sbin/resize_ffs/common.sh:1.4
--- src/tests/sbin/resize_ffs/common.sh:1.3 Sat Dec 11 11:31:27 2010
+++ src/tests/sbin/resize_ffs/common.sh Sat Dec 11 11:36:48 2010
@@ -29,6 +29,7 @@
}"
eval "${name}_cleanup() { \
umount -f mnt ; \
+ : reset error ; \
}"
}
@@ -46,6 +47,7 @@
}"
eval "${name}_cleanup() { \
umount -f mnt ; \
+ : reset error ; \
}"
}