summaryrefslogtreecommitdiff
path: root/tests/rpmgeneral.at
diff options
context:
space:
mode:
authorRalf Corsépius <corsepiu@fedoraproject.org>2007-08-20 12:37:21 +0200
committerRalf Corsépius <corsepiu@fedoraproject.org>2007-08-20 12:37:21 +0200
commit505ae3d686e5e738eebe63070785329d484c018d (patch)
treec6e596675af5705447f6d9c2eb3bdd5f890aec3e /tests/rpmgeneral.at
parent02e42cbde4cc72d00e66ac3058b3c1124e7ffe39 (diff)
downloadrpm-505ae3d686e5e738eebe63070785329d484c018d.tar.gz
rpm-505ae3d686e5e738eebe63070785329d484c018d.tar.bz2
rpm-505ae3d686e5e738eebe63070785329d484c018d.zip
autotest support files.
Diffstat (limited to 'tests/rpmgeneral.at')
-rw-r--r--tests/rpmgeneral.at49
1 files changed, 49 insertions, 0 deletions
diff --git a/tests/rpmgeneral.at b/tests/rpmgeneral.at
new file mode 100644
index 000000000..77ba2bd82
--- /dev/null
+++ b/tests/rpmgeneral.at
@@ -0,0 +1,49 @@
+# rpmgeneral.at
+#
+# Copyright (C) 2007 Ralf Corsépius <corsepiu@fedoraproject.org>
+#
+# 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 of the License, 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([rpm --version])
+AT_CHECK([rpm --version],[0],
+[RPM version AT_PACKAGE_VERSION
+])
+AT_CLEANUP
+
+
+AT_SETUP([rpmbuild --version])
+AT_CHECK([rpmbuild --version],[0],
+[RPM version AT_PACKAGE_VERSION
+])
+AT_CLEANUP
+
+
+AT_SETUP([rpmquery --version])
+AT_CHECK([rpm --version],[0],
+[RPM version AT_PACKAGE_VERSION
+])
+AT_CLEANUP
+
+
+AT_SETUP([rpm --showrc])
+AT_CHECK([rpm --rcfile=${RPMRC} --showrc],[0],
+[ignore])
+AT_CLEANUP
+
+
+AT_SETUP([rpm --querytags works])
+AT_CHECK([rpm --querytags],[0],
+[ignore])
+AT_CLEANUP