* [LTP] [PATCH 1/1] dhcp: TCONF for wicked on IPv6
@ 2021-05-04 12:50 Petr Vorel
2021-05-06 5:40 ` Petr Vorel
0 siblings, 1 reply; 2+ messages in thread
From: Petr Vorel @ 2021-05-04 12:50 UTC (permalink / raw)
To: ltp
wicked requires proper radvd setup. which is beyond DHCP tests.
Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
testcases/network/dhcp/dhcp_lib.sh | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/testcases/network/dhcp/dhcp_lib.sh b/testcases/network/dhcp/dhcp_lib.sh
index 634d6ab43..730bdad87 100755
--- a/testcases/network/dhcp/dhcp_lib.sh
+++ b/testcases/network/dhcp/dhcp_lib.sh
@@ -37,6 +37,12 @@ stop_dhcp()
dhcp_lib_setup()
{
+ if [ $HAVE_SYSTEMCTL -eq 1 ] && \
+ systemctl --no-pager -p Id show network.service | grep -q Id=wicked.service; then
+ [ $TST_IPV6 ] && tst_brk TCONF "wicked not supported on IPv6"
+ is_wicked=1
+ fi
+
[ -z "$log" ] && log="$PWD/$(basename $0 '.sh').log"
if [ $TST_IPV6 ]; then
@@ -129,8 +135,7 @@ test01()
tst_brk TBROK "Failed to start $dhcp_name"
fi
- if [ $HAVE_SYSTEMCTL -eq 1 ] && \
- systemctl --no-pager -p Id show network.service | grep -q Id=wicked.service; then
+ if [ "$is_wicked" ]; then
tst_res TINFO "wicked is running, don't start dhclient"
if [ ! -f "$wicked_cfg" ]; then
cat <<EOF > $wicked_cfg
--
2.31.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [LTP] [PATCH 1/1] dhcp: TCONF for wicked on IPv6
2021-05-04 12:50 [LTP] [PATCH 1/1] dhcp: TCONF for wicked on IPv6 Petr Vorel
@ 2021-05-06 5:40 ` Petr Vorel
0 siblings, 0 replies; 2+ messages in thread
From: Petr Vorel @ 2021-05-06 5:40 UTC (permalink / raw)
To: ltp
Hi,
> wicked requires proper radvd setup, which is beyond DHCP tests.
FYI merged.
Kind regards,
Petr
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-05-06 5:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-04 12:50 [LTP] [PATCH 1/1] dhcp: TCONF for wicked on IPv6 Petr Vorel
2021-05-06 5:40 ` Petr Vorel
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.