X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Ftar;a=blobdiff_plain;f=tests%2Fvolsize.at;h=abcd376164d3769b5f8c24fc9abc09a6316c53e8;hp=c2bf12acc1666877bb67f5c206dd20e171b01feb;hb=45ccda119355a1087450039a250359c1d0de0d08;hpb=a0fb51e136d3df620eb3189683aae90b25bd8dd7 diff --git a/tests/volsize.at b/tests/volsize.at index c2bf12a..abcd376 100644 --- a/tests/volsize.at +++ b/tests/volsize.at @@ -1,22 +1,22 @@ # Process this file with autom4te to create testsuite. -*- Autotest -*- # Test suite for GNU tar. -# Copyright (C) 2006, 2007 Free Software Foundation, Inc. +# Copyright 2006-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: The size field of a volume header was ignored when listing, # but taken into account when extracting. Thus it was possible to hide @@ -36,7 +36,7 @@ AT_TARBALL_PREREQ([abc.tar],[540f196ceddcad9e7bd2f2d7533d0474]) echo Short Listing tar tf $TEST_DATA_DIR/abc.tar echo Verbose Listing -tar tfv $TEST_DATA_DIR/abc.tar +tar --utc -tvf $TEST_DATA_DIR/abc.tar echo Extracted directory tar xf $TEST_DATA_DIR/abc.tar find abc|sort @@ -46,15 +46,14 @@ find abc|sort abc/not-a-file.gif abc/CCC Verbose Listing -V--------- 0/0 1536 2006-05-09 01:07 abc/not-a-file.gif--Volume Header-- --rw-r--r-- tom/users 0 2006-04-22 22:52 abc/CCC +V--------- 0/0 1536 2006-05-08 22:07 abc/not-a-file.gif--Volume Header-- +-rw-r--r-- tom/users 0 2006-04-22 19:52 abc/CCC Extracted directory abc abc/CCC -]) +], +[]) AT_CLEANUP # End of volsize.at - -