diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-02-25 13:31:45 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-02-25 13:31:45 +0100 |
commit | 3691b66a31266b83b0b047ee955139cdb91f3ede (patch) | |
tree | bca04fd248f023485e18a2077fd4433734d9acf1 /tests/t0010-generate-tests.sh | |
parent | 5db9993af05ea358c0d5b3b270a40c37beb162f5 (diff) | |
download | pass-3691b66a31266b83b0b047ee955139cdb91f3ede.tar.gz pass-3691b66a31266b83b0b047ee955139cdb91f3ede.tar.bz2 pass-3691b66a31266b83b0b047ee955139cdb91f3ede.zip |
tests: fix for recent changes
Diffstat (limited to '')
-rwxr-xr-x | tests/t0010-generate-tests.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/t0010-generate-tests.sh b/tests/t0010-generate-tests.sh index cadb76f..09f4099 100755 --- a/tests/t0010-generate-tests.sh +++ b/tests/t0010-generate-tests.sh @@ -12,7 +12,7 @@ test_expect_success 'Test "generate" command' ' test_expect_success 'Test replacement of first line' ' "$PASS" insert -m cred2 <<<"$(printf "this is a big\\npassword\\nwith\\nmany\\nlines\\nin it bla bla")" && - PATH="$TEST_HOME:$PATH" FAKE_PWGEN_PASSWORD="This is a fake password" "$PASS" generate -i cred2 88 && + PATH="$TEST_HOME:$PATH" FAKE_PWGEN_PASSWORD="This is a fake password" "$PASS" generate -i cred2 23 && [[ $("$PASS" show cred2) == "$(printf "This is a fake password\\npassword\\nwith\\nmany\\nlines\\nin it bla bla")" ]] ' |