commit:     5b119a9d64f4246116d40515dc162def25dc4b6a
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 23 00:38:25 2022 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Sat Apr 23 00:38:25 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b119a9d

dev-libs/glib: addpredict /usr/b for tests

Closes: https://bugs.gentoo.org/839807
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>

 dev-libs/glib/glib-2.70.4.ebuild | 4 ++++
 dev-libs/glib/glib-2.72.0.ebuild | 4 ++++
 dev-libs/glib/glib-2.72.1.ebuild | 4 ++++
 3 files changed, 12 insertions(+)

diff --git a/dev-libs/glib/glib-2.70.4.ebuild b/dev-libs/glib/glib-2.70.4.ebuild
index d275a6a9bfdf..472a2d6d4193 100644
--- a/dev-libs/glib/glib-2.70.4.ebuild
+++ b/dev-libs/glib/glib-2.70.4.ebuild
@@ -186,6 +186,10 @@ multilib_src_test() {
        unset GSETTINGS_BACKEND # bug #596380
        python_setup
 
+       # https://bugs.gentoo.org/839807
+       local -x SANDBOX_PREDICT=${SANDBOX_PREDICT}
+       addpredict /usr/b
+
        # Related test is a bit nitpicking
        mkdir "$G_DBUS_COOKIE_SHA1_KEYRING_DIR"
        chmod 0700 "$G_DBUS_COOKIE_SHA1_KEYRING_DIR"

diff --git a/dev-libs/glib/glib-2.72.0.ebuild b/dev-libs/glib/glib-2.72.0.ebuild
index 49fab3db4863..3cd0a365897a 100644
--- a/dev-libs/glib/glib-2.72.0.ebuild
+++ b/dev-libs/glib/glib-2.72.0.ebuild
@@ -186,6 +186,10 @@ multilib_src_test() {
        unset GSETTINGS_BACKEND # bug #596380
        python_setup
 
+       # https://bugs.gentoo.org/839807
+       local -x SANDBOX_PREDICT=${SANDBOX_PREDICT}
+       addpredict /usr/b
+
        # Related test is a bit nitpicking
        mkdir "$G_DBUS_COOKIE_SHA1_KEYRING_DIR"
        chmod 0700 "$G_DBUS_COOKIE_SHA1_KEYRING_DIR"

diff --git a/dev-libs/glib/glib-2.72.1.ebuild b/dev-libs/glib/glib-2.72.1.ebuild
index 49fab3db4863..3cd0a365897a 100644
--- a/dev-libs/glib/glib-2.72.1.ebuild
+++ b/dev-libs/glib/glib-2.72.1.ebuild
@@ -186,6 +186,10 @@ multilib_src_test() {
        unset GSETTINGS_BACKEND # bug #596380
        python_setup
 
+       # https://bugs.gentoo.org/839807
+       local -x SANDBOX_PREDICT=${SANDBOX_PREDICT}
+       addpredict /usr/b
+
        # Related test is a bit nitpicking
        mkdir "$G_DBUS_COOKIE_SHA1_KEYRING_DIR"
        chmod 0700 "$G_DBUS_COOKIE_SHA1_KEYRING_DIR"

Reply via email to