aboutsummaryrefslogtreecommitdiffstats
path: root/checks/encryptp.test
diff options
context:
space:
mode:
Diffstat (limited to 'checks/encryptp.test')
-rwxr-xr-xchecks/encryptp.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/checks/encryptp.test b/checks/encryptp.test
index ac86fb54e..f9b66792f 100755
--- a/checks/encryptp.test
+++ b/checks/encryptp.test
@@ -4,7 +4,7 @@
#info Checking encryption with a pipe
for i in $plain_files $data_files ; do
- run_gpg -e --yes -r "$usrname2" < $i | run_gpg --yes > y
- cmp $i y || fatal "$i: mismatch"
+ ./run-gpg -e --yes -r "$usrname2" <$i | tee yy | ./run-gpg --yes > y
+ cmp $i y || error "$i: mismatch"
done