Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Dec 2016 23:44:26 +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: r309780 - head/contrib/netbsd-tests/fs/tmpfs
Message-ID:  <201612092344.uB9NiQxN032075@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ngie
Date: Fri Dec  9 23:44:25 2016
New Revision: 309780
URL: https://svnweb.freebsd.org/changeset/base/309780

Log:
  Use _test_unmount instead of test_unmount in cleanup to avoid
  false positives with atf_check when tmpfs is not loaded, etc
  
  MFC after:	1 week

Modified:
  head/contrib/netbsd-tests/fs/tmpfs/t_link.sh
  head/contrib/netbsd-tests/fs/tmpfs/t_remove.sh

Modified: head/contrib/netbsd-tests/fs/tmpfs/t_link.sh
==============================================================================
--- head/contrib/netbsd-tests/fs/tmpfs/t_link.sh	Fri Dec  9 23:43:33 2016	(r309779)
+++ head/contrib/netbsd-tests/fs/tmpfs/t_link.sh	Fri Dec  9 23:44:25 2016	(r309780)
@@ -97,7 +97,7 @@ subdirs_body() {
 if true; then
 atf_test_case kqueue cleanup
 kqueue_cleanup() {
-	Mount_Point=$(pwd)/mntpt test_unmount || :
+	Mount_Point=$(pwd)/mntpt _test_unmount || :
 }
 else
 # End FreeBSD

Modified: head/contrib/netbsd-tests/fs/tmpfs/t_remove.sh
==============================================================================
--- head/contrib/netbsd-tests/fs/tmpfs/t_remove.sh	Fri Dec  9 23:43:33 2016	(r309779)
+++ head/contrib/netbsd-tests/fs/tmpfs/t_remove.sh	Fri Dec  9 23:44:25 2016	(r309780)
@@ -50,7 +50,7 @@ single_body() {
 if true; then
 atf_test_case uchg cleanup
 uchg_cleanup() {
-	Mount_Point=$(pwd)/mntpt test_unmount || :
+	Mount_Point=$(pwd)/mntpt _test_unmount
 }
 else
 # End FreeBSD



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