m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
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