diff options
Diffstat (limited to 'tests/manglepaths.script')
-rwxr-xr-x | tests/manglepaths.script | 17 |
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" |