X-Git-Url: http://git.scottworley.com/overonion/blobdiff_plain/636e3e5b935d67b52989f948d80fb151e330f21c..61aa2da8adb97bdc2e3003ec7d6f4ca58fc6c54d:/overonion_test diff --git a/overonion_test b/overonion_test index 6ec2d61..f4da9b4 100755 --- a/overonion_test +++ b/overonion_test @@ -6,6 +6,8 @@ d=$(mktemp -d) test_data=$0 ./overonion-make-key --make_INSECURE_key "$d/key" -cmp --verbose <(./overonion e "$d/key" < "$test_data" | ./overonion d "$d/key") "$test_data" +./overonion e "$d/key" < "$test_data" > "$d/encrypted" +./overonion d "$d/key" < "$d/encrypted" > "$d/roundtripped" +cmp --verbose "$d/roundtripped" "$test_data" rm -r "$d" echo PASS