Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/sbin/resize_ffs Reset error from umount. This squelch...
details: https://anonhg.NetBSD.org/src/rev/cd2782eb372a
branches: trunk
changeset: 759476:cd2782eb372a
user: pooka <pooka%NetBSD.org@localhost>
date: Sat Dec 11 11:36:48 2010 +0000
description:
Reset error from umount. This squelches atf "cleanup should not
fail" warning if a test fails when the fs is not mounted.
diffstat:
tests/sbin/resize_ffs/common.sh | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diffs (19 lines):
diff -r 24dd9facdd6b -r cd2782eb372a tests/sbin/resize_ffs/common.sh
--- a/tests/sbin/resize_ffs/common.sh Sat Dec 11 11:31:27 2010 +0000
+++ b/tests/sbin/resize_ffs/common.sh Sat Dec 11 11:36:48 2010 +0000
@@ -29,6 +29,7 @@
}"
eval "${name}_cleanup() { \
umount -f mnt ; \
+ : reset error ; \
}"
}
@@ -46,6 +47,7 @@
}"
eval "${name}_cleanup() { \
umount -f mnt ; \
+ : reset error ; \
}"
}
Home |
Main Index |
Thread Index |
Old Index