X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Fside-effectful-pathnames.test.sh;h=2f974e610e348c2c7c56ebe94aaa9fafea114fa2;hb=1cba0af01f5107ab384d0d8b94b1f6330b3d0ef4;hp=89fe7eab9898ce1004f6de69149b23cfb47da9c9;hpb=30d3955b07af6b6b2e52699f213e3b87b11e0f2d;p=sbcl.git diff --git a/tests/side-effectful-pathnames.test.sh b/tests/side-effectful-pathnames.test.sh index 89fe7ea..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 <