diff options
author | Lars Wirzenius <liw@liw.fi> | 2012-03-10 18:46:36 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2012-03-10 18:46:36 +0000 |
commit | 744217eb056c09d6ea9b1dc79c273847dcc4e033 (patch) | |
tree | e918d18f8305d17df82c1713713375bbf8f575d5 /tests/empty.script | |
parent | df2e231e355c0cd844196953f5a0f18bd0e21f61 (diff) | |
download | summain-744217eb056c09d6ea9b1dc79c273847dcc4e033.tar.gz |
Fix tests to work with arbitrary umasksummain-0.12
Diffstat (limited to 'tests/empty.script')
-rwxr-xr-x | tests/empty.script | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/empty.script b/tests/empty.script index 39ea7bd..157c8c8 100755 --- a/tests/empty.script +++ b/tests/empty.script @@ -2,7 +2,8 @@ set -e -touch "$DATADIR/empty" -chmod 0700 "$DATADIR/empty" +mkdir -m 0775 "$DATADIR/empty-dir" +touch "$DATADIR/empty-dir/empty" +chmod 0700 "$DATADIR/empty-dir/empty" ./summain --exclude=mtime --exclude=uid --exclude=username \ - --exclude=gid --exclude=group --relative "$DATADIR" + --exclude=gid --exclude=group --relative "$DATADIR/empty-dir" |