X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;ds=sidebyside;f=tests%2Ftestsuite.at;h=5f6a541dd25786cbe66d08bd8a4da4ced48a0501;hb=5f060c20257471623a4c7edcceb64700387bbde6;hp=a48c19484f2ec2730c5094c6fa0ff60d48b7a1d0;hpb=8263cc7bc0f3a76aaefda4a1cd57b1b5fa18805d;p=chaz%2Ftar diff --git a/tests/testsuite.at b/tests/testsuite.at index a48c194..5f6a541 100644 --- a/tests/testsuite.at +++ b/tests/testsuite.at @@ -1,7 +1,7 @@ # Process this file with autom4te to create testsuite. -*- Autotest -*- # Test suite for GNU tar. -# Copyright (C) 2004 Free Software Foundation, Inc. +# Copyright (C) 2004, 2005 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 @@ -15,8 +15,8 @@ # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +# 02110-1301, USA. # We need a recent Autotest. m4_version_prereq([2.52g]) @@ -35,8 +35,8 @@ $1)],$2,$3,$4,$5,$6)]) m4_define([RE_CHECK],[ AT_DATA([$1.re],[$2]) -awk '{print NR " " $[]0}' $1.re > $[]$.1 -awk '{print NR " " $[]0}' $1 | join $[]$.1 - | +awk '{print NR " " $[]0}' $1 > $[]$.1 +awk '{print NR " " $[]0}' $1.re | join - $[]$.1 | while read NUM RE LINE do echo "$LINE" | grep -- "$RE" >/dev/null || exit 1 @@ -50,15 +50,23 @@ test -z "$STAR_TESTSCRIPTS" && AT_SKIP_TEST test -r "$STAR_TESTSCRIPTS/$1" || AT_SKIP_TEST ]) +m4_define([AT_GZIP_PREREQ],[ +cat /dev/null | m4_if([$1],[],gzip,[$1]) - > /dev/null 2>&1 || AT_SKIP_TEST +]) + AT_INIT AT_TESTED([tar]) m4_include([version.at]) +m4_include([pipe.at]) + m4_include([options.at]) +m4_include([options02.at]) m4_include([append.at]) +m4_include([append01.at]) m4_include([delete01.at]) m4_include([delete02.at]) @@ -75,6 +83,7 @@ m4_include([extrac05.at]) m4_include([gzip.at]) m4_include([incremental.at]) +m4_include([incr01.at]) m4_include([ignfail.at]) @@ -84,10 +93,12 @@ m4_include([listed01.at]) m4_include([listed02.at]) m4_include([longv7.at]) +m4_include([long01.at]) m4_include([multiv01.at]) m4_include([multiv02.at]) m4_include([multiv03.at]) +m4_include([multiv04.at]) m4_include([old.at]) @@ -96,10 +107,22 @@ m4_include([recurse.at]) m4_include([same-order01.at]) m4_include([same-order02.at]) +m4_include([shortrec.at]) + m4_include([sparse01.at]) +m4_include([sparse02.at]) +m4_include([sparse03.at]) +m4_include([sparsemv.at]) +m4_include([sparsemvp.at]) + +m4_include([update.at]) m4_include([volume.at]) +m4_include([comprec.at]) + +m4_include([truncate.at]) + m4_include([star/gtarfail.at]) m4_include([star/gtarfail2.at]) @@ -109,4 +132,3 @@ m4_include([star/ustar-big-2g.at]) m4_include([star/ustar-big-8g.at]) m4_include([star/pax-big-10g.at]) -