X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=tests%2Fversion.at;h=60da2c0332db4e2c9729c12572d16c7988ad6dd2;hb=d0694ee604861ec09fa53cc8ffb50d01f440345c;hp=c846373c2f972c2e96b8033ab09e239571a438bc;hpb=78b078b455b834695ebd3104ec3dbe8a4ac9f3a3;p=chaz%2Ftar diff --git a/tests/version.at b/tests/version.at index c846373..60da2c0 100644 --- a/tests/version.at +++ b/tests/version.at @@ -1,9 +1,9 @@ # Checking tar version -*- Autotest -*- -# Copyright (C) 2004, 2006 Free Software Foundation, Inc. +# Copyright (C) 2004, 2006, 2007 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 -# the Free Software Foundation; either version 2, or (at your option) +# the Free Software Foundation; either version 3, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, @@ -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