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

43 lines
1.6 KiB
Diff

--- test/test-list.h.orig 2018-04-16 19:13:01.184197428 +0200
+++ test/test-list.h 2018-04-16 19:15:11.042501710 +0200
@@ -254,8 +254,8 @@ TEST_DECLARE (spawn_detached)
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)
@@ -391,7 +391,7 @@ TEST_DECLARE (win32_signum_number)
TEST_DECLARE (emfile)
TEST_DECLARE (close_fd)
TEST_DECLARE (spawn_fs_open)
-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)
@@ -755,8 +755,8 @@ TASK_LIST_START
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)
@@ -790,7 +790,7 @@ TASK_LIST_START
TEST_ENTRY (emfile)
TEST_ENTRY (close_fd)
TEST_ENTRY (spawn_fs_open)
- 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)