[gnome-builder/wip/gtk4-port: 1561/1774] tests: fix environment check
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/gtk4-port: 1561/1774] tests: fix environment check
- Date: Mon, 11 Jul 2022 22:31:50 +0000 (UTC)
commit 3177f6b2580c9f0aeceb2c00eded19dc07bc1c4e
Author: Christian Hergert <chergert redhat com>
Date: Fri Jun 17 01:26:02 2022 -0700
tests: fix environment check
src/tests/test-run-context.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/tests/test-run-context.c b/src/tests/test-run-context.c
index c8569f406..d0d6b3d39 100644
--- a/src/tests/test-run-context.c
+++ b/src/tests/test-run-context.c
@@ -48,7 +48,7 @@ test_run_context_default_handler (void)
g_assert_true (IDE_IS_SUBPROCESS_LAUNCHER (launcher));
g_assert_true (g_strv_equal (ide_subprocess_launcher_get_argv (launcher),
- IDE_STRV_INIT ("wrapper", "--", "env", "USER=user", "ls", "-lsah")));
+ IDE_STRV_INIT ("wrapper", "--", "env", "USER=user", "UID=1000", "ls",
"-lsah")));
g_assert_true (g_strv_equal (ide_subprocess_launcher_get_environ (launcher),
IDE_STRV_INIT ("USER=nobody")));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]