X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=tests%2Fversion.at;h=6c1485e1ef2407a8207a15e59af14bc6095df351;hb=51118be2415acdee9540f0c646361e89664f3359;hp=f457e59dce0cd98cc8dfa6a70e9acf66f00ec5d0;hpb=35cae74c4cae8e59c84e215c493e5a032dbe4e15;p=chaz%2Ftar diff --git a/tests/version.at b/tests/version.at index f457e59..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 @@ -13,15 +13,23 @@ # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +# 02110-1301, USA. 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