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

« back to all changes in this revision

Viewing changes to locate/testsuite/locate.gnu/notexists1.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
# tests for -E: make sure we don't print a file if it exists.
 
2
# Since there are no matches in this case, we expect a nonzero
 
3
# return value as well.
 
4
set tmp "tmp"
 
5
exec rm -rf $tmp
 
6
exec mkdir $tmp
 
7
exec mkdir $tmp/subdir
 
8
exec touch $tmp/subdir/fred
 
9
locate_start f "--changecwd=. --output=$tmp/locatedb --localpaths=tmp/subdir/" "--database=$tmp/locatedb -E fred" {}
 
10