aboutsummaryrefslogtreecommitdiffstats
path: root/main/termrec/Fix-a-bashism-in-the-testsuite.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/termrec/Fix-a-bashism-in-the-testsuite.patch')
-rw-r--r--main/termrec/Fix-a-bashism-in-the-testsuite.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/main/termrec/Fix-a-bashism-in-the-testsuite.patch b/main/termrec/Fix-a-bashism-in-the-testsuite.patch
new file mode 100644
index 0000000000..c72204b483
--- /dev/null
+++ b/main/termrec/Fix-a-bashism-in-the-testsuite.patch
@@ -0,0 +1,26 @@
+From 0875aeaf4d1f4c1c76e2a9c5213a5072a072fb25 Mon Sep 17 00:00:00 2001
+From: Adam Borowski <kilobyte@angband.pl>
+Date: Tue, 1 Sep 2015 09:11:29 +0200
+Subject: [PATCH] Fix a bashism in the testsuite.
+
+---
+ tests/testsuite.at | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/tests/testsuite.at b/tests/testsuite.at
+index de246f3..7b8f486 100644
+--- a/tests/testsuite.at
++++ b/tests/testsuite.at
+@@ -35,7 +35,8 @@ AT_SETUP([vt100 sequences])
+ for x in "$top_srcdir/tests/vt.in/"*
+ do
+ unescape <"$x" >stdin
+- cat "${x/vt.in/vt.out}" >expout
++ y="$(echo "$x"|sed 's/vt\.in/vt.out/')"
++ cat "$y" >expout
+ AT_CHECK([vt -d <stdin],,[expout])
+ done
+ AT_CLEANUP
+--
+2.14.1
+