X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=tests%2Fvolsize.at;h=3408f816eb9e80fb217a3d4e5b2edb24e7145c71;hb=15abf5c4d987896957891ef78b14e0694b44fdb8;hp=2ec048da2ab764ee7505991eefd61c924160d37e;hpb=c57418b462d85282063695998327c13175b9dbe3;p=chaz%2Ftar diff --git a/tests/volsize.at b/tests/volsize.at index 2ec048d..3408f81 100644 --- a/tests/volsize.at +++ b/tests/volsize.at @@ -1,11 +1,11 @@ # Process this file with autom4te to create testsuite. -*- Autotest -*- # Test suite for GNU tar. -# Copyright (C) 2006 Free Software Foundation, Inc. +# Copyright (C) 2006, 2007 Free Software Foundation, Inc. # This program 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 2, or (at your option) +# the Free Software Foundation; either version 3, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, @@ -18,13 +18,13 @@ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA # 02110-1301, USA. -# Description: The size field of a volume header was ignored when listing +# Description: The size field of a volume header was ignored when listing, # but taken into account when extracting. Thus it was possible to hide # some files within the archive, placing them after a volume header and # manually modifying its size field. Test tarball kindly provided by Tomas. # Reported by: Thomas # References: <4462E13A.3080008@users.askja.de>, -# <44639C4C.5050401@users.askja.de +# <44639C4C.5050401@users.askja.de> AT_SETUP([volume header size]) AT_KEYWORDS([volume volsize]) @@ -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,8 +46,8 @@ 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