]> git.scottworley.com Git - overonion/blobdiff - overonion_test
set -e doesn't catch failures inside <()
[overonion] / overonion_test
index 1f654cc9beebbeb8d8f33d580eafe1f2abeef968..f4da9b40415da20b38da9b1b7e0ed26234cc35ca 100755 (executable)
@@ -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