diff options
author | Tad Fisher <tad@simple.com> | 2017-03-18 23:56:24 -0700 |
---|---|---|
committer | Tad Fisher <tad@simple.com> | 2017-03-18 23:56:24 -0700 |
commit | 8367284176c086d3bf203923bbd0abd9c0786e33 (patch) | |
tree | 263212762825a45ded99a2ee645d8b5984b00885 | |
parent | 72373e86cea699c5fb69cfff436e390186cc9e4e (diff) | |
download | pass-otp-8367284176c086d3bf203923bbd0abd9c0786e33.tar.gz pass-otp-8367284176c086d3bf203923bbd0abd9c0786e33.zip |
Fix overwrite prompt 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" ]] ' |