summaryrefslogtreecommitdiffstats
path: root/tcsh-6.17.00-testsuite.patch
blob: aff70efdae4836f28b5da0868c5e2e9af8827a41 (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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
diff -up tcsh-6.17.00/tests/lexical.at.testsuite tcsh-6.17.00/tests/lexical.at
--- tcsh-6.17.00/tests/lexical.at.testsuite	2008-10-17 21:56:59.000000000 +0200
+++ tcsh-6.17.00/tests/lexical.at	2010-04-08 16:27:27.286413600 +0200
@@ -30,15 +30,15 @@ AT_CLEANUP
 
 AT_SETUP([Comments])
 
-AT_CHECK([echo 'echo OK#comment' | tcsh -f], , [OK
+AT_CHECK([echo 'echo OK@%:@comment' | tcsh -f], , [OK
 ])
 
-AT_CHECK([tcsh -f -c 'echo #no comment'], ,
-[#no comment
+AT_CHECK([tcsh -f -c 'echo @%:@no comment'], ,
+[@%:@no comment
 ])
 
 AT_DATA([comment2.csh],
-[[echo testing...#\
+[[echo testing...@%:@\
 OK
 ]])
 AT_CHECK([tcsh -f comment2.csh], ,
@@ -194,7 +194,7 @@ AT_DATA([nohist.csh],
 [[echo ! space !	tab != "!(" newline !
 ]])
 AT_CHECK([tcsh -f nohist.csh], ,
-[! space ! tab != !( newline !
+[! space ! tab != !@{:@ newline !
 ])
 
 AT_CLEANUP
@@ -230,14 +230,14 @@ AT_CHECK([tcsh -f -q -i < negative.csh],
 [echo 1
 ])
 
-AT_CHECK([echo 'echo !#:0' | tcsh -f -q -i], ,
+AT_CHECK([echo 'echo !@%:@:0' | tcsh -f -q -i], ,
 [> echo
 > exit
 ],
 [echo echo
 ])
 
-AT_CHECK([echo 'echo !#:1' | tcsh -f -q -i], 1,
+AT_CHECK([echo 'echo !@%:@:1' | tcsh -f -q -i], 1,
 [> > exit
 ],
 [Bad ! arg selector.