tests: add tests for ipv6-ra executor
This commit is contained in:
parent
5f078537bf
commit
d35a3e3b38
3 changed files with 21 additions and 2 deletions
|
@ -1,11 +1,11 @@
|
|||
#!/bin/sh
|
||||
|
||||
start() {
|
||||
${MOCK} echo 1 > /proc/sys/net/ipv6/conf/$IFACE/accept_ra
|
||||
${MOCK} /bin/sh -c "echo 1 > /proc/sys/net/ipv6/conf/$IFACE/accept_ra"
|
||||
}
|
||||
|
||||
stop() {
|
||||
${MOCK} echo 0 > /proc/sys/net/ipv6/conf/$IFACE/accept_ra
|
||||
${MOCK} /bin/sh -c "echo 0 > /proc/sys/net/ipv6/conf/$IFACE/accept_ra"
|
||||
}
|
||||
|
||||
[ -z "$VERBOSE" ] || set -x
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue