projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tests: Convert expression parsing test to Autotest framework.
[pspp]
/
tests
/
bugs
/
signals.sh
diff --git
a/tests/bugs/signals.sh
b/tests/bugs/signals.sh
index f46c4deacdfff21d228e35119db184ba4be204e9..20ca0700947e96a3201520ba2eda95e58f9374cf 100755
(executable)
--- a/
tests/bugs/signals.sh
+++ b/
tests/bugs/signals.sh
@@
-59,7
+59,7
@@
mkdir -p $TEMPDIR
cd $TEMPDIR
activity="sending SIGINT to pspp"
cd $TEMPDIR
activity="sending SIGINT to pspp"
-echo 'host
kill -INT $PPID
' | $PSPP -o pspp.csv > /dev/null 2> $TEMPDIR/stderr1
+echo 'host
command=["kill -INT $PPID"].
' | $PSPP -o pspp.csv > /dev/null 2> $TEMPDIR/stderr1
if [ $? -ne 0 ] ; then no_result ; fi
# SIGINT should have caused a clean shutdown
if [ $? -ne 0 ] ; then no_result ; fi
# SIGINT should have caused a clean shutdown
@@
-68,7
+68,7
@@
activity="checking for absence of error messages 1"
if [ $? -ne 0 ] ; then fail ; fi
activity="sending SIGSEGV to pspp"
if [ $? -ne 0 ] ; then fail ; fi
activity="sending SIGSEGV to pspp"
-echo 'host
kill -SEGV $PPID
' | $PSPP -o pspp.csv > /dev/null 2> $TEMPDIR/stderr2
+echo 'host
command=["kill -SEGV $PPID"].
' | $PSPP -o pspp.csv > /dev/null 2> $TEMPDIR/stderr2
if [ $? -eq 0 ] ; then no_result ; fi
# SIGSEGV should have caused an error message
if [ $? -eq 0 ] ; then no_result ; fi
# SIGSEGV should have caused an error message