X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Ftar;a=blobdiff_plain;f=tests%2Fbackup01.at;h=1aa33db34788fa5b33c1e19aea40aaa93cc659fe;hp=83d1bea00b92c0981d7270eee5e22cb0404a9cb9;hb=45ccda119355a1087450039a250359c1d0de0d08;hpb=502abd93bd8bfba15677aceb221c4530d257bbab diff --git a/tests/backup01.at b/tests/backup01.at index 83d1bea..1aa33db 100644 --- a/tests/backup01.at +++ b/tests/backup01.at @@ -1,22 +1,22 @@ # Process this file with autom4te to create testsuite. -*- Autotest -*- # Test suite for GNU tar. -# Copyright (C) 2009 Free Software Foundation, Inc. +# Copyright 2009-2010, 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 . # Description: # When extracting, tar (<1.22) sometimes renamed a backup back to the @@ -34,6 +34,7 @@ AT_SETUP([extracting existing dir with --backup]) AT_KEYWORDS([extract backup backup01]) AT_TAR_CHECK([ +unset VERSION_CONTROL mkdir dir1 dir2 echo bla > dir1/file1 tar cf test.tar dir1 dir2 @@ -42,7 +43,7 @@ tar xfv test.tar --backup --warning=no-timestamp [0], [dir1/ dir1/file1 -Renaming `dir1/file1' to `dir1/file1~' +Renaming 'dir1/file1' to 'dir1/file1~' dir2/ ])