From 1edb675f4a2c7eb79149e1c026ec5b186470e272 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Wed, 23 Apr 2014 05:26:24 +0200 Subject: tests: force creation of new creds --- tests/setup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/setup.sh') 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 -- cgit v1.2.3-70-g09d2