# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+AT_BANNER([RPM build])
+
# ------------------------------
# Check if rpmbuild -ba *.spec works
AT_SETUP([rpmbuild -ba *.spec])
# rpmvercmp.at: rpm config file behavior tests
+AT_BANNER([RPM config file behavior])
+
# ------------------------------
# (Build and) upgrade package with config file, no backup here
AT_SETUP([rpm -U to package with unchanged config file])
-# rpmvercmp.at: rpm version comparison tests
+# rpmconflict.at: rpm file conflict tests
+
+AT_BANNER([RPM file conflicts])
# ------------------------------
# (Build and) install conflicting package (should fail)
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+AT_BANNER([RPM database access])
# ------------------------------
# Attempt to initialize a rpmdb
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+AT_BANNER([Basic tests])
+
# ------------------------------
AT_SETUP([rpm --version])
AT_CHECK([run rpm --version],[0],
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+AT_BANNER([RPM install tests])
+
# ------------------------------
# Check if rpm -U *.src.rpm works
AT_SETUP([rpm -U *.src.rpm])
# rpmmacro.at: test rpm macros
#
+AT_BANNER([RPM macros])
# ------------------------------
AT_SETUP([simple rpm --eval])
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+AT_BANNER([RPM queries])
+
# ------------------------------
AT_SETUP([rpm --qf -p *.i386.rpm])
AT_CHECK([
-#m4_include([rpmgeneral.at])
-#m4_include([rpmquery.at])
-#m4_include([rpmdb.at])
-#m4_include([rpmi.at])
-#m4_include([rpmbuild.at])
-#m4_include([rpmvercmp.at])
-#m4_include([rpmconflict.at])
-#m4_include([rpmconfig.at])
+m4_include([rpmgeneral.at])
+m4_include([rpmquery.at])
+m4_include([rpmdb.at])
+m4_include([rpmi.at])
+m4_include([rpmbuild.at])
+m4_include([rpmvercmp.at])
+m4_include([rpmconflict.at])
+m4_include([rpmconfig.at])
m4_include([rpmmacro.at])
# rpmvercmp.at: rpm version comparison tests
+AT_BANNER([RPM version comparison])
+
# ------------------------------
# Test normal upgrade
AT_SETUP([rpm -U upgrade to newer])