1 # Process this file with autom4te to create testsuite. -*- Autotest -*-
3 # Test suite for GNU tar.
4 # Copyright 2013 Free Software Foundation, Inc.
6 # This file is part of GNU tar.
8 # GNU tar is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License as published by
10 # the Free Software Foundation; either version 3 of the License, or
11 # (at your option) any later version.
13 # GNU tar is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU General Public License for more details.
18 # You should have received a copy of the GNU General Public License
19 # along with this program. If not, see <http://www.gnu.org/licenses/>.
21 # When called with --append and --verify options, tar would rewrite the
22 # archive instead of appending to it.
24 # Last-Affected-Version: 1.26
25 # Reported-by: Jivko Angelov <jivko@siteground.com>
26 # References: <51D6983C.3060404@siteground.com>,
27 # http://lists.gnu.org/archive/html/bug-tar/2013-07/msg00003.html
29 AT_SETUP([append with verify])
30 AT_KEYWORDS([append append04 verify append-verify])
33 # Create two empty files:
37 tar cpfW archive.tar file1 file2
39 # Verify created archive by listing its content:
42 # Create another empty file:
45 # Append it to the already created archive:
46 tar rpfW archive.tar file3
48 # Verify content of the new archive: