source: trunk/third/transcript/TESTS @ 9195

Revision 9195, 1.5 KB checked in by ghudson, 28 years ago (diff)
Describes test commands developed by bert.
Line 
1### Some tests to make sure Transcript tools are running properly.
2
3if ( "$PRINTER" == "" ) then
4   set pr=nil
5else
6   set pr="$PRINTER"
7endif
8
9if ( -e /usr/adm/utmp ) then
10   set utmp=/usr/adm/utmp
11else
12   set utmp=/etc/utmp
13endif
14
15### enscript tests
16
17${ROOT}/usr/athena/bin/enscript -p- /mit/transcript/transcript-v4.1/.build | lpr -P$pr
18
19${ROOT}/usr/athena/bin/enscript -h1R -fCourier10 -FCourier-Bold10 -P$pr /mit/transcript/transcript-v4.1/.build
20
21${ROOT}/usr/athena/bin/enscript -c -v6 -Jhello -Cworld -\#2 -L10 -b"%%%%%%[%f] [%d] [%n]%%%%%%" -P$pr /mit/transcript/transcript-v4.1/.build
22
23${ROOT}/usr/athena/bin/enscript -G -v6 -L10 -b"%%%%%%[%f] [%d] [%n]%%%%%%" -P$pr /mit/transcript/transcript-v4.1/.build
24
25${ROOT}/usr/athena/bin/enscript -hBv3 -P$pr /mit/transcript/transcript-v4.1/.build
26
27${ROOT}/usr/athena/bin/enscript -hoq -fZapfChancery-MediumItalic8 -FZapfDingbats12 -P$pr $utmp
28
29${ROOT}/usr/athena/bin/enscript -hgm -fZapfChancery-MediumItalic8 -FZapfDingbats12 -P$pr $utmp
30
31### other stuff
32
33${ROOT}/usr/athena/bin/psroff -F Palatino -t -man man/psroff.1p | lpr -P$pr
34
35nroff -man man/enscript.1p | ${ROOT}/usr/athena/bin/enscript -2rl -P$pr
36
37${ROOT}/usr/athena/bin/psroff -t -man man/psnup.1p | ${ROOT}/usr/athena/bin/psnup -Grn1x2 | lpr -h -P$pr
38
39${ROOT}/usr/athena/bin/psroff -t -man man/pslpr.1p | ${ROOT}/usr/athena/bin/pslpr -qL -h -P$pr
40
41${ROOT}/usr/athena/bin/psroff -t -man man/psdraft.1p | ${ROOT}/usr/athena/bin/psdraft -sTRANSCRIPT -fHelvetica80 -g0.75 -x100 -r45 | lpr -h -P$pr
Note: See TracBrowser for help on using the repository browser.