From 987ececa54f0bd5c44a1655adfd1b73258d43529 Mon Sep 17 00:00:00 2001 From: Mark Stemm Date: Thu, 15 Oct 2020 15:50:28 -0700 Subject: [PATCH] Remove test case for unknown objects. The rules loader now allows objects with unknown keys. Signed-off-by: Mark Stemm --- test/falco_tests.yaml | 12 ------------ test/rules/invalid_unexpected_object.yaml | 1 - 2 files changed, 13 deletions(-) delete mode 100644 test/rules/invalid_unexpected_object.yaml diff --git a/test/falco_tests.yaml b/test/falco_tests.yaml index c8502aba..0e2cef9b 100644 --- a/test/falco_tests.yaml +++ b/test/falco_tests.yaml @@ -295,18 +295,6 @@ trace_files: !mux - rules/invalid_array_item_not_object.yaml trace_file: trace_files/cat_write.scap - invalid_unexpected object: - exit_status: 1 - stdout_is: |+ - 1 errors: - Unknown rule object: {foo="bar"} - --- - - foo: bar - --- - validate_rules_file: - - rules/invalid_unexpected_object.yaml - trace_file: trace_files/cat_write.scap - invalid_engine_version_not_number: exit_status: 1 stdout_is: |+ diff --git a/test/rules/invalid_unexpected_object.yaml b/test/rules/invalid_unexpected_object.yaml deleted file mode 100644 index 3867010c..00000000 --- a/test/rules/invalid_unexpected_object.yaml +++ /dev/null @@ -1 +0,0 @@ -- foo: bar