summaryrefslogtreecommitdiff
path: root/tests/manglepaths.script
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2012-02-25 13:57:34 +0000
committerLars Wirzenius <liw@liw.fi>2012-02-25 13:57:34 +0000
commit1d86735f41c8b6515555e9e85522bc8f5ceecf05 (patch)
treeb0928f25ac6ce1193447688f5dab8302ede47a91 /tests/manglepaths.script
parentc3fb80338611b2cb39f61c836e7fc003f6c2a936 (diff)
downloadsummain-1d86735f41c8b6515555e9e85522bc8f5ceecf05.tar.gz
Update all scripts to use ./summain directly, instead of $COMMAND
cmdtest no longer supports $COMMAND.
Diffstat (limited to 'tests/manglepaths.script')
-rwxr-xr-xtests/manglepaths.script17
1 files changed, 8 insertions, 9 deletions
diff --git a/tests/manglepaths.script b/tests/manglepaths.script
index 953dd2d..a377985 100755
--- a/tests/manglepaths.script
+++ b/tests/manglepaths.script
@@ -2,12 +2,11 @@
set -e
-cd "$DATADIR"
-mkdir -m 0700 files
-touch files/zzz
-echo foo > files/foo
-echo bar > files/bar
-echo foobar > files/foobar
-chmod 0666 files/*
-$COMMAND --exclude=mtime --exclude=uid --exclude=username \
- --exclude=gid --exclude=group --relative --mangle-paths files
+mkdir -m 0700 "$DATADIR/files"
+touch "$DATADIR/files/zzz"
+echo foo > "$DATADIR/files/foo"
+echo bar > "$DATADIR/files/bar"
+echo foobar > "$DATADIR/files/foobar"
+chmod 0666 "$DATADIR/files/"*
+./summain --exclude=mtime --exclude=uid --exclude=username \
+ --exclude=gid --exclude=group --relative --mangle-paths "$DATADIR/files"