--- parser3/tests/065.html 2003/07/24 11:25:57 1.2
+++ parser3/tests/065.html 2009/05/10 11:55:53 1.3
@@ -3,7 +3,9 @@ $selffilespec[$filespec]
@main[]
#src=$selffilespec
-#dirname=^file:dirname[$selffilespec]
-basename=^file:basename[$selffilespec]
-justname=^file:justname[$selffilespec]
-justext=^file:justext[$selffilespec]
+$sDirName[^file:dirname[$selffilespec]]
+#dirname=$sDirName
+dirname=^if(^sDirName.left(1) eq "/" && ^sDirName.right(6) eq "/tests"){OK}
+basename=^file:basename[$selffilespec]
+justname=^file:justname[$selffilespec]
+justext=^file:justext[$selffilespec]