X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Ftar;a=blobdiff_plain;f=tests%2Fincr01.at;h=40892f9fe9b5a5c950e2ee711f1d44cc9674672a;hp=6a94e3a5b134c027f86836cdc150f9ae0be55f72;hb=45ccda119355a1087450039a250359c1d0de0d08;hpb=4d22cbd47cdc5e9a346351ced8c9667ab4bb8292 diff --git a/tests/incr01.at b/tests/incr01.at index 6a94e3a..40892f9 100644 --- a/tests/incr01.at +++ b/tests/incr01.at @@ -1,22 +1,22 @@ # Process this file with autom4te to create testsuite. -*- Autotest -*- # Test suite for GNU tar. -# Copyright (C) 2005 Free Software Foundation, Inc. +# Copyright 2005, 2007, 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 2, 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: # Check if restore from incremental backups does not choke on dangling @@ -25,7 +25,7 @@ # http://lists.gnu.org/archive/html/bug-tar/2005-08/msg00023.html AT_SETUP([restore broken symlinks from incremental]) -AT_KEYWORDS([incr01]) +AT_KEYWORDS([incremental incr01]) AT_TAR_CHECK([ mkdir directory @@ -37,19 +37,17 @@ tar -cf archive.1 -g db directory mv directory orig -tar xvfg archive.0 /dev/null +tar xvfg archive.0 /dev/null --warning=no-timestamp echo separator -tar xvfg archive.1 /dev/null +tar xvfg archive.1 /dev/null --warning=no-timestamp ], [0], [directory/ directory/bar separator directory/ -tar: Deleting `directory/bar' +tar: Deleting 'directory/bar' ], [],[],[],[gnu, oldgnu, posix]) AT_CLEANUP - -