~ubuntu-branches/ubuntu/raring/findutils/raring

« back to all changes in this revision

Viewing changes to find/testsuite/find.gnu/execdir-root-only.exp

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Metzler
  • Date: 2005-07-04 11:37:37 UTC
  • mto: (11.1.1 lenny) (1.1.10 upstream)
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20050704113737-oxfumqxsqgfz5gay
Tags: upstream-4.2.22
ImportĀ upstreamĀ versionĀ 4.2.22

Show diffs side-by-side

added added

removed removed

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