]> Dogcows Code - chaz/tar/commitdiff
Create $XFAILFILE on failure
authorSergey Poznyakoff <gray@gnu.org.ua>
Mon, 15 May 2006 09:52:03 +0000 (09:52 +0000)
committerSergey Poznyakoff <gray@gnu.org.ua>
Mon, 15 May 2006 09:52:03 +0000 (09:52 +0000)
tests/version.at

index c846373c2f972c2e96b8033ab09e239571a438bc..6c1485e1ef2407a8207a15e59af14bc6095df351 100644 (file)
@@ -21,6 +21,15 @@ AT_SETUP([tar version])
 AT_CHECK([tar --version | sed 1q],
          [0],
          [AT_PACKAGE_TARNAME (AT_PACKAGE_NAME) AT_PACKAGE_VERSION
-])
+],
+[],
+[cat >$[]XFAILFILE <<'_EOT'
+
+==============================================================
+WARNING: Not using the proper version, *all* checks dubious...
+==============================================================
+_EOT
+],
+[rm -f $[]XFAILFILE])
 
 AT_CLEANUP
This page took 0.021812 seconds and 4 git commands to generate.