diff options
author | Werner Koch <wk@gnupg.org> | 1998-11-27 15:33:31 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 1998-11-27 15:33:31 +0100 |
commit | d87a3c14c47e16bba135c2af948b00670fea8c30 (patch) | |
tree | 88d70f1ffab768ca109078faa5c6037c55f6bf28 /checks | |
parent | See ChangeLog: Fri Nov 27 12:39:29 CET 1998 Werner Koch (diff) | |
download | gnupg2-d87a3c14c47e16bba135c2af948b00670fea8c30.tar.xz gnupg2-d87a3c14c47e16bba135c2af948b00670fea8c30.zip |
See ChangeLog: Fri Nov 27 15:30:24 CET 1998 Werner Koch
Diffstat (limited to 'checks')
-rw-r--r-- | checks/ChangeLog | 4 | ||||
-rwxr-xr-x | checks/clearsig.test | 20 |
2 files changed, 24 insertions, 0 deletions
diff --git a/checks/ChangeLog b/checks/ChangeLog index 3b87c65e6..83afdd699 100644 --- a/checks/ChangeLog +++ b/checks/ChangeLog @@ -1,3 +1,7 @@ +Fri Nov 27 15:30:24 CET 1998 Werner Koch <wk@isil.d.shuttle.de> + + * clearsig.test: Some more test cases. + Sun Oct 25 18:19:35 1998 Werner Koch (wk@isil.d.shuttle.de) * mds.test: Check whether TIGER is available. diff --git a/checks/clearsig.test b/checks/clearsig.test index 69c2544d7..29407e8bd 100755 --- a/checks/clearsig.test +++ b/checks/clearsig.test @@ -15,4 +15,24 @@ for i in $plain_files; do --rfc1991 --digest-algo md5 -sat -o x --yes $i $srcdir/run-gpg --verify x done +# and one with long lines +cat >y <<EOF +xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxyx + +xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx +EOF +echo "$usrpass1" | $srcdir/run-gpg --passphrase-fd 0 --clearsign -o x --yes y +$srcdir/run-gpg --verify x +# and one with only one long lines +cat >y <<EOF +xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxyx +EOF +echo "$usrpass1" | $srcdir/run-gpg --passphrase-fd 0 --clearsign -o x --yes y +$srcdir/run-gpg --verify x +# and one with an empty body +cat >y <<EOF +EOF +echo "$usrpass1" | $srcdir/run-gpg --passphrase-fd 0 --clearsign -o x --yes y +$srcdir/run-gpg --verify x + |