From 5632d195f5e109c80a898bb9d2147495012667e4 Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Mon, 15 May 2006 09:52:03 +0000 Subject: [PATCH] Create $XFAILFILE on failure --- tests/version.at | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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 -- 2.45.2