1 # Bug report by Bas van Gompel:
3 # This appears to work well. However when the rootdir is passed,
4 # something looks fishy:
6 # find / -mindepth 0 -maxdepth 0 -execdir echo {} \;
9 # I also spotted, when `+' is used:
11 # find / -mindepth 0 -maxdepth 0 -execdir echo == {} +
15 # (Notice the first line of output, which should not be there.)
18 # This test checks the second of these two cases.
19 if { [ safe_path ] } {
20 find_start p { / -mindepth 0 -maxdepth 0 -execdir echo == "{}" + }