diff options
Diffstat (limited to 'system/grep/fix-tests.patch')
-rw-r--r-- | system/grep/fix-tests.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/system/grep/fix-tests.patch b/system/grep/fix-tests.patch new file mode 100644 index 000000000..cb2945714 --- /dev/null +++ b/system/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_ + |