1 # rpmgeneral.at: Some very basic checks
3 # Copyright (C) 2007 Ralf Corsépius <corsepiu@fedoraproject.org>
5 # This program is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 2 of the License, or
8 # (at your option) any later version.
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with this program; if not, write to the Free Software
17 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19 # ------------------------------
20 AT_SETUP([rpm --version])
21 AT_CHECK([rpm --version],[0],
22 [RPM version AT_PACKAGE_VERSION
27 # ------------------------------
28 AT_SETUP([rpmbuild --version])
29 AT_CHECK([rpmbuild --version],[0],
30 [RPM version AT_PACKAGE_VERSION
35 # ------------------------------
36 AT_SETUP([rpmquery --version])
37 AT_CHECK([rpmquery --version],[0],
38 [RPM version AT_PACKAGE_VERSION
43 # ------------------------------
44 AT_SETUP([rpmi --version])
45 AT_CHECK([rpmi --version],[0],
46 [RPM version AT_PACKAGE_VERSION
51 # ------------------------------
52 AT_SETUP([rpm --showrc])
53 AT_CHECK([rpm --rcfile=${RPMRC} --showrc],[0],
58 # ------------------------------
59 # Check rpm --querytags
60 # * Some versions of rpm append extraneous whitespaces
61 AT_SETUP([rpm --querytags])
62 AT_CHECK([rpm --querytags],[0],