summaryrefslogtreecommitdiff
path: root/reference/C/CONTRIB/OR_PRACTICAL_C/test.csh
blob: b3beec8f8b0e6611bb52086e1bb60c7e5f809109 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/bin/csh
#
# Test file for the program tlint 
#
#----------------------------------------
# Print commands as they are executed
#
set echo
#----------------------------------------
# Try something normal
#
tlint troff.test
#----------------------------------------
# Try non-existent macro and font file
tlint -mno-name 
tlint -fno-name
#----------------------------------------
# Try a bad macro file
tlint -mbad.mac </dev/null
#----------------------------------------
# Try font file with two-character name
tlint -ftwo.font </dev/null
#----------------------------------------
# Try a single-character macro
tlint -msingle.mac bold.test
#----------------------------------------
# Try an illegal option
tlint -qdummy
#----------------------------------------
# Try non-existent file
tlint  dummy