From: Razvan Becheriu Date: Fri, 19 Feb 2021 12:43:22 +0000 (+0200) Subject: [#1657] fixed rebase X-Git-Tag: Kea-1.9.5~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2524f720cd7df7ef4d35fdc4b724731654bbac46;p=thirdparty%2Fkea.git [#1657] fixed rebase --- diff --git a/src/lib/asiolink/tests/process_spawn_unittest.cc b/src/lib/asiolink/tests/process_spawn_unittest.cc index 6f7c9dcf2c..7f6dc2e19c 100644 --- a/src/lib/asiolink/tests/process_spawn_unittest.cc +++ b/src/lib/asiolink/tests/process_spawn_unittest.cc @@ -88,22 +88,6 @@ public: } }; - -// This test verifies that if the thread calling spawn has SIGCHLD -// already block ProcessSpawnError is thrown (@todo the second error -// case: fork() failing) -TEST_F(ProcessSpawnTest, sigchldBlocked) { - vector args; - ProcessSpawn process(io_service_, TEST_SCRIPT_SH, args); - sigset_t sset; - sigemptyset(&sset); - sigaddset(&sset, SIGCHLD); - sigset_t osset; - pthread_sigmask(SIG_BLOCK, &sset, &osset); - EXPECT_THROW(process.spawn(), ProcessSpawnError); - sigprocmask(SIG_SETMASK, &osset, 0); -} - // This test verifies that the external application can be ran with // arguments and that the exit code is gathered. TEST_F(ProcessSpawnTest, spawnWithArgs) {