X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fui%2Fterminal%2Fmain.at;h=4a07f6dd20cc89962a88d0a37e0f6b6292162f5f;hb=f29baf14e7313bd8ea692eba157eff0fbd23359c;hp=a67447e48ebdc6f7796bde016f9859e486d72c62;hpb=a965acea74a93eba5c78c17c6595eef9a776a464;p=pspp diff --git a/tests/ui/terminal/main.at b/tests/ui/terminal/main.at index a67447e48e..4a07f6dd20 100644 --- a/tests/ui/terminal/main.at +++ b/tests/ui/terminal/main.at @@ -23,6 +23,7 @@ AT_CHECK([pspp nonexistent], [1], AT_CLEANUP AT_SETUP([SIGTERM yields clean shutdown]) +AT_KEYWORDS([slow]) AT_DATA([main.sps], [dnl INPUT PROGRAM. COMPUTE x = x + 1. @@ -38,6 +39,10 @@ AT_CHECK([pspp main.sps & sleep 1; kill $!; wait $!], [143], [], [ignore]) AT_CLEANUP AT_SETUP([SIGSEGV yields error report]) + +# This test intentionally causes SIGSEGV, so make Address Sanitizer ignore it. +ASAN_OPTIONS=$ASAN_OPTIONS:handle_segv=0; export ASAN_OPTIONS + AT_CHECK([[echo 'host command=["kill -SEGV $PPID"].' | pspp -O format=csv]], [139], [], [stderr])