how to run rpmtest

Panu Matilainen pmatilai at laiskiainen.org
Wed Nov 16 08:01:18 UTC 2016


On 11/16/2016 02:12 AM, Chuck Tuffli wrote:
> 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

Run "make check" to run the tests, that'll prepare the environment.
After that has been done it's possible to use ./rpmtests too.

	- Panu -



More information about the Rpm-list mailing list