X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Fside-effectful-pathnames.test.sh;h=780f11d6196befccd867516e1a902e2dcaf6a6bc;hb=94b8f6d07445666017dfeac29bbbe0863a3c2de2;hp=29f3596b4483436c18213e657754061c3e1c5825;hpb=a8f2656f635d81ec326303f47e0612fb1f35fd91;p=sbcl.git diff --git a/tests/side-effectful-pathnames.test.sh b/tests/side-effectful-pathnames.test.sh index 29f3596..780f11d 100644 --- a/tests/side-effectful-pathnames.test.sh +++ b/tests/side-effectful-pathnames.test.sh @@ -1,31 +1,100 @@ #!/bin/sh -# FIXME: MNA wrote the tests below to work with the new -# lp-test-file.lisp file in place. It'd be good to replace them either -# with code which uses an existing distribution file instead, or with -# code which creates a new file in $TMPDIR and uses that. Meanwhile, -# we just return success immediately instead of doing anything. -exit 104 +# This software is part of the SBCL system. See the README file for +# more information. +# +# 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` + +# 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 +cat >$testfilename <