svn commit: r309779 - head/contrib/netbsd-tests/fs/tmpfs
Ngie Cooper
ngie at FreeBSD.org
Fri Dec 9 23:43:35 UTC 2016
Author: ngie
Date: Fri Dec 9 23:43:33 2016
New Revision: 309779
URL: https://svnweb.freebsd.org/changeset/base/309779
Log:
- Ignore errors from umount
- Use _test_unmount instead of test_unmount in cleanup
MFC after: 1 week
Modified:
head/contrib/netbsd-tests/fs/tmpfs/t_mount.sh
Modified: head/contrib/netbsd-tests/fs/tmpfs/t_mount.sh
==============================================================================
--- head/contrib/netbsd-tests/fs/tmpfs/t_mount.sh Fri Dec 9 23:42:04 2016 (r309778)
+++ head/contrib/netbsd-tests/fs/tmpfs/t_mount.sh Fri Dec 9 23:43:33 2016 (r309779)
@@ -97,7 +97,8 @@ negative_body() {
if true; then
atf_test_case large cleanup
large_cleanup() {
- umount -f tmp 2>/dev/null
+ umount -f tmp 2>/dev/null || :
+ Mount_Point=$(pwd)/mnt _test_unmount || :
}
else
# End FreeBSD
More information about the svn-src-head
mailing list