1 # Process this file with autom4te to create testsuite. -*- Autotest -*-
3 # Test suite for GNU tar.
4 # Copyright (C) 2006 Free Software Foundation, Inc.
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)
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.
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
21 # Up to version 1.15.91 tar was unable to recognize all volumes
22 # given after an aout-of-sync volume.
23 # Reported by: Joerg Weilbier <gnu@weilbier.net>
24 # References: <200610011952.29880.gnu@weilbier.net>
26 AT_SETUP([Restoring after an out of sync folume])
27 AT_KEYWORDS([multivolume multiv multiv05 sync])
28 m4_define([FILELIST],[jeden,dwa,trzy,cztery,piec,szesc])
35 [genfile --length 250k --file f
39 tar -c -M -L 502 -f a.tar -f b.tar -f c.tar m4_foreach([f],[FILELIST],f )
42 mv m4_foreach([f],[FILELIST],f )bak
43 tar -vxM -f a.tar -f c.tar -f b.tar -f c.tar
61 [tar: `trzy' is not continued on this volume