<div dir="auto">I had to install bash 4.x for my user on macOS to fix pass 1.7 auto-completion errors. macOS was using bash 3.x by default.</div><div class="gmail_extra"><br><div class="gmail_quote">On Feb 28, 2017 6:33 AM, "isidoro carlo ghezzi" <<a href="mailto:isidoro.ghezzi@icloud.com">isidoro.ghezzi@icloud.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>Hi all</div><div><br></div><div>I downloaded the version 1.7, and `make test` fails:</div><div>```</div><div>$ make test<br>ok 1 - Make sure we can run pass<br>ok 2 - Make sure we can initialize our test store<br># passed all 2 test(s)<br>1..2<br>ok 1 - Test "generate" command<br>not ok 2 - Test replacement of first line<br># <br># "$PASS" insert -m cred2 <<<"$(printf "this is a big\\npassword\\nwith\\nmany\\<wbr>nlines\\nin it bla bla")" &&<br># PATH="$TEST_HOME:$PATH" FAKE_PWGEN_PASSWORD="This is a fake password" "$PASS" generate -i cred2 23 &&<br># [[ $("$PASS" show cred2) == "$(printf "This is a fake password\\npassword\\nwith\\<wbr>nmany\\nlines\\nin it bla bla")" ]]<br># <br># failed 1 among 2 test(s)<br>1..2<br>make: *** [tests/t0010-generate-tests.<wbr>sh] Error 1<br></div><div>```</div><div><br></div><div>in details:</div><div><br></div><div>```<br>$ tests/t0010-generate-tests.sh -v<br>expecting success: <br> "$PASS" init $KEY1 &&<br> "$PASS" generate cred 19 &&<br> [[ $("$PASS" show cred | wc -m) -eq 20 ]]<br><br>Password store initialized for CF90C77B<br>The generated password for cred is:<br>5NwpOZ}kyR>Q6%}A*W8<br>ok 1 - Test "generate" command<br><br>expecting success: <br> "$PASS" insert -m cred2 <<<"$(printf "this is a big\\npassword\\nwith\\nmany\\<wbr>nlines\\nin it bla bla")" &&<br> PATH="$TEST_HOME:$PATH" FAKE_PWGEN_PASSWORD="This is a fake password" "$PASS" generate -i cred2 23 &&<br> [[ $("$PASS" show cred2) == "$(printf "This is a fake password\\npassword\\nwith\\<wbr>nmany\\nlines\\nin it bla bla")" ]]<br><br>Enter contents of cred2 and press Ctrl+D when finished:<br><br>Usage: password-store.sh generate [--no-symbols,-n] [--clip,-c] [--qrcode,-q] [--in-place,-i | --force,-f] pass-name [pass-length]<br>not ok 2 - Test replacement of first line<br># <br># "$PASS" insert -m cred2 <<<"$(printf "this is a big\\npassword\\nwith\\nmany\\<wbr>nlines\\nin it bla bla")" &&<br># PATH="$TEST_HOME:$PATH" FAKE_PWGEN_PASSWORD="This is a fake password" "$PASS" generate -i cred2 23 &&<br># [[ $("$PASS" show cred2) == "$(printf "This is a fake password\\npassword\\nwith\\<wbr>nmany\\nlines\\nin it bla bla")" ]]<br># <br><br># failed 1 among 2 test(s)<br>1..2<br>```<br></div><div><br></div><div>Same error both on OS X El Capitan, and macOS Sierra.</div><div><br></div><div>Best regards, Isidoro</div><div><br></div></div><br>______________________________<wbr>_________________<br>
Password-Store mailing list<br>
<a href="mailto:Password-Store@lists.zx2c4.com">Password-Store@lists.zx2c4.com</a><br>
<a href="https://lists.zx2c4.com/mailman/listinfo/password-store" rel="noreferrer" target="_blank">https://lists.zx2c4.com/<wbr>mailman/listinfo/password-<wbr>store</a><br>
<br></blockquote></div></div>