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