summaryrefslogtreecommitdiff
path: root/locate/testsuite/locate.gnu/ignore_case3.exp
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@lorry>2015-12-28 21:37:38 +0000
committerLorry Tar Creator <lorry-tar-importer@lorry>2015-12-28 21:37:38 +0000
commitd7fdaf4d3a9795a294e93cad6f7d8238ba3754a6 (patch)
tree9bff05ea75330b7d8e2ade183cdcd1e4282f27d9 /locate/testsuite/locate.gnu/ignore_case3.exp
downloadfindutils-tarball-master.tar.gz
Diffstat (limited to 'locate/testsuite/locate.gnu/ignore_case3.exp')
-rw-r--r--locate/testsuite/locate.gnu/ignore_case3.exp10
1 files changed, 10 insertions, 0 deletions
diff --git a/locate/testsuite/locate.gnu/ignore_case3.exp b/locate/testsuite/locate.gnu/ignore_case3.exp
new file mode 100644
index 0000000..b4c0a9e
--- /dev/null
+++ b/locate/testsuite/locate.gnu/ignore_case3.exp
@@ -0,0 +1,10 @@
+# tests to determine if "-i" causes the match to ignore the case
+set tmp "tmp"
+exec rm -rf $tmp
+exec mkdir $tmp
+exec mkdir $tmp/subdir
+exec touch $tmp/subdir/fred
+locate_start p {--changecwd=. --output=tmp/locatedb --localpaths=tmp/subdir/} {--database=tmp/locatedb fred} {}
+#updatedb --output=locatedb
+#locate --database=locatedb FRed
+#locate --database=locatedb -i FRed