dhcp: Fix test
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
This commit is contained in:
parent
b21cb37df0
commit
ff8e5d392c
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ udhcpc_opts_up_subshell_body() {
|
||||||
}
|
}
|
||||||
|
|
||||||
hostname_subshell_body() {
|
hostname_subshell_body() {
|
||||||
export IFACE=eth0 PHASE=up MOCK=echo IF_DHCP_PROGRAM=udhcpc IF_HOSTNAME="\$(echo test)"
|
export IFACE=eth0 PHASE=up MOCK=echo IF_DHCP_PROGRAM=udhcpc IF_DHCP_HOSTNAME="\$(echo test)"
|
||||||
atf_check -s exit:0 -o match:'/sbin/udhcpc -b -R -p /var/run/udhcpc.eth0.pid -i eth0 -x hostname:test' \
|
atf_check -s exit:0 -o match:'/sbin/udhcpc -b -R -p /var/run/udhcpc.eth0.pid -i eth0 -x hostname:test' \
|
||||||
${EXECUTOR}
|
${EXECUTOR}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue