diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2011-04-04 12:13:56 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2011-04-04 12:13:56 +0300 |
commit | cb4da93fdfa8418b4670f38ff61ddf9357ff30e3 (patch) | |
tree | a2d5cb1b5f67e8bde5ad7baeb935628ce7986c1f | |
parent | f439f4fc8a217a4088fc1249f1948de875426da3 (diff) | |
download | librpm-tizen-cb4da93fdfa8418b4670f38ff61ddf9357ff30e3.tar.gz librpm-tizen-cb4da93fdfa8418b4670f38ff61ddf9357ff30e3.tar.bz2 librpm-tizen-cb4da93fdfa8418b4670f38ff61ddf9357ff30e3.zip |
Switch more test-suite builds to run under fakechroot
- This leaves only the "real" builds where the packages contain files
to be executed outside fakechroot
-rw-r--r-- | tests/rpmi.at | 4 | ||||
-rw-r--r-- | tests/rpmverify.at | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/tests/rpmi.at b/tests/rpmi.at index 8694c54f4..71c2bef9a 100644 --- a/tests/rpmi.at +++ b/tests/rpmi.at @@ -106,9 +106,9 @@ RPMDB_INIT rm -rf "${TOPDIR}" for v in "1.0" "2.0"; do - run rpmbuild --quiet -bb \ + runroot rpmbuild --quiet -bb \ --define "ver $v" \ - ${RPMDATA}/SPECS/versiontest.spec + /data/SPECS/versiontest.spec done runroot rpm -U "${TOPDIR}"/RPMS/noarch/versiontest-1.0-1.noarch.rpm diff --git a/tests/rpmverify.at b/tests/rpmverify.at index c19e331e8..dd23a4a39 100644 --- a/tests/rpmverify.at +++ b/tests/rpmverify.at @@ -11,10 +11,10 @@ RPMDB_CLEAR RPMDB_INIT rm -rf "${TOPDIR}" -run rpmbuild --quiet -bb \ +runroot rpmbuild --quiet -bb \ --define "pkg one" \ --define "reqs deptest-two" \ - ${RPMDATA}/SPECS/deptest.spec + /data/SPECS/deptest.spec runroot rpm -U --nodeps "${TOPDIR}"/RPMS/noarch/deptest-one-1.0-1.noarch.rpm runroot rpm -Va @@ -94,7 +94,7 @@ RPMDB_CLEAR RPMDB_INIT rm -rf "${TOPDIR}" -run rpmbuild --quiet -bb "${RPMDATA}"/SPECS/verifyscript.spec +runroot rpmbuild --quiet -bb /data/SPECS/verifyscript.spec runroot rpm -U --nodeps "${TOPDIR}"/RPMS/noarch/verifyscript-1.0-1.noarch.rpm rm -f "${RPMTEST}"/var/checkme runroot rpm -V --nodeps verifyscript @@ -111,7 +111,7 @@ RPMDB_CLEAR RPMDB_INIT rm -rf "${TOPDIR}" -run rpmbuild --quiet -bb "${RPMDATA}"/SPECS/verifyscript.spec +runroot rpmbuild --quiet -bb /data/SPECS/verifyscript.spec runroot rpm -U --nodeps "${TOPDIR}"/RPMS/noarch/verifyscript-1.0-1.noarch.rpm touch "${RPMTEST}"/var/checkme runroot rpm -V --nodeps verifyscript |