# 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
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
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([delete02.at])
m4_include([delete03.at])
m4_include([delete04.at])
+m4_include([delete05.at])
m4_include([extrac01.at])
m4_include([extrac02.at])
m4_include([listed02.at])
m4_include([longv7.at])
+m4_include([long01.at])
m4_include([multiv01.at])
m4_include([multiv02.at])
m4_include([volume.at])
+m4_include([comprec.at])
+
m4_include([star/gtarfail.at])
m4_include([star/gtarfail2.at])
m4_include([star/ustar-big-8g.at])
m4_include([star/pax-big-10g.at])
-