Răsfoiți Sursa

(comprec.at,pipe.at): New tests

Sergey Poznyakoff 20 ani în urmă
părinte
comite
29a6b977e9
2 a modificat fișierele cu 10 adăugiri și 0 ștergeri
  1. 2 0
      tests/Makefile.am
  2. 8 0
      tests/testsuite.at

+ 2 - 0
tests/Makefile.am

@@ -47,6 +47,7 @@ $(srcdir)/package.m4: $(top_srcdir)/configure.ac
 
 TESTSUITE_AT = \
  testsuite.at\
+ comprec.at\
  delete01.at\
  delete02.at\
  delete03.at\
@@ -69,6 +70,7 @@ TESTSUITE_AT = \
  multiv03.at\
  old.at\
  options.at\
+ pipe.at\
  recurse.at\
  same-order01.at\
  same-order02.at\

+ 8 - 0
tests/testsuite.at

@@ -50,12 +50,18 @@ 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([append.at])
@@ -100,6 +106,8 @@ m4_include([sparse01.at])
 
 m4_include([volume.at])
 
+m4_include([comprec.at])
+
 m4_include([star/gtarfail.at])
 m4_include([star/gtarfail2.at])