From: Scott Worley Date: Sun, 22 Oct 2017 07:01:03 +0000 (-0700) Subject: set -e doesn't catch failures inside <() X-Git-Url: http://git.scottworley.com/overonion/commitdiff_plain/bcbeee4d1646dffe0eb77b4ce93ab8ed72ba5459 set -e doesn't catch failures inside <() --- 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