X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Fside-effectful-pathnames.test.sh;h=2f974e610e348c2c7c56ebe94aaa9fafea114fa2;hb=d7875c296a4988e9f27e2776237884deb1984c62;hp=f81b15afa771e7680915ec12611179f9ffd871ab;hpb=5108495b13b99452d5a85c4600f68432ff8894b2;p=sbcl.git diff --git a/tests/side-effectful-pathnames.test.sh b/tests/side-effectful-pathnames.test.sh index f81b15a..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 <