config set: test setting with null & not-defined parent
This adds a failing for the case described in #1561 License: MIT Signed-off-by: Stephan Seidt <evilhackerdude@gmail.com>
Stephan Seidt committed
Aug 12, 2015 at 10:19 UTC
afbdedb46956a4ed6fc76c1a13ba993186550a22
1 file changed
+3
test/sharness/t0021-config.sh
+3
@@ -57,6 +57,9 @@ test_config_cmd() {
57
test_config_cmd_set "--json" "beep3" "true"
58
test_config_cmd_set "--json" "beep3" "false"
59
test_config_cmd_set "--json" "Discovery" "$CONFIG_SET_JSON_TEST"
60
+ test_config_cmd_set "--json" "deep-not-defined.prop" "true"
61
+ test_config_cmd_set "--json" "deep-null" "null"
62
+ test_config_cmd_set "--json" "deep-null.prop" "true"
63
64
}
65