X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Fside-effectful-pathnames.test.sh;h=2f974e610e348c2c7c56ebe94aaa9fafea114fa2;hb=6d36f2d6954cb79e3c88fef33fe0c3ad63deaea8;hp=464f0750b92c8ab8804fdaf4d094a3f22ecfb22d;hpb=7e6637658236983ecbabea50f167fb9d3c5ed505;p=sbcl.git diff --git a/tests/side-effectful-pathnames.test.sh b/tests/side-effectful-pathnames.test.sh index 464f075..2f974e6 100644 --- a/tests/side-effectful-pathnames.test.sh +++ b/tests/side-effectful-pathnames.test.sh @@ -6,24 +6,25 @@ # While most of SBCL is derived from the CMU CL system, the test # files (like this one) were written from scratch after the fork # from CMU CL. -# +# # This software is in the public domain and is provided with # absolutely no warranty. See the COPYING and CREDITS files for # more information. -original_pwd=`pwd` +. ./subr.sh + +use_test_subdirectory +testdir="`pwd -P`" # resolve symbolic links in the directory. # LOADing and COMPILEing files with logical pathnames -testdir=`pwd`"/side-effectful-pathnames-test-$$" testfilestem="load-test" StudlyCapsStem="Load-Test" -testfilename="$testdir/$testfilestem.lisp" -mkdir $testdir +testfilename="$testfilestem.lisp" cat >$testfilename <