FIX: config test to match new semantics

In 21db988e18 we removed the fallback to
default values when a value has a config syntax error. Such errors should
not silently ignored and overidden by the default but handled.
This commit is contained in:
Christian Thaeter 2008-09-08 07:47:46 +02:00
parent 126e552f1b
commit 8ca6865c44

View file

@ -44,8 +44,8 @@ out: LUMIERA_ERROR_CONFIG_SYNTAX_VALUE:syntax error in value
END
LUMIERA_TEST_NUMBER_1=NAN
TEST "number get, env override, default fallback" number_get test.number.1 '1234567890 # comment' <<END
out: LUMIERA_ERROR_CONFIG_SYNTAX_VALUE:syntax error in value, 1234567890
TEST "number get, type error" number_get test.number.1 '1234 # comment' <<END
out: LUMIERA_ERROR_CONFIG_SYNTAX_VALUE:syntax error in value, 0
END
unset LUMIERA_TEST_NUMBER_1