aboutsummaryrefslogtreecommitdiffstats
path: root/main/grep/fix-tests.patch
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2017-11-29 01:36:22 +0100
committerSören Tempel <soeren+git@soeren-tempel.net>2017-12-01 08:57:41 +0100
commitecc3c431822c8e98ea1c35d28c1c051ead5a28b0 (patch)
tree23dc29e6e5e14184ae4c98c1dc1a9700f40e971a /main/grep/fix-tests.patch
parent011d49fc2e6284bbcaa6bd4706f13d38bbe5689b (diff)
downloadaports-ecc3c431822c8e98ea1c35d28c1c051ead5a28b0.tar.gz
aports-ecc3c431822c8e98ea1c35d28c1c051ead5a28b0.tar.bz2
aports-ecc3c431822c8e98ea1c35d28c1c051ead5a28b0.tar.xz
main/grep: add check
Diffstat (limited to 'main/grep/fix-tests.patch')
-rw-r--r--main/grep/fix-tests.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/main/grep/fix-tests.patch b/main/grep/fix-tests.patch
new file mode 100644
index 0000000000..cb29457147
--- /dev/null
+++ b/main/grep/fix-tests.patch
@@ -0,0 +1,23 @@
+diff -upr grep-3.1.orig/tests/pcre-jitstack grep-3.1/tests/pcre-jitstack
+--- grep-3.1.orig/tests/pcre-jitstack 2017-11-29 01:48:08.772121987 +0100
++++ grep-3.1/tests/pcre-jitstack 2017-11-29 01:49:37.763570125 +0100
+@@ -25,7 +25,7 @@ foo=$( (echo foo | gzip | gzip -d) 2>/de
+
+ fail=0
+
+-b64_decode >pcrejit.txt.gz <<'EOF' || framework_failure_
++cat <<EOF
+ H4sIAAAAAAACA+2bUU4DMQxE/7mMz5T7XwKE+IBKVLue58yk0B9EtX6xJxN7t4VaH69a6+tHrW+/
+ r4e3n75KARWShSOFTtiumE3FPVyo79ATIJ0Ry0No/yXe99UIUqTGKKUzYHFJHJoaCONQDCnDSCDS
+ IPAvGCVeXNsZ7lpbWFfdaZtgPos5LeK2C1TBKzD09V3HFlCOsbFT/hNbz4HzJaRjnjdam9FXw/o6
+@@ -36,7 +36,9 @@ uSHRnTkzIdZMmZ5kYX/iJFtTwu9cFvr3aDWcUx4p
+ dkcKkYUglER2Q4L4gnmOiNGzSBATwGQgwihs5/QffIhyfg4hJvM2r4Rp6L+1ibCCd4jYZ6jCiBlc
+ 2+y4fl4yTGIwcWXNAUEeXmu8iCMV96DNTnmRNICDk2N5qaXGbsF91OX/0hlcYTjrMfy02p9Xv70D
+ mv3RZCFOAAA=
+-EOF
++EOF > pcrejit.tmp.txt
++
++b64_decode < pcrejit.tmp.txt > pcrejit.txt.gz || framework_failure_
+
+ gzip -d pcrejit.txt || framework_failure_
+