aboutsummaryrefslogtreecommitdiff
path: root/test/setup.sh
diff options
context:
space:
mode:
authorTad Fisher <tad@simple.com>2017-03-19 23:48:03 -0700
committerTad Fisher <tad@simple.com>2017-03-20 00:56:34 -0700
commit224c4dc57ee42215806c6fb8b92e64ddebaa7fd7 (patch)
tree66cb88d1fb3a776ac0cdb1439fece71be662613d /test/setup.sh
parentacfab191e6bb33f840f0a7106c3eb4cd1ab76267 (diff)
Use expect for interactive tests
Diffstat (limited to 'test/setup.sh')
-rw-r--r--test/setup.sh6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/setup.sh b/test/setup.sh
index b363e6d..f407164 100644
--- a/test/setup.sh
+++ b/test/setup.sh
@@ -1,3 +1,5 @@
+#!/usr/bin/env bash
+
# This file should be sourced by all test-scripts
#
# This scripts sets the following:
@@ -65,7 +67,3 @@ test_pass_init() {
rm -rf "$PASSWORD_STORE_DIR"
"$PASS" init "$KEY1"
}
-
-test_faketty() {
- script -qfc "$(printf "%q " "$@")"
-}