aboutsummaryrefslogtreecommitdiff
path: root/tests/version.at
diff options
context:
space:
mode:
Diffstat (limited to 'tests/version.at')
-rw-r--r--tests/version.at6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/version.at b/tests/version.at
index 4910be5..f75923f 100644
--- a/tests/version.at
+++ b/tests/version.at
@@ -1,8 +1,8 @@
# This file is part of GNU cflow testsuite. -*- Autotest -*-
-# Copyright (C) 2005 Sergey Poznyakoff
+# Copyright (C) 2005, 2007 Sergey Poznyakoff
#
# 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) any later version.
#
@@ -16,15 +16,15 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301 USA.
AT_SETUP([cflow version])
AT_KEYWORDS([version])
-AT_CHECK([cflow --version],
+AT_CHECK([cflow --version | sed 1q],
[0],
- [cflow (AT_PACKAGE_NAME) AT_PACKAGE_VERSION
+ [AT_PACKAGE_TARNAME (AT_PACKAGE_NAME) AT_PACKAGE_VERSION
],
[],
[
echo '=============================================================='
echo 'WARNING: Not using the proper version, *all* checks dubious...'
echo '=============================================================='

Return to:

Send suggestions and report system problems to the System administrator.