X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Ffilesys.test.sh;h=3580d869b72cf20d6559eb82b7a8de2d8be85363;hb=227096b878fee7afae9d3bc2cee5df01449bca2d;hp=4f68bb29f9e52b55457fa88a6ee95126ba48ac2c;hpb=69cd16d7335a7f66985752b84f78d18e45f9783e;p=sbcl.git diff --git a/tests/filesys.test.sh b/tests/filesys.test.sh index 4f68bb2..3580d86 100644 --- a/tests/filesys.test.sh +++ b/tests/filesys.test.sh @@ -12,7 +12,7 @@ # more information. # Test DIRECTORY and TRUENAME. -testdir=`pwd`"/filesys-test-$$" +testdir=`/bin/pwd`"/filesys-test-$$" mkdir $testdir echo this is a test > $testdir/test-1.tmp echo this is a test > $testdir/test-2.tmp @@ -184,7 +184,12 @@ Lisp filename syntax idiosyncrasies)." (need-match "animal/vertebrate/mammal/../**/robot/*.*" nil) (need-match "animal/vertebrate/mammal/robot/../**/../**/*.*" nil)) (need-matches) +(sb-ext:quit :unix-status 52) EOF +if [ $? != 52 ]; then + echo DIRECTORY/TRUENAME test part 1 failed, unexpected SBCL return code=$? + exit 1 +fi cd .. rm -r $testdir