X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=tests%2Ffilesys.test.sh;h=76f633838e31c7d588bfc400deab17bfc264579f;hb=16a6592367eec7c5e9da668ec42fd260e7705b0c;hp=4f68bb29f9e52b55457fa88a6ee95126ba48ac2c;hpb=69cd16d7335a7f66985752b84f78d18e45f9783e;p=sbcl.git diff --git a/tests/filesys.test.sh b/tests/filesys.test.sh index 4f68bb2..76f6338 100644 --- a/tests/filesys.test.sh +++ b/tests/filesys.test.sh @@ -12,12 +12,13 @@ # more information. # Test DIRECTORY and TRUENAME. -testdir=`pwd`"/filesys-test-$$" +testdir=`/bin/pwd`"/filesys-test-$$" mkdir $testdir echo this is a test > $testdir/test-1.tmp echo this is a test > $testdir/test-2.tmp echo this is a test > $testdir/wild\?test.tmp cd $testdir +ln -s $testdir dirlinktest ln -s test-1.tmp link-1 ln -s `pwd`/test-2.tmp link-2 ln -s i-do-not-exist link-3 @@ -25,7 +26,8 @@ ln -s link-4 link-4 ln -s link-5 link-6 ln -s `pwd`/link-6 link-5 expected_truenames=\ -"'(#p\"$testdir/link-3\"\ +"'(#p\"$testdir/\"\ + #p\"$testdir/link-3\"\ #p\"$testdir/link-4\"\ #p\"$testdir/link-5\"\ #p\"$testdir/link-6\"\ @@ -39,6 +41,8 @@ $SBCL <