diff options
author | 2021-06-22 21:00:48 +0200 | |
---|---|---|
committer | 2021-06-22 21:00:48 +0200 | |
commit | a46be5455a621fd243297b7b1e238cc859d87678 (patch) | |
tree | 8c90377814e2ad4716fe8a19a2c99d693ad29f6d /tests | |
parent | qmerge: check phase funcs against PMS whether they should be run (diff) | |
download | portage-utils-a46be5455a621fd243297b7b1e238cc859d87678.tar.gz portage-utils-a46be5455a621fd243297b7b1e238cc859d87678.tar.bz2 portage-utils-a46be5455a621fd243297b7b1e238cc859d87678.zip |
qmerge: run pkg_* phases according to PMS 9.2 Call Order
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/qmerge/dotest | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/qmerge/dotest b/tests/qmerge/dotest index 0f870efb..f715ee5f 100755 --- a/tests/qmerge/dotest +++ b/tests/qmerge/dotest @@ -53,7 +53,8 @@ tend $? "qmerge-test: [R] re-emerge" || die "${out}" tend $? "qmerge-test: [R] installed expected files" || die "$(treedir "${ROOT}")" order=$(echo "${out}" | awk '$1 == "@@@" && $2 ~ /^pkg_/ { printf "%s ", $NF }') -[[ ${order} == "pkg_pretend pkg_setup pkg_preinst pkg_postinst pkg_prerm pkg_postrm " ]] +# PMS 9.2 +[[ ${order} == "pkg_pretend pkg_setup pkg_preinst pkg_prerm pkg_postrm pkg_postinst " ]] tend $? "qmerge-test: [R] pkg_* order of execution" || die "$(printf '%s\n' "${order}" "${out}")" [[ -x ${ROOT}/usr/bin/qmerge-test && \ |