how to run rpmtest

Chuck Tuffli ctuffli at gmail.com
Wed Nov 16 00:12:06 UTC 2016


I've downloaded rpm-4.13.0, built it, and am trying to verify the
build worked by running rpmtest in the tests directory. Most of the
tests fail, which leads me to suspect a either problem with the way
I've setup my environment or with the way I'm running the tests.

The system is Ubuntu 14.04. Any ideas where I goofed?

> which rpm
/bin/rpm
> rpm --version
RPM version 4.13.0
> which fakechroot
/usr/bin/fakechroot
> pwd
/home/ctuffli/dev/rpm-4.13.0/tests
> ./rpmtests -v 1
## ---------------------- ##
## rpm 4.13.0 test suite. ##
## ---------------------- ##
1. rpmgeneral.at:22: testing rpm --version ...
/rpmgeneral.at:24: runroot rpm --version
--- /dev/null   2016-11-14 14:44:22.573942890 -0800
+++ /home/ctuffli/dev/rpm-4.13.0/tests/rpmtests.dir/at-groups/1/stderr
 2016-11-15 16:08:37.541202815 -0800
@@ -0,0 +1 @@
+/home/ctuffli/dev/rpm-4.13.0/tests/rpmtests.dir/at-groups/1/test-source:
line 12: runroot: command not found
--- -   2016-11-15 16:08:37.548715200 -0800
+++ /home/ctuffli/dev/rpm-4.13.0/tests/rpmtests.dir/at-groups/1/stdout
 2016-11-15 16:08:37.541202815 -0800
@@ -1,2 +1 @@
-RPM version 4.13.0

/rpmgeneral.at:24: exit code was 127, expected 0
1. rpmgeneral.at:22:  FAILED (rpmgeneral.at:24)

## ------------- ##
## Test results. ##
## ------------- ##

ERROR: 1 test was run,
1 failed unexpectedly.
## ------------------------- ##
## rpmtests.log was created. ##
## ------------------------- ##

Please send `rpmtests.log' and all information you think might help:

   To: <rpm-maint at lists.rpm.org>
   Subject: [rpm 4.13.0] rpmtests: 1 failed

You may investigate any problem if you feel able to do so, in which
case the test suite provides a good starting point.  Its output may
be found below `rpmtests.dir'.


More information about the Rpm-list mailing list