File:  [parser3project] / parser3 / tests / 270.html
Revision 1.7: download - view: text, annotated - select for diffs - revision graph
Mon Jan 4 22:46:15 2021 UTC (5 years, 4 months ago) by moko
Branches: MAIN
CVS tags: release_3_5_1, release_3_5_0, release_3_4_6, HEAD
test modified to work under Windows

@main[]
$dir[/tests/270_dir]

^do[$dir///subdir/270.txt]{file not found (error)}
^do[$dir/270.txt]{file not found (error)}
^do[$dir/subdir/zzz/270.html]{file not found (error)}
^do[$dir/not-exist]
^do[$dir///not-exist]{file not found (OK)}
^do[/not-exist]{file not found (OK)}

^do[/Makefile.in]{file not found (error)}
^do[Makefile]{file not found (error)}

^do[]{file not found (OK)}
^do[/]{file not found (OK)}
^do[///]{file not found (OK)}
^do[$dir/subdir//z/]{file not found (OK)}


@do[sFileSpec;*hParams]
^if($hParams){
	$result[^file:find[$sFileSpec]{$hParams.0}<br />]
}{
	$result[^file:find[$sFileSpec]<br />]
}

E-mail: