summaryrefslogtreecommitdiff
path: root/find/testsuite/find.gnu/sv-bug-12230.exp
blob: 3af22c6d1917e35c326385dee2b94c546057e5ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Bug report by Dmitry V. Levin.
#
# The command:
#   find tmp -false -execdir echo == {} +
# Actually produces one line of output.  It
# should produce none, because the echo command
# should never be invoked.
#
if { [ safe_path ] } {
    exec rm -rf tmp
    exec mkdir tmp
    find_start p { tmp -false -execdir echo == "{}" + }
    exec rm -rf tmp
}