repo.or.cz
/
findutils.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Migrated from GPL version 2 to GPL version 3
[findutils.git]
/
locate
/
testsuite
/
locate.gnu
/
exists1.exp
blob
4341950a8f988a4389f3873a54c086677e06d96b
1
# tests
for
-
e
:
make sure we print a file
if
it
exists
.
2
set
tmp
"tmp"
3
exec rm
-
rf $tmp
4
exec
mkdir
$tmp
5
exec
mkdir
$tmp
/
subdir
6
exec touch $tmp
/
subdir
/
fred
7
locate_start p
"--changecwd=. --output=$tmp/locatedb --localpaths=tmp/subdir/" "--database=$tmp/locatedb -e fred" {}
8