[tcsh/f13/master] Fix testsuite

Vojtěch Vítek vvitek at fedoraproject.org
Tue Jan 25 16:43:58 UTC 2011


commit 7354e9bedbc2498b20950fe214f8b8a6d2b49ca8
Author: Vojtech Vitek (V-Teq) <vvitek at redhat.com>
Date:   Tue Jan 25 17:36:55 2011 +0100

    Fix testsuite

 tcsh-6.17.00-testsuite.patch |   49 ++++++++++++++++++++++++++++++++++++++++++
 tcsh.spec                    |    3 ++
 2 files changed, 52 insertions(+), 0 deletions(-)
---
diff --git a/tcsh-6.17.00-testsuite.patch b/tcsh-6.17.00-testsuite.patch
new file mode 100644
index 0000000..aff70ef
--- /dev/null
+++ b/tcsh-6.17.00-testsuite.patch
@@ -0,0 +1,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.
diff --git a/tcsh.spec b/tcsh.spec
index 76045e4..023740a 100644
--- a/tcsh.spec
+++ b/tcsh.spec
@@ -25,6 +25,7 @@ Patch14: tcsh-6.17.00-glob-automount.patch
 Patch15: tcsh-6.17.00-history.patch
 # Accepted by upstream:
 Patch16: tcsh-6.17.00-printexitvalue.patch
+Patch17: tcsh-6.17.00-testsuite.patch
 Provides: csh = %{version}
 Requires(post): grep
 Requires(postun): coreutils, grep
@@ -56,6 +57,7 @@ like syntax.
 %patch14 -p1 -b .glob-automount
 %patch15 -p1 -b .history
 %patch16 -p1 -b .printexitvalue
+%patch17 -p1 -b .testsuite
 
 for i in Fixes WishList; do
  iconv -f iso-8859-1 -t utf-8 "$i" > "${i}_" && \
@@ -129,6 +131,7 @@ fi
 %{_mandir}/man1/*.1*
 
 %changelog
+- Fix testsuite
 - Ship README file
 
 * Tue Dec 15 2009 Vitezslav Crhonek <vcrhonek at redhat.com> - 6.17-6


More information about the scm-commits mailing list