X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=tests%2Fmultiv05.at;h=862ec0ec1f9b001f9e39c13ccedf18c3f8021f21;hb=ec94fbdf458adb2af803eefdd1a9c9bbb432bb21;hp=2e5b74c7f8c316397bc69ad4b3fd637bb7931317;hpb=5f1a4f9f12b25473952c8075f6f5b7d3d624552b;p=chaz%2Ftar diff --git a/tests/multiv05.at b/tests/multiv05.at index 2e5b74c..862ec0e 100644 --- a/tests/multiv05.at +++ b/tests/multiv05.at @@ -1,22 +1,22 @@ # Process this file with autom4te to create testsuite. -*- Autotest -*- # Test suite for GNU tar. -# Copyright (C) 2006, 2007, 2008 Free Software Foundation, Inc. +# Copyright 2006-2008, 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 . # Up to version 1.15.91 tar was unable to recognize all volumes # given after an out-of-sync volume. @@ -25,7 +25,7 @@ AT_SETUP([Restoring after an out of sync volume]) AT_KEYWORDS([multivolume multiv multiv05 sync]) -m4_define([FILELIST],[jeden,dwa,trzy,cztery,piec,szesc]) +m4_pushdef([FILELIST],[jeden,dwa,trzy,cztery,piec,szesc]) AT_TAR_CHECK([ exec <&- @@ -40,7 +40,7 @@ tar -c -M -L 502 -f a.tar -f b.tar -f c.tar m4_foreach([f],[FILELIST],f ) echo separator mkdir bak mv m4_foreach([f],[FILELIST],f )bak -tar -vxM -f a.tar -f c.tar -f b.tar -f c.tar +tar -vxM -f a.tar -f c.tar -f b.tar -f c.tar m4_foreach([f], [FILELIST], [echo Diffing f @@ -58,10 +58,8 @@ m4_foreach([file], [Diffing file ])dnl , -[tar: `trzy' is not continued on this volume +[tar: 'trzy' is not continued on this volume ],[],[], [gnu]) +m4_popdef([FILELIST]) AT_CLEANUP - - -