summaryrefslogtreecommitdiff
path: root/tests/rpmconflict.at
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2011-04-04 14:05:17 +0300
committerPanu Matilainen <pmatilai@redhat.com>2011-04-04 14:05:17 +0300
commitaea6f0423fc3cf26a7e244e79b62c3b94c09d0c7 (patch)
tree386df67a8235848249ccb930687db9baeb68f4ed /tests/rpmconflict.at
parent8e34f32f9f2c27fff9b0c793f8332f091ba5cc79 (diff)
downloadlibrpm-tizen-aea6f0423fc3cf26a7e244e79b62c3b94c09d0c7.tar.gz
librpm-tizen-aea6f0423fc3cf26a7e244e79b62c3b94c09d0c7.tar.bz2
librpm-tizen-aea6f0423fc3cf26a7e244e79b62c3b94c09d0c7.zip
Execute all non-compilation rpmbuild tests in fakechroot
- Except for four rpmbuild tests which rely on an actual compiler being available (faking *that* would get entertaining...), the entire test-suite is now executing everything in the fakechroot environment.
Diffstat (limited to 'tests/rpmconflict.at')
-rw-r--r--tests/rpmconflict.at24
1 files changed, 12 insertions, 12 deletions
diff --git a/tests/rpmconflict.at b/tests/rpmconflict.at
index 86e6aa19f..89b685741 100644
--- a/tests/rpmconflict.at
+++ b/tests/rpmconflict.at
@@ -12,10 +12,10 @@ RPMDB_INIT
rm -rf "${TOPDIR}"
for p in "one" "two"; do
- run rpmbuild --quiet -bb \
+ runroot rpmbuild --quiet -bb \
--define "pkg $p" \
--define "filedata $p" \
- ${RPMDATA}/SPECS/conflicttest.spec
+ /data/SPECS/conflicttest.spec
done
runroot rpm -U "${TOPDIR}"/RPMS/noarch/conflictone-1.0-1.noarch.rpm
@@ -53,10 +53,10 @@ RPMDB_INIT
rm -rf "${TOPDIR}"
for p in "one" "two"; do
- run rpmbuild --quiet -bb \
+ runroot rpmbuild --quiet -bb \
--define "pkg $p" \
--define "filedata same_stuff" \
- ${RPMDATA}/SPECS/conflicttest.spec
+ /data/SPECS/conflicttest.spec
done
runroot rpm -U "${TOPDIR}"/RPMS/noarch/conflictone-1.0-1.noarch.rpm
@@ -95,10 +95,10 @@ RPMDB_INIT
rm -rf "${TOPDIR}"
rm -rf "${RPMTEST}"/usr/{share,lib}/symlinktest*
-run rpmbuild --quiet -bb \
- --define "rel 1" --without symlink ${RPMDATA}/SPECS/symlinktest.spec
-run rpmbuild --quiet -bb \
- --define "rel 2" --with symlink ${RPMDATA}/SPECS/symlinktest.spec
+runroot rpmbuild --quiet -bb \
+ --define "rel 1" --without symlink /data/SPECS/symlinktest.spec
+runroot rpmbuild --quiet -bb \
+ --define "rel 2" --with symlink /data/SPECS/symlinktest.spec
runroot rpm -U "${TOPDIR}"/RPMS/noarch/symlinktest-1.0-1.noarch.rpm
runroot rpm -U "${TOPDIR}"/RPMS/noarch/symlinktest-1.0-2.noarch.rpm
@@ -123,10 +123,10 @@ RPMDB_INIT
rm -rf "${TOPDIR}"
rm -rf "${RPMTEST}"/usr/{share,lib}/symlinktest*
-run rpmbuild --quiet -bb \
- --define "rel 1" --with symlink ${RPMDATA}/SPECS/symlinktest.spec
-run rpmbuild --quiet -bb \
- --define "rel 2" --without symlink ${RPMDATA}/SPECS/symlinktest.spec
+runroot rpmbuild --quiet -bb \
+ --define "rel 1" --with symlink /data/SPECS/symlinktest.spec
+runroot rpmbuild --quiet -bb \
+ --define "rel 2" --without symlink /data/SPECS/symlinktest.spec
runroot rpm -U "${TOPDIR}"/RPMS/noarch/symlinktest-1.0-1.noarch.rpm
runroot rpm -U "${TOPDIR}"/RPMS/noarch/symlinktest-1.0-2.noarch.rpm