X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Flanguage%2Fdata-io%2Fget.at;h=9f49b577447230a17511b40688316112f5c162ab;hb=79100bdd30230890345c1c5a09ae57a19c1e408b;hp=a519b67fe3592583790a15e5ef6c929be2f2c5ff;hpb=b74913975ed7b4c83fca98f1f46e7f938a37722d;p=pspp diff --git a/tests/language/data-io/get.at b/tests/language/data-io/get.at index a519b67fe3..9f49b57744 100644 --- a/tests/language/data-io/get.at +++ b/tests/language/data-io/get.at @@ -58,8 +58,6 @@ dnl We use stdin here, because the bug seems to manifest itself only in dnl interactive mode. AT_CHECK([echo "GET /FILE='nonexistent.sav'." | pspp -O format=csv], [1], [dnl error: An error occurred while opening `nonexistent.sav': No such file or directory. - --:1: error: Stopping syntax file processing here to avoid a cascade of dependent command failures. ]) AT_CLEANUP @@ -92,3 +90,13 @@ x,y,z,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w GET_KEEP_ALL([uncompressed]) GET_KEEP_ALL([compressed]) + +dnl Test for a crash when no /TYPE was provided +AT_SETUP([GET data no type]) +AT_DATA([get.sps], [dnl +get data /file='anything'. +]) + +AT_CHECK([pspp get.sps], [1], [ignore]) + +AT_CLEANUP