From: Ben Pfaff Date: Sun, 2 Aug 2020 20:44:14 +0000 (+0000) Subject: tests: Tolerate carriage-returns in output for SAMPLE test. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1979b70519e5183e7e5c346c512372dc121419fb;p=pspp tests: Tolerate carriage-returns in output for SAMPLE test. This fixes a test failure with mingw. --- 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;