1 AT_BANNER([PSPP terminal UI])
3 AT_SETUP([nonexistent syntax file crash])
4 AT_CHECK([pspp nonexistent], [1],
5 [error: Opening `nonexistent': No such file or directory.
9 AT_SETUP([SIGTERM yields clean shutdown])
10 AT_DATA([main.sps], [dnl
21 AT_CHECK([pspp main.sps & sleep 1; kill $!; wait $!], [143], [], [ignore])
24 AT_SETUP([SIGSEGV yields error report])
25 AT_CHECK([[echo 'host command=["kill -SEGV $PPID"].' | pspp -O format=csv]],
27 AT_DATA([expout], [dnl
28 ******************************************************
29 You have discovered a bug in PSPP. Please report this
30 to bug-gnu-pspp@gnu.org. Please include this entire
31 message, *plus* several lines of output just above it.
32 For the best chance at having the bug fixed, also
33 include the syntax file that triggered it and a sample
34 of any data file used for input.
35 proximate cause: Segmentation Violation
37 AT_CHECK([sed '/proximate/q' < stderr], [0], [expout])