From: Sergey Poznyakoff Date: Mon, 15 May 2006 09:52:03 +0000 (+0000) Subject: Create $XFAILFILE on failure X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=5632d195f5e109c80a898bb9d2147495012667e4;p=chaz%2Ftar Create $XFAILFILE on failure --- diff --git a/tests/version.at b/tests/version.at index c846373..6c1485e 100644 --- a/tests/version.at +++ b/tests/version.at @@ -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