summaryrefslogtreecommitdiff
path: root/tests/t0020-show-tests.sh
blob: ede7cd1fe47d16f078de16a8cc079cdc508957f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash

test_description='Test show'
. ./setup.sh

test_expect_success 'Test "show" command' '
	pass init $KEY1 &&
	pass generate cred1 20 &&
	pass show cred1
'

test_expect_success 'Test "show" of nonexistant password' '
	test_must_fail pass show cred2
'

test_done