void-packages/srcpkgs/libuv/patches/disable-setuid-test.patch

43 lines
1.5 KiB
Diff

--- a/test/test-list.h 2021-03-02 21:59:17.718832425 +1100
+++ b/test/test-list.h 2021-03-02 22:05:18.359833402 +1100
@@ -305,8 +305,8 @@
TEST_DECLARE (spawn_and_kill_with_std)
TEST_DECLARE (spawn_and_ping)
TEST_DECLARE (spawn_preserve_env)
-TEST_DECLARE (spawn_setuid_fails)
-TEST_DECLARE (spawn_setgid_fails)
+/* TEST_DECLARE (spawn_setuid_fails)
+TEST_DECLARE (spawn_setgid_fails) */
TEST_DECLARE (spawn_stdout_to_file)
TEST_DECLARE (spawn_stdout_and_stderr_to_file)
TEST_DECLARE (spawn_stdout_and_stderr_to_file2)
@@ -477,7 +477,7 @@
TEST_DECLARE (win32_signum_number)
#else
TEST_DECLARE (emfile)
-TEST_DECLARE (spawn_setuid_setgid)
+/* TEST_DECLARE (spawn_setuid_setgid) */
TEST_DECLARE (we_get_signal)
TEST_DECLARE (we_get_signals)
TEST_DECLARE (we_get_signal_one_shot)
@@ -923,8 +923,8 @@
TEST_ENTRY (spawn_and_kill_with_std)
TEST_ENTRY (spawn_and_ping)
TEST_ENTRY (spawn_preserve_env)
- TEST_ENTRY (spawn_setuid_fails)
- TEST_ENTRY (spawn_setgid_fails)
+ /* TEST_ENTRY (spawn_setuid_fails)
+ TEST_ENTRY (spawn_setgid_fails) */
TEST_ENTRY (spawn_stdout_to_file)
TEST_ENTRY (spawn_stdout_and_stderr_to_file)
TEST_ENTRY (spawn_stdout_and_stderr_to_file2)
@@ -963,7 +963,7 @@
TEST_ENTRY (win32_signum_number)
#else
TEST_ENTRY (emfile)
- TEST_ENTRY (spawn_setuid_setgid)
+ /* TEST_ENTRY (spawn_setuid_setgid) */
TEST_ENTRY (we_get_signal)
TEST_ENTRY (we_get_signals)
TEST_ENTRY (we_get_signal_one_shot)