From 760c644a1d9f55c91b74521b112958966e00ea31 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Tue, 22 Apr 2014 18:35:11 +0200 Subject: Import Von's tests, with cleanups. --- tests/t0001-sanity-checks.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 tests/t0001-sanity-checks.sh (limited to 'tests/t0001-sanity-checks.sh') 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 -- cgit v1.2.3