浏览代码

Add shortupd.at.

Sergey Poznyakoff 17 年之前
父节点
当前提交
336519aa4f
共有 3 个文件被更改,包括 35 次插入0 次删除
  1. 1 0
      tests/Makefile.am
  2. 33 0
      tests/shortupd.at
  3. 1 0
      tests/testsuite.at

+ 1 - 0
tests/Makefile.am

@@ -100,6 +100,7 @@ TESTSUITE_AT = \
  same-order01.at\
  same-order02.at\
  shortfile.at\
+ shortupd.at\
  shortrec.at\
  sparse01.at\
  sparse02.at\

+ 33 - 0
tests/shortupd.at

@@ -0,0 +1,33 @@
+# Process this file with autom4te to create testsuite. -*- Autotest -*-
+
+# Test suite for GNU tar.
+# Copyright (C) 2007 Free Software Foundation, Inc.
+
+# This program 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.
+
+# This program 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, see <http://www.gnu.org/licenses/>.
+
+#
+# Reported by: Ozan @,{C}a@v{g}layan <ozancag@gmail.com>
+# References: <4755A82A.9060607@gmail.com>
+
+AT_SETUP([updating short archives])
+AT_KEYWORDS([shortfile shortfile1 shortupd])
+
+AT_TAR_CHECK([
+touch foo
+tar uf archive foo
+],
+[0])
+
+AT_CLEANUP
+

+ 1 - 0
tests/testsuite.at

@@ -180,6 +180,7 @@ m4_include([volsize.at])
 
 m4_include([comprec.at])
 m4_include([shortfile.at])
+m4_include([shortupd.at])
 
 m4_include([truncate.at])
 m4_include([grow.at])