summaryrefslogtreecommitdiffstats
path: root/checks
diff options
context:
space:
mode:
Diffstat (limited to 'checks')
-rwxr-xr-xchecks/clearsig.test16
1 files changed, 16 insertions, 0 deletions
diff --git a/checks/clearsig.test b/checks/clearsig.test
index 29407e8bd..e5445db7b 100755
--- a/checks/clearsig.test
+++ b/checks/clearsig.test
@@ -1,5 +1,10 @@
#!/bin/sh
+
+# Fixme: we should not only do a --verify but also the output.
+
+
+
. $srcdir/defs.inc || exit 3
# I can't compare the out because plain-3 has no LF as last charcater
@@ -35,4 +40,15 @@ EOF
echo "$usrpass1" | $srcdir/run-gpg --passphrase-fd 0 --clearsign -o x --yes y
$srcdir/run-gpg --verify x
+# and one with one empty line at the end
+cat >y <<EOF
+line 1
+line 2
+line 3
+there is a blank line after this
+
+EOF
+echo "$usrpass1" | $srcdir/run-gpg --passphrase-fd 0 --clearsign -o x --yes y
+$srcdir/run-gpg --verify x
+