]> Dogcows Code - chaz/tar/commitdiff
Fix testcases.
authorSergey Poznyakoff <gray@gnu.org.ua>
Thu, 27 Aug 2009 17:12:14 +0000 (20:12 +0300)
committerSergey Poznyakoff <gray@gnu.org.ua>
Thu, 27 Aug 2009 17:12:14 +0000 (20:12 +0300)
* tests/extrac08.at: Ensure a predictable umask value.
* tests/xform-h.at (xform): do not depend on file name
ordering.

tests/extrac08.at
tests/xform-h.at

index 2bcd10cf9542f8d7a26664063d076d3d1889a8e0..6ca33bddebe51471b0194c878cc1620938047e19 100644 (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
index 8adf73707b932b4fb01d6bc58602cf17b4fb547d..28de384f3eacdaf11df4db94214c63fd672b582a 100644 (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'
 ])
 
This page took 0.025739 seconds and 4 git commands to generate.