summaryrefslogtreecommitdiff
path: root/locate
diff options
context:
space:
mode:
authorJames Youngman <jay@gnu.org>2005-09-06 08:13:42 +0000
committerJames Youngman <jay@gnu.org>2005-09-06 08:13:42 +0000
commit50516a45df5e9b72c716359333c6a3f83344f89f (patch)
tree8901d754bf35ec1dd3ec09b347b906b3c8b2d90f /locate
parent1dda0fe95cd726fe609fcbe9b8d780d0c03568ca (diff)
downloadfindutils-50516a45df5e9b72c716359333c6a3f83344f89f.tar.gz
Typo in "IEEE" in a comment.
Diffstat (limited to 'locate')
-rw-r--r--locate/testsuite/config/unix.exp16
1 files changed, 2 insertions, 14 deletions
diff --git a/locate/testsuite/config/unix.exp b/locate/testsuite/config/unix.exp
index cf3867ff..b19977ee 100644
--- a/locate/testsuite/config/unix.exp
+++ b/locate/testsuite/config/unix.exp
@@ -27,22 +27,10 @@
# We normalise (normalize for those over the water) pathnames
# because the updatedb shell script uses "cd", which means that
# any relative paths no longer point where we thought they did.
-# Because "file normalize" requires tcl 8.4, we have a plan B
-# for normalising the name of a directory, but it is slower.
-
-proc normalize_dir { dir } {
- if [ catch { file normalize $dir } result ] then {
- return [ exec /bin/sh -c "cd $dir && /bin/pwd" ]
- } else {
- return $result;
- }
-}
-
-set fulldir [ normalize_dir "../../find" ]
-set env{find} "$fulldir/find"
+set env(find) [file normalize "../../find/find"]
# use the local help commands for updatedb
-set env(LIBEXECDIR) [ normalize_dir .. ]
+set env(LIBEXECDIR) [file normalize .. ]
# do not ignore any file systems for this test
set env(PRUNEFS) ""