X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;ds=sidebyside;f=tests%2Fextrac08.at;h=95db1f5ac12b90335e7428bb1fdde0b92e65f338;hb=45ccda119355a1087450039a250359c1d0de0d08;hp=2bcd10cf9542f8d7a26664063d076d3d1889a8e0;hpb=755c246588092d0b281cb610a8371c2c9b32de59;p=chaz%2Ftar diff --git a/tests/extrac08.at b/tests/extrac08.at index 2bcd10c..95db1f5 100644 --- a/tests/extrac08.at +++ b/tests/extrac08.at @@ -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 . # 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