projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
pspp: Fix crash passing the name of a nonexistent file on the command line.
[pspp]
/
tests
/
ui
/
terminal
/
main.at
diff --git a/tests/ui/terminal/main.at
b/tests/ui/terminal/main.at
new file mode 100644
(file)
index 0000000..
1ee8226
--- /dev/null
+++ b/
tests/ui/terminal/main.at
@@ -0,0
+1,7
@@
+AT_BANNER([PSPP terminal UI])
+
+AT_SETUP([nonexistent syntax file crash])
+AT_CHECK([pspp nonexistent], [1],
+ [error: Opening `nonexistent': No such file or directory.
+])
+AT_CLEANUP