From afbdedb46956a4ed6fc76c1a13ba993186550a22 Mon Sep 17 00:00:00 2001 From: Stephan Seidt Date: Wed, 12 Aug 2015 10:19:09 +0200 Subject: [PATCH] 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 --- test/sharness/t0021-config.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/sharness/t0021-config.sh b/test/sharness/t0021-config.sh index 4c4e8e881..f8617096b 100755 --- a/test/sharness/t0021-config.sh +++ b/test/sharness/t0021-config.sh @@ -57,6 +57,9 @@ test_config_cmd() { test_config_cmd_set "--json" "beep3" "true" test_config_cmd_set "--json" "beep3" "false" test_config_cmd_set "--json" "Discovery" "$CONFIG_SET_JSON_TEST" + test_config_cmd_set "--json" "deep-not-defined.prop" "true" + test_config_cmd_set "--json" "deep-null" "null" + test_config_cmd_set "--json" "deep-null.prop" "true" }