Add a test for the null list-packets file.
This commit is contained in:
parent
871e03b1c5
commit
e4c9a22cd7
|
@ -10,7 +10,7 @@ env USETOOLS=no MAKEOBJDIRPREFIX=/usr/obj/i386 sh -c 'cd ../bin && \
|
|||
su root -c "make install"'
|
||||
|
||||
passed=0
|
||||
total=8
|
||||
total=9
|
||||
echo "======> sign/verify 180938 file"
|
||||
cp configure a
|
||||
/usr/bin/netpgp --sign a
|
||||
|
@ -48,4 +48,7 @@ diff a a3 && passed=$(expr $passed + 1)
|
|||
echo "======> version information"
|
||||
/usr/bin/netpgp --version
|
||||
rm -f a a.gpg b b.gpg c c.gpg d d.gpg e f f.sig a2 a3
|
||||
echo "======> no list-packets file"
|
||||
/usr/bin/netpgp --list-packets || passed=$(expr $passed + 1)
|
||||
rm -f a a.gpg b b.gpg c c.gpg d d.gpg e f f.sig a2 a3
|
||||
echo "Passed ${passed}/${total} tests"
|
||||
|
|
Loading…
Reference in New Issue