m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2014-04-23 05:26:24 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2014-04-23 05:26:24 +0200
commit1edb675f4a2c7eb79149e1c026ec5b186470e272 (patch)
tree537e7d78e3e5f11b738dcf20b84de9a72502b51e /tests
parent6068e1e364c26218189deb32fe74e9d049dbdfa5 (diff)
tests: force creation of new creds
Diffstat (limited to 'tests')
-rwxr-xr-xtests/setup.sh4
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