summaryrefslogtreecommitdiffstats
path: root/pw/tests/helper_functions.shin
diff options
context:
space:
mode:
authorBrad Davis <brd@FreeBSD.org>2014-11-19 23:07:46 +0000
committerBrad Davis <brd@FreeBSD.org>2014-11-19 23:07:46 +0000
commitdb6b0912de06dd7c8a2f9749c463ad98f19c978b (patch)
tree7818d898a8f5eb513263a3fcd39e2741e6e3e39e /pw/tests/helper_functions.shin
parent04c1a8669ab01c8bb76f4cbf48aa2f8c56fa80e9 (diff)
downloadpw-darwin-db6b0912de06dd7c8a2f9749c463ad98f19c978b.tar.gz
pw-darwin-db6b0912de06dd7c8a2f9749c463ad98f19c978b.tar.zst
pw-darwin-db6b0912de06dd7c8a2f9749c463ad98f19c978b.zip
Replace the pw(1) calls with a variable, to make it easier to to change across all the tests as needed.
Reviewed by: will
Diffstat (limited to 'pw/tests/helper_functions.shin')
-rwxr-xr-xpw/tests/helper_functions.shin3
1 files changed, 3 insertions, 0 deletions
diff --git a/pw/tests/helper_functions.shin b/pw/tests/helper_functions.shin
index f87b1e7..3680dfe 100755
--- a/pw/tests/helper_functions.shin
+++ b/pw/tests/helper_functions.shin
@@ -1,5 +1,8 @@
# $FreeBSD$
+# The pw command
+PW="pw -V ${HOME}"
+
# Workdir to run tests in
TESTDIR=$(atf_get_srcdir)