X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Fside-effectful-pathnames.test.sh;h=2f974e610e348c2c7c56ebe94aaa9fafea114fa2;hb=d686552fdbe1b7dd1aff698bd69ad041a0c13295;hp=b2236e6826d62cb1f3f415e1f6d6ae148e872c4d;hpb=c7142fb2d5f30fcdbcd89e37e46e5be02ecc97b2;p=sbcl.git diff --git a/tests/side-effectful-pathnames.test.sh b/tests/side-effectful-pathnames.test.sh index b2236e6..2f974e6 100644 --- a/tests/side-effectful-pathnames.test.sh +++ b/tests/side-effectful-pathnames.test.sh @@ -11,19 +11,20 @@ # 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 <