Skip to content

Commit 5779fbb

Browse files
committed
Don't remove PATH from tests
A recent GDK-PixBuf with Glycin will attempt to spawn sandboxed loaders, which needs `bwrap` from the PATH.
1 parent ff75538 commit 5779fbb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/isolate-test.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ mkdir -p "$XDG_CONFIG_HOME"
7777
export G_DEBUG="fatal-critical"
7878

7979
echo "Variables in isolated environment:" >&2
80-
env -i G_DEBUG="$G_DEBUG" HOME="$HOME" XDG_CONFIG_HOME="$XDG_CONFIG_HOME" XDG_RUNTIME_DIR="$XDG_RUNTIME_DIR" dbus-run-session -- env >&2
80+
env -i G_DEBUG="$G_DEBUG" HOME="$HOME" PATH="$PATH" XDG_CONFIG_HOME="$XDG_CONFIG_HOME" XDG_RUNTIME_DIR="$XDG_RUNTIME_DIR" dbus-run-session -- env >&2
8181
echo >&2
8282

83-
env -i G_DEBUG="$G_DEBUG" HOME="$HOME" XDG_CONFIG_HOME="$XDG_CONFIG_HOME" XDG_RUNTIME_DIR="$XDG_RUNTIME_DIR" dbus-run-session -- "$@"
83+
env -i G_DEBUG="$G_DEBUG" HOME="$HOME" PATH="$PATH" XDG_CONFIG_HOME="$XDG_CONFIG_HOME" XDG_RUNTIME_DIR="$XDG_RUNTIME_DIR" dbus-run-session -- "$@"

0 commit comments

Comments
 (0)