diff options
Diffstat (limited to '')
-rwxr-xr-x | tests/t0001-sanity-checks.sh | 16 |
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 |