Fix testcases.

* tests/extrac08.at: Ensure a predictable umask value.
* tests/xform-h.at (xform): do not depend on file name
ordering.
This commit is contained in:
Sergey Poznyakoff
2009-08-27 20:12:14 +03:00
parent 006c1efbe8
commit ba954ea1e1
2 changed files with 2 additions and 1 deletions

View File

@@ -34,6 +34,7 @@ AT_SETUP([restoring mode on existing directory])
AT_KEYWORDS([extract extrac08])
AT_TAR_CHECK([
umask 000
mkdir dir
chmod 755 dir
echo bla > dir/file

View File

@@ -32,7 +32,7 @@ AT_KEYWORDS([transform xform xform-h])
m4_define([xform],[
echo "$1"
tar cf archive --transform="s,^basedir/,,$2" basedir
tar cf archive --transform="s,^basedir/,,$2" basedir/test basedir/test_link
tar tvf archive | sed -n 's/.*test_link link to //p'
])