autotest support files.
[platform/upstream/rpm.git] / tests / rpmgeneral.at
1 #    rpmgeneral.at
2 #
3 #    Copyright (C) 2007  Ralf Corsépius <corsepiu@fedoraproject.org>
4 #
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.
9 #
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.
14 #
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
18
19 AT_SETUP([rpm --version])
20 AT_CHECK([rpm --version],[0],
21 [RPM version AT_PACKAGE_VERSION
22 ])
23 AT_CLEANUP
24
25
26 AT_SETUP([rpmbuild --version])
27 AT_CHECK([rpmbuild --version],[0],
28 [RPM version AT_PACKAGE_VERSION
29 ])
30 AT_CLEANUP
31
32
33 AT_SETUP([rpmquery --version])
34 AT_CHECK([rpm --version],[0],
35 [RPM version AT_PACKAGE_VERSION
36 ])
37 AT_CLEANUP
38
39
40 AT_SETUP([rpm --showrc])
41 AT_CHECK([rpm --rcfile=${RPMRC} --showrc],[0],
42 [ignore])
43 AT_CLEANUP
44
45
46 AT_SETUP([rpm --querytags works])
47 AT_CHECK([rpm --querytags],[0],
48 [ignore])
49 AT_CLEANUP