From 336519aa4f81415a34064d3342ce1d984be5f290 Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Wed, 5 Dec 2007 09:45:35 +0000 Subject: [PATCH] Add shortupd.at. --- tests/Makefile.am | 1 + tests/shortupd.at | 33 +++++++++++++++++++++++++++++++++ tests/testsuite.at | 1 + 3 files changed, 35 insertions(+) create mode 100644 tests/shortupd.at diff --git a/tests/Makefile.am b/tests/Makefile.am index 84d6f49..729bdd9 100644 --- a/tests/Makefile.am +++ b/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\ diff --git a/tests/shortupd.at b/tests/shortupd.at new file mode 100644 index 0000000..739774b --- /dev/null +++ b/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 . + +# +# Reported by: Ozan @,{C}a@v{g}layan +# 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 + diff --git a/tests/testsuite.at b/tests/testsuite.at index bfb601f..5b63354 100644 --- a/tests/testsuite.at +++ b/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]) -- 2.45.2