m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/tests/t0001-sanity-checks.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/t0001-sanity-checks.sh')
-rwxr-xr-xtests/t0001-sanity-checks.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/t0001-sanity-checks.sh b/tests/t0001-sanity-checks.sh
new file mode 100755
index 0000000..bf04394
--- /dev/null
+++ b/tests/t0001-sanity-checks.sh
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+test_description='Sanity checks'
+. ./setup.sh
+
+test_expect_success 'Make sure we can run pass' '
+ ${PASS} --help | grep "pass: the standard unix password manager"
+'
+
+test_expect_success 'Make sure we can initialize our test store' '
+ pass_init &&
+ ls -ld "${PASSWORD_STORE_DIR}" &&
+ [[ -d "${PASSWORD_STORE_DIR}" ]]
+'
+
+test_done