~ubuntu-branches/ubuntu/gutsy/findutils/gutsy-proposed

« back to all changes in this revision

Viewing changes to find/testsuite/find.gnu/posix-l.exp

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Metzler
  • Date: 2005-07-04 11:37:37 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20050704113737-ll89ui8be35r0pir
Tags: 4.2.22-2
* Remove locatedb on purge. (Closes: #315343)
* revert regex-syntax back to emacs-re. (Closes: #315136) Future versions
  will allow to select this by commandline parameter.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Verifies that the POSIX -L option is correctly implemented,
 
2
# but does this by using the GNU extension -printf.
 
3
exec rm -rf tmp
 
4
 
 
5
exec mkdir tmp
 
6
exec ln -s /etc/passwd  tmp/LINK
 
7
exec ln -s /NOSUCHFILE  tmp/BROKEN
 
8
 
 
9
# Links should all be dereferenced unless they are broken.
 
10
find_start p { -L tmp/LINK tmp/BROKEN tmp -printf "%y %d %p\n" }