aboutgitcodebugslistschat
path: root/test/dhcp
diff options
context:
space:
mode:
Diffstat (limited to 'test/dhcp')
-rw-r--r--test/dhcp/pasta4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/dhcp/pasta b/test/dhcp/pasta
index e76454a..4652d09 100644
--- a/test/dhcp/pasta
+++ b/test/dhcp/pasta
@@ -12,7 +12,7 @@
# Author: Stefano Brivio <sbrivio@redhat.com>
onlyfor pasta
-nstools ip jq /sbin/udhcpc /sbin/dhclient
+nstools ip jq /sbin/dhclient
htools ip jq
test Interface name
@@ -20,7 +20,7 @@ nsout IFNAME ip -j link show | jq -rM '.[] | select(.link_type == "ether").ifnam
check [ -n "__IFNAME__" ]
test DHCP: address
-ns /sbin/udhcpc -i __IFNAME__
+ns /sbin/dhclient -4 --no-pid __IFNAME__
nsout ADDR ip -j -4 addr show|jq -rM '.[] | select(.ifname == "__IFNAME__").addr_info[0].local'
hout HOST_ADDR ip -j -4 addr show|jq -rM '.[] | select(.ifname == "__IFNAME__").addr_info[0].local'
check [ __ADDR__ = __HOST_ADDR__ ]