password-store

Simple password manager using gpg and ordinary unix directories
git clone https://git.zx2c4.com/password-store
Log | Files | Refs | README | LICENSE

commit 99b29e6fd6d448130882065b7fad87b1fe09727a
parent cd034e872d1a273961ef5612239d5e8168eb8843
Author: Jason A. Donenfeld <Jason@zx2c4.com>
Date:   Thu, 24 Apr 2014 04:16:37 +0200

tests: sed doesn't like escaped chars on non-gnu

Diffstat:
Mtests/t0500-find.sh | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/t0500-find.sh b/tests/t0500-find.sh @@ -12,7 +12,7 @@ test_expect_success 'Make sure find resolves correct files' ' "$PASS" generate Fishthings 122 && "$PASS" generate Fishies/stuff 21 && "$PASS" generate Fishies/otherstuff 1234 && - [[ $("$PASS" find fish | sed "s/^[ \`|-]*//g;s/\\x1B\\[[0-9;]*[a-zA-Z]//g" | tr "\\n" -) == "Search Terms: fish-Fish-Fishies-otherstuff-stuff-Fishthings-" ]] + [[ $("$PASS" find fish | sed "s/^[ \`|-]*//g;s/$(printf \\x1b)\\[[0-9;]*[a-zA-Z]//g" | tr "\\n" -) == "Search Terms: fish-Fish-Fishies-otherstuff-stuff-Fishthings-" ]] ' test_done