]> Dogcows Code - chaz/tar/blobdiff - tests/version.at
Fix --remove-files.
[chaz/tar] / tests / version.at
index 44a613d7a15d12e8210e4629a90cc30991ffe6a0..60da2c0332db4e2c9729c12572d16c7988ad6dd2 100644 (file)
@@ -1,9 +1,9 @@
 # Checking tar version                              -*- Autotest -*-
-# Copyright (C) 2004 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,
 
 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
This page took 0.024605 seconds and 4 git commands to generate.