X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=tests%2Fversion.at;h=6c1485e1ef2407a8207a15e59af14bc6095df351;hb=ac8690fc4e1f697b89e00a0335eeaf6d27b33288;hp=44a613d7a15d12e8210e4629a90cc30991ffe6a0;hpb=120e96c480fbfc5fa31fba0f59ba1a45953b838e;p=chaz%2Ftar diff --git a/tests/version.at b/tests/version.at index 44a613d..6c1485e 100644 --- a/tests/version.at +++ b/tests/version.at @@ -1,5 +1,5 @@ # Checking tar version -*- Autotest -*- -# Copyright (C) 2004 Free Software Foundation, Inc. +# Copyright (C) 2004, 2006 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 @@ -18,10 +18,18 @@ AT_SETUP([tar version]) -AT_CHECK([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 - \ No newline at end of file