]> Dogcows Code - chaz/tar/blobdiff - tests/extrac08.at
Update copyright years.
[chaz/tar] / tests / extrac08.at
index 2bcd10cf9542f8d7a26664063d076d3d1889a8e0..95db1f5ac12b90335e7428bb1fdde0b92e65f338 100644 (file)
@@ -1,22 +1,22 @@
 # Process this file with autom4te to create testsuite. -*- Autotest -*-
 
 # Test suite for GNU tar.
-# Copyright (C) 2009 Free Software Foundation, Inc.
+# Copyright 2009, 2013-2014 Free Software Foundation, Inc.
 
-# This program is free software; you can redistribute it and/or modify
+# This file is part of GNU tar.
+
+# GNU tar is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 3, or (at your option)
-# any later version.
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
 
-# This program is distributed in the hope that it will be useful,
+# GNU tar is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 # GNU General Public License for more details.
 
 # You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
-# 02110-1301, USA.
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 # Description:
 # When extracting, tar (<1.22) did not restore directory permissions on
@@ -34,12 +34,13 @@ 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
 tar cf test.tar dir
 chmod 700 dir
-tar xfv test.tar
+tar xfv test.tar --warning=no-timestamp
 genfile --stat=mode.777 dir
 ],
 [0],
@@ -48,4 +49,4 @@ dir/file
 755
 ])
 
-AT_CLEANUP
\ No newline at end of file
+AT_CLEANUP
This page took 0.022487 seconds and 4 git commands to generate.