]> git.scottworley.com Git - overonion/blob - overonion_test
6ec2d61cec9f607cd6ed6df0c7eb44353038d23f
[overonion] / overonion_test
1 #!/bin/bash
2
3 set -e
4
5 d=$(mktemp -d)
6 test_data=$0
7
8 ./overonion-make-key --make_INSECURE_key "$d/key"
9 cmp --verbose <(./overonion e "$d/key" < "$test_data" | ./overonion d "$d/key") "$test_data"
10 rm -r "$d"
11 echo PASS