]> xenbits.xensource.com Git - people/royger/freebsd.git/commitdiff
- Ignore errors from umount
authorngie <ngie@FreeBSD.org>
Fri, 9 Dec 2016 23:43:33 +0000 (23:43 +0000)
committerngie <ngie@FreeBSD.org>
Fri, 9 Dec 2016 23:43:33 +0000 (23:43 +0000)
- Use _test_unmount instead of test_unmount in cleanup

MFC after: 1 week

contrib/netbsd-tests/fs/tmpfs/t_mount.sh

index ec9d42f0f279615b1ed0d6a7a9fa842d2d55a74b..9ec5e31bd1a046c0c8642c61df21a798a2e6805f 100755 (executable)
@@ -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