]> Dogcows Code - chaz/tar/commitdiff
Add shortupd.at.
authorSergey Poznyakoff <gray@gnu.org.ua>
Wed, 5 Dec 2007 09:45:35 +0000 (09:45 +0000)
committerSergey Poznyakoff <gray@gnu.org.ua>
Wed, 5 Dec 2007 09:45:35 +0000 (09:45 +0000)
tests/Makefile.am
tests/shortupd.at [new file with mode: 0644]
tests/testsuite.at

index 84d6f49787e8c8913f702f654c76344ed25522af..729bdd95fa96cd362f223e12e985cfb1e3a217a1 100644 (file)
@@ -100,6 +100,7 @@ TESTSUITE_AT = \
  same-order01.at\
  same-order02.at\
  shortfile.at\
+ shortupd.at\
  shortrec.at\
  sparse01.at\
  sparse02.at\
diff --git a/tests/shortupd.at b/tests/shortupd.at
new file mode 100644 (file)
index 0000000..739774b
--- /dev/null
@@ -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
+
index bfb601f9e057d8f8209d18216788e3003bca0a99..5b633540016331e1563669618e2f864954f39efb 100644 (file)
@@ -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])
This page took 0.023571 seconds and 4 git commands to generate.