From: Robin H. Johnson Date: Sun, 14 Jun 2015 22:20:17 +0000 (-0700) Subject: fuzz: Write fuzzer rules for WebsiteConfiguration. X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=8fb887cbab43240176281dff3fa02b355d63bd46;p=s3-tests.git fuzz: Write fuzzer rules for WebsiteConfiguration. Signed-off-by: Robin H. Johnson --- diff --git a/request_decision_graph.yml b/request_decision_graph.yml index 8e7ab0c9..9c1b12c0 100644 --- a/request_decision_graph.yml +++ b/request_decision_graph.yml @@ -269,14 +269,74 @@ bucket_put_simple: - '2 {garbage}' website_body: - null - - '{suffix}{error_doc}' - suffix: + - '{index_doc}{error_doc}{routing_rules}' + - '{index_doc}{error_doc}{routing_rules}' + index_doc: + - null + - '{filename}' + - '{filename}' + filename: - null - '2 {garbage}' - '{random 2-10 printable}.html' + - '{random 100-1000 printable}.html' + - '{random 100-1000 printable_no_whitespace}.html' error_doc: - null - - '{suffix}' + - '{filename}' + - '{filename}' + routing_rules: + - null + - ['0-10', '{routing_rules_content}'] + routing_rules_content: + - null + - ['0-1000', '{routing_rule}'] + routing_rule: + - null + - ['0-2', '{routing_rule_condition}{routing_rule_redirect}'] + routing_rule_condition: + - null + - ['0-10', '{KeyPrefixEquals}{HttpErrorCodeReturnedEquals}'] + KeyPrefixEquals: + - null + - ['0-2', '{filename}'] + HttpErrorCodeReturnedEquals: + - null + - ['0-2', '{HttpErrorCode}'] + HttpErrorCode: + - null + - '2 {garbage}' + - '{random 1-10 digits}' + - '{random 1-100 printable}' + routing_rule_redirect: + - null + - '{protocol}{hostname}{ReplaceKeyPrefixWith}{ReplaceKeyWith}{HttpRedirectCode}' + protocol: + - null + - 'http' + - 'https' + - ['1-5', '{garbage}'] + - ['1-5', '{filename}'] + hostname: + - null + - ['1-5', '{hostname_val}'] + - ['1-5', '{garbage}'] + hostname_val: + - null + - '{random 1-255 printable_no_whitespace}' + - '{random 1-255 printable}' + - '{random 1-255 punctuation}' + - '{random 1-255 whitespace}' + - '{garbage}' + ReplaceKeyPrefixWith: + - null + - ['1-5', '{filename}'] + HttpRedirectCode: + - null + - ['1-5', '{random 1-10 digits}'] + - ['1-5', '{random 1-100 printable}'] + - ['1-5', '{filename}'] + choices: [] object: