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
This commit is contained in:
Enji Cooper 2016-12-09 23:44:25 +00:00
parent 60fbebc327
commit 5eabf0ffea
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=309780
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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