diff options
Diffstat (limited to 'test/units/testsuite-76.sh')
-rwxr-xr-x | test/units/testsuite-76.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/units/testsuite-76.sh b/test/units/testsuite-76.sh index cb571f8b97..ef1eedf68b 100755 --- a/test/units/testsuite-76.sh +++ b/test/units/testsuite-76.sh @@ -8,11 +8,11 @@ set -o pipefail export SYSTEMD_LOG_LEVEL=debug -echo "foo.bar=42" > /tmp/foo.conf +echo "foo.bar=42" >/tmp/foo.conf assert_rc 0 /usr/lib/systemd/systemd-sysctl /tmp/foo.conf assert_rc 1 /usr/lib/systemd/systemd-sysctl --strict /tmp/foo.conf -echo "-foo.foo=42" > /tmp/foo.conf +echo "-foo.foo=42" >/tmp/foo.conf assert_rc 0 /usr/lib/systemd/systemd-sysctl /tmp/foo.conf assert_rc 0 /usr/lib/systemd/systemd-sysctl --strict /tmp/foo.conf @@ -26,9 +26,9 @@ net.ipv4.*.*.bootp_relay=1 net.ipv4.aaa.*.disable_policy=1 EOF - echo 0 > /proc/sys/net/ipv4/conf/hoge/drop_gratuitous_arp - echo 0 > /proc/sys/net/ipv4/conf/hoge/bootp_relay - echo 0 > /proc/sys/net/ipv4/conf/hoge/disable_policy + echo 0 >/proc/sys/net/ipv4/conf/hoge/drop_gratuitous_arp + echo 0 >/proc/sys/net/ipv4/conf/hoge/bootp_relay + echo 0 >/proc/sys/net/ipv4/conf/hoge/disable_policy assert_rc 0 /usr/lib/systemd/systemd-sysctl --prefix=/net/ipv4/conf/hoge /tmp/foo.conf assert_eq "$(cat /proc/sys/net/ipv4/conf/hoge/drop_gratuitous_arp)" "1" |