summaryrefslogtreecommitdiffstats
path: root/patches/01_corrupt-reject-files-test-portability.patch
blob: b8bebc96a89ad22b7016b185723b5bbc0006eaaf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Author: "P. J. McDermott" <pj@pehjota.net>
Subject: tests/corrupt-reject-files: Use "sed" instead of "cat -E"

diff -Naur src.orig/tests/corrupt-reject-files src/tests/corrupt-reject-files
--- src.orig/tests/corrupt-reject-files	2012-04-06 06:57:37.000000000 -0400
+++ src/tests/corrupt-reject-files	2014-10-13 14:27:29.493964816 -0400
@@ -46,7 +46,7 @@
 Status: 1
 EOF
 
-check 'cat -ve a.rej' <<EOF
+check 'sed "s/\$/\$/" a.rej' <<EOF
 *** a$
 --- b$
 ***************$