]> git.cworth.org Git - tar/blob - tests/shortupd.at
upstream: Fix extraction of device nodes.
[tar] / tests / shortupd.at
1 # Process this file with autom4te to create testsuite. -*- Autotest -*-
2
3 # Test suite for GNU tar.
4 # Copyright (C) 2007 Free Software Foundation, Inc.
5
6 # This program is free software; you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 3, or (at your option)
9 # any later version.
10
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 # GNU General Public License for more details.
15
16 # You should have received a copy of the GNU General Public License
17 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
18
19 # Fixing improper small file recognition in version 1.18 (see shortfile.at
20 # and ChangeLog:2007-08-24), introduced another bug: when updating a
21 # non-existing archive, tar-1.19 complained about its not being a tar archive
22 # and exited immediately, leaving the created zero-sized file after it.
23 #
24 # This bug was fixed on 2007-12-05.
25 #
26 # Reported by: Ozan @,{C}a@v{g}layan <ozancag@gmail.com>
27 # References: <4755A82A.9060607@gmail.com>
28
29 AT_SETUP([updating short archives])
30 AT_KEYWORDS([shortfile shortfile1 shortupd])
31
32 AT_TAR_CHECK([
33 touch foo
34 tar uf archive foo
35 ],
36 [0])
37
38 AT_CLEANUP