projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
733df2c
)
Fix date format tests when running under wine
author
John Darrington
<john@darrington.wattle.id.au>
Sat, 2 Apr 2016 04:01:43 +0000
(06:01 +0200)
committer
John Darrington
<john@darrington.wattle.id.au>
Sat, 2 Apr 2016 04:01:43 +0000
(06:01 +0200)
tests/data/data-out.at
patch
|
blob
|
history
diff --git
a/tests/data/data-out.at
b/tests/data/data-out.at
index 6043d014b07dfd8375daafe36647cd471bfa42ea..2ff7a2646ddcc6db99401dc6c43e03d4447049dc 100644
(file)
--- a/
tests/data/data-out.at
+++ b/
tests/data/data-out.at
@@
-14045,7
+14045,7
@@
print outfile='month-out.out'/x(month40).
execute.
])
AT_CHECK([pspp -O format=csv month-out.sps], [1], [stdout])
execute.
])
AT_CHECK([pspp -O format=csv month-out.sps], [1], [stdout])
-AT_CHECK([[sed '/^
$/d' stdout | sort | uniq -c | sed 's/^[
]*//']], [0],
+AT_CHECK([[sed '/^
*
\r
*$/d' stdout | sort | uniq -c | sed 's/^[
]*//']], [0],
[dnl
38 error: Month number 0.000000 is not between 1 and 12.
38 error: Month number 0.500000 is not between 1 and 12.
[dnl
38 error: Month number 0.000000 is not between 1 and 12.
38 error: Month number 0.500000 is not between 1 and 12.
@@
-14961,7
+14961,7
@@
end repeat.
execute.
])
AT_CHECK([pspp -O format=csv wkday-out.sps], [1], [stdout])
execute.
])
AT_CHECK([pspp -O format=csv wkday-out.sps], [1], [stdout])
-AT_CHECK([[sed '/^
$/d' stdout | sort | uniq -c | sed 's/^[
]*//']], [0],
+AT_CHECK([[sed '/^
*
\r
*$/d' stdout | sort | uniq -c | sed 's/^[
]*//']], [0],
[dnl
39 error: Weekday number 0.000000 is not between 1 and 7.
39 error: Weekday number 0.500000 is not between 1 and 7.
[dnl
39 error: Weekday number 0.000000 is not between 1 and 7.
39 error: Weekday number 0.500000 is not between 1 and 7.