projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix assertion failure when using PRINT with an empty argument.
[pspp]
/
tests
/
output
/
ascii.at
diff --git
a/tests/output/ascii.at
b/tests/output/ascii.at
index b4de68808ee8d2f9f985be211e93e5aab0087058..d606e6ed884eb0e6efbd509738b11e787073cffa 100644
(file)
--- a/
tests/output/ascii.at
+++ b/
tests/output/ascii.at
@@
-653,3
+653,20
@@
Valid cases = 3; cases with missing value(s) = 0.
])
AT_CLEANUP
+
+AT_SETUP([ASCII crash on empty line])
+
+AT_DATA([print.sps], [dnl
+data list notable /x y 1-2.
+begin data.
+12
+end data.
+
+print.
+
+execute.
+])
+
+AT_CHECK([pspp print.sps], [0], [ignore])
+
+AT_CLEANUP