summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Alfredsen <loki_val@gentoo.org>2008-10-07 09:39:20 +0000
committerPeter Alfredsen <loki_val@gentoo.org>2008-10-07 09:39:20 +0000
commit86aea715752a0c859880e61b690a0fc2e080da84 (patch)
tree813525cfe2a4a7ebde823d89e121b71f267c0707 /sys-apps/grep/files
parentFixed for limits.h inclusion on amd64, bug #239313 (diff)
downloadhistorical-86aea715752a0c859880e61b690a0fc2e080da84.tar.gz
historical-86aea715752a0c859880e61b690a0fc2e080da84.tar.bz2
historical-86aea715752a0c859880e61b690a0fc2e080da84.zip
Fix yesno.sh test failure.
Package-Manager: portage-2.2_rc11/cvs/Linux 2.6.27-rc8 x86_64
Diffstat (limited to 'sys-apps/grep/files')
-rw-r--r--sys-apps/grep/files/grep-2.5.3-yesno-test-fix.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/sys-apps/grep/files/grep-2.5.3-yesno-test-fix.patch b/sys-apps/grep/files/grep-2.5.3-yesno-test-fix.patch
new file mode 100644
index 000000000000..3c6e1ab75650
--- /dev/null
+++ b/sys-apps/grep/files/grep-2.5.3-yesno-test-fix.patch
@@ -0,0 +1,32 @@
+Fix from upstream CVS disabling tests that are known to fail.
+
+--- tests/yesno.sh 2005/11/13 08:15:16 1.1
++++ tests/yesno.sh 2008/02/07 03:43:27 1.2
+@@ -63,7 +63,6 @@
+ '-m,4,-C,1,-o' "$c$d$e$h$z0$XI$XJ$XK$XL$XM$XN" \
+ '-m,5' "$C$D$E$H$I$z0$XJ$XK$XL$XM$XN" \
+ '-m,5,-o' "$c$d$e$h$i$z0$XJ$XK$XL$XM$XN" \
+- '-m,5,-C,1' "$rB$C$D$E$rF$rG$H$I$z0$XJ$XK$XL$XM$XN" \
+ '-m,5,-C,1,-o' "$c$d$e$h$i$z0$XJ$XK$XL$XM$XN" \
+ '-m,6' "$C$D$E$H$I$M$z0$XN" \
+ '-m,6,-o' "$c$d$e$h$i$m$z0$XN" \
+@@ -79,14 +78,17 @@
+ '-m,1,-v,-C,1,-o' "$z0$XB$XC$XD$XE$XF$XG$XH$XI$XJ$XK$XL$XM$XN" \
+ '-m,2,-v' "$A$B$z0$XC$XD$XE$XF$XG$XH$XI$XJ$XK$XL$XM$XN" \
+ '-m,2,-v,-o' "$z0$XC$XD$XE$XF$XG$XH$XI$XJ$XK$XL$XM$XN" \
+- '-m,2,-v,-C,1' "$A$B$z0$XC$XD$XE$XF$XG$XH$XI$XJ$XK$XL$XM$XN" \
+- '-m,2,-v,-C,1,-o' "$z0$XC$XD$XE$XF$XG$XH$XI$XJ$XK$XL$XM$XN" \
+ '-m,3,-v' "$A$B$F$z0$XG$XH$XI$XJ$XK$XL$XM$XN" \
+ '-m,3,-v,-o' "$z0$XG$XH$XI$XJ$XK$XL$XM$XN" \
+ '-m,3,-v,-C,1' "$A$B$rC$s$rE$F$z0$XG$XH$XI$XJ$XK$XL$XM$XN" \
+ '-m,3,-v,-C,1,-o' "$rc$s$re$z0$XG$XH$XI$XJ$XK$XL$XM$XN" \
+ x
+ shift
++# Comment out cases that are known to fail. These should be uncommented after the 2.5.4 release. TAA.
++# These should be added back in above and fixed in the code. TAA.
++# '-m,5,-C,1' "$rB$C$D$E$rF$rG$H$I$z0$XJ$XK$XL$XM$XN" \
++# '-m,2,-v,-C,1' "$A$B$z0$XC$XD$XE$XF$XG$XH$XI$XJ$XK$XL$XM$XN" \
++# '-m,2,-v,-C,1,-o' "$z0$XC$XD$XE$XF$XG$XH$XI$XJ$XK$XL$XM$XN" \
+
+ # Test execution and reporting.
+ t=1