From: Panu Matilainen Date: Fri, 1 Apr 2011 13:20:48 +0000 (+0300) Subject: Run most rpmi tests under fakechroot X-Git-Tag: tznext/4.11.0.1.tizen20130304~1231 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1f2dd7313ce4376d88d17075ddbbb4debb0508a5;p=tools%2Flibrpm-tizen.git Run most rpmi tests under fakechroot - one of the manifest tests is failing mysteriously in root mode though.. --- diff --git a/tests/rpmi.at b/tests/rpmi.at index 5500a31..ad4d9c9 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 ]) 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],