Home | History | Annotate | Line # | Download | only in dist
tst revision 1.2
      1  1.1  agc #! /bin/sh
      2  1.1  agc 
      3  1.2  agc env USETOOLS=no MAKEOBJDIRPREFIX=/usr/obj/i386 sh -c 'cd ../lib && \
      4  1.2  agc 	make cleandir ; \
      5  1.2  agc 	make ; \
      6  1.2  agc 	su root -c "make install"'
      7  1.2  agc env USETOOLS=no MAKEOBJDIRPREFIX=/usr/obj/i386 sh -c 'cd ../bin && \
      8  1.2  agc 	make cleandir ; \
      9  1.2  agc 	make ; \
     10  1.2  agc 	su root -c "make install"'
     11  1.1  agc echo "======> sign/verify 180938 file"
     12  1.1  agc cp configure a
     13  1.2  agc /usr/bin/netpgp --sign a
     14  1.2  agc /usr/bin/netpgp --verify a.gpg
     15  1.1  agc echo "======> attempt to verify an unsigned file"
     16  1.2  agc /usr/bin/netpgp --verify a 
     17  1.1  agc echo "======> encrypt/decrypt 10809 file"
     18  1.1  agc cp src/bin/netpgp.1 b
     19  1.2  agc /usr/bin/netpgp --encrypt b
     20  1.2  agc /usr/bin/netpgp --decrypt b.gpg
     21  1.1  agc diff src/bin/netpgp.1 b && echo "No differences found"
     22  1.1  agc echo "======> encrypt/decrypt 180938 file"
     23  1.1  agc cp configure c
     24  1.2  agc /usr/bin/netpgp --encrypt c
     25  1.2  agc /usr/bin/netpgp --decrypt c.gpg
     26  1.1  agc diff configure c && echo "No differences found"
     27  1.1  agc echo "======> encrypt/decrypt bigass file"
     28  1.1  agc cat configure configure configure configure configure configure > d
     29  1.1  agc ls -l d
     30  1.1  agc cp d e
     31  1.2  agc /usr/bin/netpgp --encrypt d
     32  1.2  agc /usr/bin/netpgp --decrypt d.gpg
     33  1.1  agc diff e d && echo "No differences found"
     34  1.1  agc echo "======> version information"
     35  1.2  agc /usr/bin/netpgp --version
     36  1.1  agc rm -f a a.gpg b b.gpg c c.gpg d d.gpg e
     37