summaryrefslogtreecommitdiff
path: root/tests/t0001-sanity-checks.sh
blob: bf0439499774376a25e12af8234a195bafcbc36f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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
td>generate: have a default length of 25Jason A. Donenfeld2-6/+12