1# Process this file with autom4te to create testsuite. -*- Autotest -*- 2 3# Test suite for GNU tar. 4# Copyright (C) 2004, 2006 Free Software Foundation, Inc. 5 6# This program is free software; you can redistribute it and/or modify 7# it under the terms of the GNU General Public License as published by 8# the Free Software Foundation; either version 2, or (at your option) 9# any later version. 10 11# This program is distributed in the hope that it will be useful, 12# but WITHOUT ANY WARRANTY; without even the implied warranty of 13# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14# GNU General Public License for more details. 15 16# You should have received a copy of the GNU General Public License 17# along with this program; if not, write to the Free Software 18# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 19# 02110-1301, USA. 20 21# Deleting a large last member was destroying earlier members. 22 23AT_SETUP([deleting a large last member]) 24AT_KEYWORDS([delete delete04]) 25 26AT_TAR_CHECK([ 27genfile -l 3 -f file1 28genfile -l 5 -f file2 29genfile -l 3 -f file3 30genfile -l 6 -f file4 31genfile -l 24 -f file5 32genfile -l 13 -f file6 33genfile -l 1385 -f file7 34genfile -l 30 -f file8 35genfile -l 10 -f file9 36genfile -l 256000 -f file10 37tar cf archive file1 file2 file3 file4 file5 file6 file7 file8 file9 file10 38tar f archive --delete file10 39tar tf archive 40], 41[0], 42[file1 43file2 44file3 45file4 46file5 47file6 48file7 49file8 50file9 51]) 52 53AT_CLEANUP 54