summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2011-04-01 16:20:48 +0300
committerPanu Matilainen <pmatilai@redhat.com>2011-04-01 16:20:48 +0300
commit1f2dd7313ce4376d88d17075ddbbb4debb0508a5 (patch)
tree829ae66a9d1b35fa45ee8c3a89360e2a4245e36f /tests
parentce23b96ba7db63a4a85d0f739754553bf9287ec2 (diff)
downloadlibrpm-tizen-1f2dd7313ce4376d88d17075ddbbb4debb0508a5.tar.gz
librpm-tizen-1f2dd7313ce4376d88d17075ddbbb4debb0508a5.tar.bz2
librpm-tizen-1f2dd7313ce4376d88d17075ddbbb4debb0508a5.zip
Run most rpmi tests under fakechroot
- one of the manifest tests is failing mysteriously in root mode though..
Diffstat (limited to 'tests')
-rw-r--r--tests/rpmi.at14
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/rpmi.at b/tests/rpmi.at
index 5500a3179..ad4d9c94d 100644
--- a/tests/rpmi.at
+++ b/tests/rpmi.at
@@ -25,8 +25,8 @@ AT_KEYWORDS([install])
AT_CHECK([
rm -rf ${TOPDIR}
-run rpm \
- -U "${abs_srcdir}"/data/SRPMS/hello-1.0-1.src.rpm
+runroot rpm \
+ -U /data/SRPMS/hello-1.0-1.src.rpm
],
[0],
[ignore],
@@ -40,8 +40,8 @@ AT_KEYWORDS([install])
AT_CHECK([
rm -rf ${TOPDIR}
-run rpm \
- -i "${abs_srcdir}"/data/SRPMS/hello-1.0-1.src.rpm
+runroot rpm \
+ -i /data/SRPMS/hello-1.0-1.src.rpm
],
[0],
[ignore],
@@ -54,7 +54,7 @@ AT_CLEANUP
AT_SETUP([rpm -i <nonexistent file>])
AT_KEYWORDS([install])
AT_CHECK([
-run rpm \
+runroot rpm \
-i no_such_file
],
[1],
@@ -72,8 +72,8 @@ no_such.file
not_an.rpm
EOF
-run rpm \
- -Uvv --nomanifest "${junk}"
+runroot rpm \
+ -Uvv --nomanifest /textfile
],
[1],
[ignore],