Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Dec 2016 23:43:34 +0000 (UTC)
From:      Ngie Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r309779 - head/contrib/netbsd-tests/fs/tmpfs
Message-ID:  <201612092343.uB9NhYXX031982@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612092343.uB9NhYXX031982>