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

