summaryrefslogtreecommitdiffstats
path: root/checks
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>1998-12-09 13:44:46 +0100
committerWerner Koch <wk@gnupg.org>1998-12-09 13:44:46 +0100
commita45f8241500f8f980cf19afb70e90ac346da9d59 (patch)
tree827457e8b82f05017212c33ca906084f5431eda4 /checks
parentSee ChangeLog: Tue Dec 8 15:09:29 CET 1998 Werner Koch (diff)
downloadgnupg2-a45f8241500f8f980cf19afb70e90ac346da9d59.tar.xz
gnupg2-a45f8241500f8f980cf19afb70e90ac346da9d59.zip
See ChangeLog: Wed Dec 9 13:41:06 CET 1998 Werner Koch
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
+