]> Dogcows Code - chaz/tar/blobdiff - tests/incr04.at
Update copyright years.
[chaz/tar] / tests / incr04.at
index 42bb7812b36595058e4e5c91be8e7bd8eb923097..2d29f874f461acd73b17011cbed36a608b9e49b8 100644 (file)
@@ -1,22 +1,22 @@
 # Process this file with autom4te to create testsuite. -*- Autotest -*-
 
 # Test suite for GNU tar.
-# Copyright (C) 2006 Free Software Foundation, Inc.
+# Copyright 2006-2007, 2009, 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 <http://www.gnu.org/licenses/>.
 
 # Description: Rewritten incremental backup support (2006-05-08)
 # missed initialization of all struct directory members in make_directory,
@@ -29,7 +29,7 @@
 AT_SETUP([proper icontents initialization])
 AT_KEYWORDS([incremental incr04 icontents])
 
-m4_define([NAME_PREFIX],[a/b/one_31_chars_long_file_name_])
+m4_pushdef([NAME_PREFIX],[a/b/one_31_chars_long_file_name_])
 
 AT_TAR_CHECK([
 AT_TAR_MKHIER(a/b)
@@ -38,6 +38,8 @@ awk 'BEGIN {
     printf("NAME_PREFIX[%03d]\n", i);
   }' < /dev/null | genfile --files-from -
 
+sleep 1
+
 echo "Initial dump"
 tar cvf a0.tar -g a.sna a
 mv a/b a/c
@@ -54,10 +56,12 @@ Incremental dump
 a/
 a/c/
 ],
-[tar: a/b: Directory is new
-tar: a/c: Directory has been renamed from `a/b'
+[tar: a: Directory is new
+tar: a/b: Directory is new
+tar: a/c: Directory has been renamed from 'a/b'
 ],[],[],[gnu, oldgnu, posix])
 
+m4_popdef([NAME_PREFIX])
 AT_CLEANUP
 
 # End of incr04.at
This page took 0.026843 seconds and 4 git commands to generate.