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

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

test_expect_success 'Test "rm" command' '
	$PASS init $KEY1 &&
	$PASS generate cred1 43 &&
	echo "y" | $PASS rm cred1 &&
	[[ ! -e $PASSWORD_STORE_DIR/cred1.gpg ]]
'

test_expect_success 'Test "rm" of non-existent password' '
	test_must_fail $PASS rm does-not-exist
'

test_done
d>-2/+6 2010-09-04Fix system.split_cpvRené 'Necoro' Neumann1-1/+5 2010-07-06format strings need tuplesRené 'Necoro' Neumann1-1/+1 2010-05-25Do not bail out, if we try to replace stuff in a category w/o a dashRené 'Necoro' Neumann1-1/+7 2010-05-22Update gtk-version in glade filesRené 'Necoro' Neumann8-8/+8 2010-05-22Fix the link buttonsRené 'Necoro' Neumann1-1/+1 2010-05-20Handle missing eix-cache file more gracefullyRené 'Necoro' Neumann1-0/+7 2010-05-20More declarative handling of the database typesRené 'Necoro' Neumann3-46/+59 2010-05-11Fix release script pathesv0.14René 'Necoro' Neumann1-1/+2 2010-05-11Add '--plugin-dir' optionRené 'Necoro' Neumann1-1/+9 2010-05-11Add a README message to the releaseRené 'Necoro' Neumann1-1/+14