Migrated from GPL version 2 to GPL version 3
[findutils.git] / locate / testsuite / locate.gnu / old_prefix.exp
blobe21cc617b20ab9a7104bba6658fc92c78bfefd59
1 set tmp "tmp"
2 exec rm -rf $tmp
3 exec mkdir $tmp
4 exec mkdir $tmp/subdir
5 exec touch $tmp/subdir/________________________________________________________________________________fred1
6 exec touch $tmp/subdir/________________________________________________________________________________fred2
7 exec touch $tmp/subdir/________________________________________________________________________________fred3
8 exec touch $tmp/subdir/________________________________________________________________________________fred4
10 locate_start p "--changecwd=. --output=$tmp/locatedb --old-format --localpaths=tmp/subdir 2>/dev/null" "--database=$tmp/locatedb tmp" {}
13 exec rm -rf $tmp