@ -64,8 +62,8 @@ warning: \$schema The URI of the schema for this file -- Specifies the type o
warning: tuning -- Internal settings
warning: ui -- User-interface settings
warning: global -- Global variable definitions
error:formats/invalid-config/config.malformed.json:3:invalid json -- parse error: object key and value must be separated by a colon (':')
error:{test_dir}/bad-config2/formats/invalid-config/config.malformed.json:3:invalid json -- parse error: object key and value must be separated by a colon (':')
@ -22,7 +20,7 @@ warning: hidden <bool> -- Indicates whether or not this field should be hidde
warning: action-list <string> -- Actions to execute when this field is clicked on
warning: rewriter <command> -- A command that will rewrite this field when pretty-printing
warning: description <string> -- A description of the field
error:format.json:4:invalid json -- parse error: object key and value must be separated by a colon (':')
error:{test_dir}/bad-config-json/formats/invalid-json/format.json:4:invalid json -- parse error: object key and value must be separated by a colon (':')
ar_log": { "abc" } }
(right here) ------^
error:foobar_log: no regexes specified for format
@ -34,12 +32,8 @@ EOF
run_test ${lnav_test} -C \
-I ${test_dir}/bad-config
sed -i "" -e "s|/.*/init.sql|init.sql|g"\
-e "s|/.*/format|format|g"\
`test_err_filename`
check_error_output "invalid format not detected?" <<EOF