tests: add tests for ipv6-ra executor

This commit is contained in:
Ariadne Conill 2020-07-26 03:54:06 -06:00
parent 5f078537bf
commit d35a3e3b38
3 changed files with 21 additions and 2 deletions

View file

@ -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