diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2014-04-23 05:26:24 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2014-04-23 05:26:24 +0200 |
commit | 1edb675f4a2c7eb79149e1c026ec5b186470e272 (patch) | |
tree | 537e7d78e3e5f11b738dcf20b84de9a72502b51e /tests/setup.sh | |
parent | 6068e1e364c26218189deb32fe74e9d049dbdfa5 (diff) | |
download | pass-1edb675f4a2c7eb79149e1c026ec5b186470e272.tar.gz pass-1edb675f4a2c7eb79149e1c026ec5b186470e272.tar.bz2 pass-1edb675f4a2c7eb79149e1c026ec5b186470e272.zip |
tests: force creation of new creds
Diffstat (limited to '')
-rwxr-xr-x | tests/setup.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/setup.sh b/tests/setup.sh index e551cd3..e38c12f 100755 --- a/tests/setup.sh +++ b/tests/setup.sh @@ -130,10 +130,10 @@ create_cred() { local password="$1" shift echo "Using password \"$password\" for $cred" - $PASS insert -e "$cred" <<<"$password" || return 1 + $PASS insert -f -e "$cred" <<<"$password" || return 1 else echo "Generating random password for $cred" - if ! $PASS generate "${cred}" 24 > /dev/null; then + if ! $PASS generate -f "${cred}" 24 > /dev/null; then echo "Failed to create credential ${cred}" return 1 fi |