]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#4311] Skip tests if socket name is too long
authorAndrei Pavel <andrei@isc.org>
Fri, 23 Jan 2026 11:42:46 +0000 (13:42 +0200)
committerAndrei Pavel <andrei@isc.org>
Fri, 23 Jan 2026 11:42:46 +0000 (13:42 +0200)
src/bin/dhcp4/tests/ctrl_dhcp4_srv_unittest.cc
src/bin/dhcp6/tests/ctrl_dhcp6_srv_unittest.cc

index 7f9efb2d27c2e1c7301f63f9eb3c02f6e7e64240..37cf7a33e5e1df205750d30e10da71231187be88 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2012-2025 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2012-2026 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -1084,6 +1084,7 @@ TEST_F(CtrlChannelDhcpv4SrvTest, configSetLFCRunning) {
 TEST_F(CtrlChannelDhcpv4SrvTest, configSetLFCRunning2) {
     setLogTestPath("/dev");
     createUnixChannelServer();
+    SKIP_IF(skipped_);
 
     // Define strings to permutate the config arguments
     // (Note the line feeds makes errors easy to find)
@@ -2086,6 +2087,7 @@ TEST_F(CtrlChannelDhcpv4SrvTest, configReloadLFCRunning) {
 // Check that the "config-reload" fails when LFC is running using a name.
 TEST_F(CtrlChannelDhcpv4SrvTest, configReloadLFCRunning2) {
     createUnixChannelServer();
+    SKIP_IF(skipped_);
     std::string response;
 
     // This is normally set to whatever value is passed to -c when the server is
index 1b026821591e1a6192b2ab19d87f7b9b70b7f45f..bc5f7f3367a073713f4ef840b07af450a0af2947 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2012-2025 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2012-2026 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -1092,6 +1092,7 @@ TEST_F(CtrlChannelDhcpv6SrvTest, configSetLFCRunning) {
 TEST_F(CtrlChannelDhcpv6SrvTest, configSetLFCRunning2) {
     setLogTestPath("/dev");
     createUnixChannelServer();
+    SKIP_IF(skipped_);
 
     // Define strings to permutate the config arguments
     // (Note the line feeds makes errors easy to find)
@@ -2085,6 +2086,7 @@ TEST_F(CtrlChannelDhcpv6SrvTest, configReloadLFCRunning) {
 // Check that the "config-reload" fails when LFC is running using a name.
 TEST_F(CtrlChannelDhcpv6SrvTest, configReloadLFCRunning2) {
     createUnixChannelServer();
+    SKIP_IF(skipped_);
     std::string response;
 
     // This is normally set to whatever value is passed to -c when the server is