diff options
Diffstat (limited to 'test')
-rwxr-xr-x | test/insert.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/insert.t b/test/insert.t index e04914e..dbd6e2a 100755 --- a/test/insert.t +++ b/test/insert.t @@ -18,7 +18,7 @@ test_expect_success 'Prompts before overwriting key URI' ' test_pass_init && "$PASS" otp insert "$uri1" passfile && - test_faketty "echo n | $PASS otp insert $uri2 passfile" && + test_faketty "$PASS" otp insert "$uri2" passfile < <(echo n) && [[ $("$PASS" show passfile) == "$uri1" ]] ' |