From 38589f293c96bd9e788da687e65b4b1bd91951ef Mon Sep 17 00:00:00 2001 From: Jeremy Lakeman Date: Thu, 20 Dec 2012 16:20:12 +1030 Subject: [PATCH] Interface speed is no longer validated --- tests/config | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/tests/config b/tests/config index 8b53b5dc..cd0abfbe 100755 --- a/tests/config +++ b/tests/config @@ -216,13 +216,14 @@ test_InterfacesLegacyInvalidPort() { --error-pattern='config file.*not loaded.*invalid' } -doc_InterfacesLegacyInvalidSpeed="Legacy 'interfaces' config option invalid speed" +doc_InterfacesLegacyInvalidSpeed="Legacy 'interfaces' config option invalid speed is ignored" test_InterfacesLegacyInvalidSpeed() { - execute --stderr --core-backtrace --exit-status=2 --executable=$servald \ - config set interfaces '+eth=ethernet:4111:9MB' - assert_stderr_log \ - --warn-pattern='"interfaces".*invalid' \ - --error-pattern='config file.*not loaded.*invalid' + # speed option is no longer validated or used + execute --stderr --core-backtrace --exit-status=0 --executable=$servald \ + config set interfaces '+eth=ethernet:4111:9Moose' + #assert_stderr_log \ + # --warn-pattern='"interfaces".*invalid' \ + # --error-pattern='config file.*not loaded.*invalid' } doc_InterfacesLegacyIncompatible="Legacy 'interfaces' config option incompatible with modern form"