projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe08668
)
tests: Tolerate carriage-returns in output for SAMPLE test.
author
Ben Pfaff
<blp@cs.stanford.edu>
Sun, 2 Aug 2020 20:44:14 +0000
(20:44 +0000)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Sun, 2 Aug 2020 22:32:44 +0000
(22:32 +0000)
This fixes a test failure with mingw.
tests/language/xforms/sample.at
patch
|
blob
|
history
diff --git
a/tests/language/xforms/sample.at
b/tests/language/xforms/sample.at
index 406517a03d09b35baa4c7706131be4796dcb81a5..70cf6e64ef1fc1222d5dbd37437badbf8baa37b7 100644
(file)
--- 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;