diff options
author | Rémi Lapeyre <remi.lapeyre@lenstra.fr> | 2020-03-30 00:01:24 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-06-11 18:47:43 +0200 |
commit | a60b7ec4dcdce874009b93fd79d53eefa39ad338 (patch) | |
tree | 2be85eda3d1fbfe5faaf31b375dcf7294d1e3caf /tests | |
parent | d4db24bfc34b29a3a894ebea2caa3ed6724207d7 (diff) |
Ignore non-printable characters in calls to tree
In MacOS Catalina, pass fails on accents with 'sed: RE error: illegal
byte sequence'.
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/t0020-show-tests.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/t0020-show-tests.sh b/tests/t0020-show-tests.sh index a4b782f..81b87b4 100755 --- a/tests/t0020-show-tests.sh +++ b/tests/t0020-show-tests.sh @@ -15,6 +15,11 @@ test_expect_success 'Test "show" command with spaces' ' [[ $("$PASS" show "I am a cred with lots of spaces") == "BLAH!!" ]] ' +test_expect_success 'Test "show" command with unicode' ' + "$PASS" generate 🏠 && + "$PASS" show | grep -q '🏠' +' + test_expect_success 'Test "show" of nonexistant password' ' test_must_fail "$PASS" show cred2 ' |