From 1979b70519e5183e7e5c346c512372dc121419fb Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Sun, 2 Aug 2020 20:44:14 +0000 Subject: [PATCH] tests: Tolerate carriage-returns in output for SAMPLE test. This fixes a test failure with mingw. --- tests/language/xforms/sample.at | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/language/xforms/sample.at b/tests/language/xforms/sample.at index 406517a03d..70cf6e64ef 100644 --- a/tests/language/xforms/sample.at +++ b/tests/language/xforms/sample.at @@ -42,6 +42,7 @@ AT_CHECK( [n=0 while read line; do n=`expr $n + 1` + line=$(echo "$line" | tr -d '\r') case $line in # ( "Table: Data List" | A | [[0-9]] | 10) ;; # ( *) echo $line; exit 1; -- 2.30.2