summaryrefslogtreecommitdiffstats
path: root/pw/tests/pw_etcdir.sh
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2017-03-23 03:28:24 +0000
committerEnji Cooper <ngie@FreeBSD.org>2017-03-23 03:28:24 +0000
commita5efa210b291630d838878b8d5e7d2ab0bf8b384 (patch)
tree395dd27057c93ec6f91809efc770f39fd526bf9e /pw/tests/pw_etcdir.sh
parente9b9941bd76fcfbac2d1898de8f05cd48d8468ed (diff)
downloadpw-darwin-a5efa210b291630d838878b8d5e7d2ab0bf8b384.tar.gz
pw-darwin-a5efa210b291630d838878b8d5e7d2ab0bf8b384.tar.zst
pw-darwin-a5efa210b291630d838878b8d5e7d2ab0bf8b384.zip
Rename tests from <foo> to <foo>_test to match the FreeBSD test suite
naming scheme usr.bin/diff/diff_test was renamed to usr.bin/diff/netbsd_diff_test to avoid collisions with the renamed FreeBSD test. MFC after: 1 week Sponsored by: Dell EMC Isilon
Diffstat (limited to 'pw/tests/pw_etcdir.sh')
-rwxr-xr-xpw/tests/pw_etcdir.sh18
1 files changed, 0 insertions, 18 deletions
diff --git a/pw/tests/pw_etcdir.sh b/pw/tests/pw_etcdir.sh
deleted file mode 100755
index b237789..0000000
--- a/pw/tests/pw_etcdir.sh
+++ /dev/null
@@ -1,18 +0,0 @@
-# $FreeBSD$
-
-# When the '-V directory' option is provided, the directory must exist
-atf_test_case etcdir_must_exist
-etcdir_must_exist_head() {
- atf_set "descr" "When the '-V directory' option is provided, the directory must exist"
-}
-
-etcdir_must_exist_body() {
- local fakedir="/this_directory_does_not_exist"
- atf_check -e inline:"pw: no such directory \`$fakedir'\n" \
- -s exit:72 -x pw -V ${fakedir} usershow root
-}
-
-atf_init_test_cases() {
- atf_add_test_case etcdir_must_exist
-}
-