X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Fside-effectful-pathnames.test.sh;h=2f974e610e348c2c7c56ebe94aaa9fafea114fa2;hb=062283b901155792f65775491aea51481c56faaa;hp=780f11d6196befccd867516e1a902e2dcaf6a6bc;hpb=04d819bb1a2e64de4e997203b9516229bb73c686;p=sbcl.git diff --git a/tests/side-effectful-pathnames.test.sh b/tests/side-effectful-pathnames.test.sh index 780f11d..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 <