X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fui%2Fterminal%2Fmain.at;h=2f682e8d2d6b4ed245096da4e8d651914bbc5571;hb=bf3af6fb69dc94a6b3010e11e5d359e9e4abd5ba;hp=1a22f7a0e85825b363dc046257e235b1d0ac556e;hpb=9d1bfb34842de4a129140622ee3d800297c0e69d;p=pspp diff --git a/tests/ui/terminal/main.at b/tests/ui/terminal/main.at index 1a22f7a0e8..2f682e8d2d 100644 --- a/tests/ui/terminal/main.at +++ b/tests/ui/terminal/main.at @@ -34,6 +34,18 @@ include the syntax file that triggered it and a sample of any data file used for input. proximate cause: Segmentation Violation ]) -AT_CHECK([sed -n '/\*\*\*/,$p -/proximate/q' < stderr], [0], [expout]) +AT_CHECK([sed '/proximate/q' < stderr], [0], [expout]) +AT_CLEANUP + + +dnl This tests for a crash which was observed with --syntax +AT_SETUP([argument parsing]) + +AT_DATA([main.sps], [dnl +ECHO 'This is a test'. +FINISH. +]) + +AT_CHECK([pspp --syntax=enhanced main.sps], [0], [ignore]) + AT_CLEANUP