Created
May 5, 2015 06:40
-
-
Save kacf/0e0abe107a8b63061394 to your computer and use it in GitHub Desktop.
Fail cases for https://github.com/cfengine/core/pull/2162
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/tests/acceptance/01_vars/02_functions/readdata.cf b/tests/acceptance/01_vars/02_functions/readdata.cf | |
index ad886ee..406aecd 100644 | |
--- a/tests/acceptance/01_vars/02_functions/readdata.cf | |
+++ b/tests/acceptance/01_vars/02_functions/readdata.cf | |
@@ -24,6 +24,14 @@ bundle agent test | |
"extension_yaml" data => readdata("$(this.promise_filename).yaml", "auto"); | |
"extension_json" data => readdata("$(this.promise_filename).json", "auto"); | |
+ "failed_explicit_csv" data => readdata("$(this.promise_filename)", "CSV"); | |
+ "failed_explicit_yaml" data => readdata("$(this.promise_filename)", "YAML"); | |
+ "failed_explicit_json" data => readdata("$(this.promise_filename)", "JSON"); | |
+ | |
+ "failed_guess_csv" data => readdata("$(this.promise_filename)", "auto"); | |
+ "failed_guess_yaml" data => readdata("$(this.promise_filename)", "auto"); | |
+ "failed_guess_json" data => readdata("$(this.promise_filename)", "auto"); | |
+ | |
"guess_csv" data => readdata("$(this.promise_filename).csv.guess", "auto"); # should be empty (JSON is attempted) | |
"guess_yaml" data => readdata("$(this.promise_filename).yaml.guess", "auto"); # should be empty (JSON is attempted) | |
"guess_json" data => readdata("$(this.promise_filename).json.guess", "auto"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment