summaryrefslogtreecommitdiffstats
path: root/pw/tests/pw_etcdir.sh
diff options
context:
space:
mode:
authorBrad Davis <brd@FreeBSD.org>2014-11-17 15:44:00 +0000
committerBrad Davis <brd@FreeBSD.org>2014-11-17 15:44:00 +0000
commit04c1a8669ab01c8bb76f4cbf48aa2f8c56fa80e9 (patch)
tree29bc0a3b5333ad8f027f254d417c2e93295c4a76 /pw/tests/pw_etcdir.sh
parent05bfd29f9b6e162552771d9d260c2b08c4380fbc (diff)
downloadpw-darwin-04c1a8669ab01c8bb76f4cbf48aa2f8c56fa80e9.tar.gz
pw-darwin-04c1a8669ab01c8bb76f4cbf48aa2f8c56fa80e9.tar.zst
pw-darwin-04c1a8669ab01c8bb76f4cbf48aa2f8c56fa80e9.zip
Clean up some language
Reviewed by: will
Diffstat (limited to 'pw/tests/pw_etcdir.sh')
-rwxr-xr-xpw/tests/pw_etcdir.sh14
1 files changed, 7 insertions, 7 deletions
diff --git a/pw/tests/pw_etcdir.sh b/pw/tests/pw_etcdir.sh
index edb97fe..b237789 100755
--- a/pw/tests/pw_etcdir.sh
+++ b/pw/tests/pw_etcdir.sh
@@ -1,18 +1,18 @@
# $FreeBSD$
-# When provide -V dir, dir must exists
-atf_test_case etcdir_must_exists
-etcdir_must_exists_head() {
- atf_set "descr" "When provide -V dir, dir must exists"
+# 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_exists_body() {
- local fakedir="/this_directory_does_not_exists"
+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_exists
+ atf_add_test_case etcdir_must_exist
}