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
@@ -325,8 +325,8 @@
TEST_DECLARE (spawn_and_ping)
TEST_DECLARE (spawn_preserve_env)
TEST_DECLARE (spawn_same_stdout_stderr)
-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)
@@ -513,7 +513,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)
@@ -990,8 +990,8 @@
TEST_ENTRY (spawn_and_ping)
TEST_ENTRY (spawn_preserve_env)
TEST_ENTRY (spawn_same_stdout_stderr)
- 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)
@@ -1035,7 +1035,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)