- Since they're running in fakechroot there's no need to arrange
user writable directories this way
cp "${RPMDATA}/RPMS/${tpkg}" "${RPMTEST}"
runroot rpm -i \
- --noscripts --nodeps --ignorearch --relocate=/usr="${abs_builddir}"/testing/check \
+ --noscripts --nodeps --ignorearch --relocate=/usr=/check \
"${tpkg}"
],
[0])
cp "${RPMDATA}/RPMS/${tpkg}" "${RPMTEST}"
runroot rpm -i \
- --noscripts --nodeps --ignorearch --relocate=/usr="${abs_builddir}"/testing/check \
+ --noscripts --nodeps --ignorearch --relocate=/usr=/check \
"${tpkg}"
],
[0],
cp "${RPMDATA}/RPMS/$tpkg" "${RPMTEST}"
runroot rpm \
- --noscripts --nodeps --ignorearch --relocate=/usr="${abs_builddir}"/testing/check \
+ --noscripts --nodeps --ignorearch --relocate=/usr=/check \
-i "${tpkg}"
],
[0])
],
[ignore])
-cat > expout << _ATEOF
-${abs_builddir}/testing/check/local/bin/hello
-${abs_builddir}/testing/check/share/doc/hello-1.0
-${abs_builddir}/testing/check/share/doc/hello-1.0/FAQ
-_ATEOF
AT_CHECK([
runroot rpm \
-ql hello
],
[0],
-[expout],
+[/check/local/bin/hello
+/check/share/doc/hello-1.0
+/check/share/doc/hello-1.0/FAQ
+],
[ignore])
AT_CLEANUP