X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Ftar;a=blobdiff_plain;f=tests%2Frename05.at;h=417ac28ff1bb9ffdc23139ca939cc12be99122ff;hp=3ad93a67f135c691deff5a0650112bc969cb254b;hb=45ccda119355a1087450039a250359c1d0de0d08;hpb=dbbffde5835102b0cb1361c9f8dc716a38060d0d diff --git a/tests/rename05.at b/tests/rename05.at index 3ad93a6..417ac28 100644 --- a/tests/rename05.at +++ b/tests/rename05.at @@ -1,22 +1,22 @@ # Process this file with autom4te to create testsuite. -*- Autotest -*- # Test suite for GNU tar. -# Copyright (C) 2008 Free Software Foundation, Inc. +# Copyright 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 . # Description: A continuation of rename04.at, that checks additionally if # renamed subdirectories are restored correctly. @@ -46,11 +46,11 @@ tar -cf archive.2 -g db.2 dir mv dir orig decho First restore -tar -xf archive.1 -g db.1 +tar -xf archive.1 -g db.1 --warning=no-timestamp find directory | sort decho Second restore -tar -xf archive.2 -g db.2 +tar -xf archive.2 -g db.2 --warning=no-timestamp find dir | sort ], [0], @@ -77,5 +77,3 @@ Second restore AT_CLEANUP # End of rename05.at - -