diff options
author | Kim Kibum <kb0929.kim@samsung.com> | 2012-05-21 17:40:28 +0900 |
---|---|---|
committer | Kim Kibum <kb0929.kim@samsung.com> | 2012-05-21 17:40:28 +0900 |
commit | 5fab833656f8722f000d40da4733c164690a18df (patch) | |
tree | 06c6b7063a663592937cbcd47dd400ac931e0490 /tests/version.at | |
parent | 43e15e32d26b017f436da3dd40334b4df292e5a5 (diff) | |
download | cpio-5fab833656f8722f000d40da4733c164690a18df.tar.gz cpio-5fab833656f8722f000d40da4733c164690a18df.tar.bz2 cpio-5fab833656f8722f000d40da4733c164690a18df.zip |
Upload Tizen:Base source
Diffstat (limited to 'tests/version.at')
-rw-r--r-- | tests/version.at | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/tests/version.at b/tests/version.at new file mode 100644 index 0000000..2ed57e2 --- /dev/null +++ b/tests/version.at @@ -0,0 +1,34 @@ +# Checking cpio version -*- Autotest -*- +# Copyright (C) 2004, 2007, 2009, 2010 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 3, or (at your option) +# any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# 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., 51 Franklin Street, Fifth Floor, Boston, MA +# 02110-1301 USA. + +AT_SETUP([cpio version]) + +AT_CHECK([cpio --version | sed 1q], + [0], + [AT_PACKAGE_TARNAME (AT_PACKAGE_NAME) AT_PACKAGE_VERSION +], +[], +[], +[ +echo '==============================================================' +echo 'WARNING: Not using the proper version, *all* checks dubious...' +echo '==============================================================' +]) + +AT_CLEANUP + |