From bcbeee4d1646dffe0eb77b4ce93ab8ed72ba5459 Mon Sep 17 00:00:00 2001 From: Scott Worley Date: Sun, 22 Oct 2017 00:01:03 -0700 Subject: [PATCH] set -e doesn't catch failures inside <() --- overonion_test | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/overonion_test b/overonion_test index 1f654cc..f4da9b4 100755 --- a/overonion_test +++ b/overonion_test @@ -7,6 +7,7 @@ test_data=$0 ./overonion-make-key --make_INSECURE_key "$d/key" ./overonion e "$d/key" < "$test_data" > "$d/encrypted" -cmp --verbose <(./overonion d "$d/key" < "$d/encrypted") "$test_data" +./overonion d "$d/key" < "$d/encrypted" > "$d/roundtripped" +cmp --verbose "$d/roundtripped" "$test_data" rm -r "$d" echo PASS -- 2.44.1