[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [spec/master] Make the annotations be an actual dict and other misc fixes



commit 12a3670d8e579984d9cdafb0c21c62c603c41d37
Author: Arturo Filastò <art@xxxxxxxxx>
Date:   Wed Aug 13 16:57:29 2014 +0200

    Make the annotations be an actual dict and other misc fixes
---
 test-decks/td-spec.md |    9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/test-decks/td-spec.md b/test-decks/td-spec.md
index c1ad49c..5e65f3d 100644
--- a/test-decks/td-spec.md
+++ b/test-decks/td-spec.md
@@ -33,7 +33,7 @@
 
  Every deck is a yaml file composed of two major sections: the header and the body.
  
- The header is a dictionary that provides all the shared and global configuration of every nettest included in the deck. It's main purpose is to reduce boilerplate by letting the analyst express common behaviour in one section instead that in every nettest execution. The ooni-probe options allowed in this section are:
+ The header is a dictionary that provides all the shared and global configuration of every nettest included in the deck. Its main purpose is to reduce boilerplate by letting the analyst express common behaviour in one section instead of in every nettest execution. The ooni-probe options allowed in this section are:
  
   1. collector: Address of the collector of test results.
   2. bouncer: Address of the bouncer for test helpers.
@@ -45,16 +45,17 @@
   
     header:
       collector: 'http://localhost'
-      annotations: 'key1:val1, key2:val2'
+      annotations: 
+        key1: value1
+        key2: value2
       flags: 
         - no-collector
   
- The body is a list composed of one element per nettest execution. Every nettest execution is a dictionary composed of the following four keys:
+ The body is a list composed of one element per nettest execution. Every nettest execution is a dictionary composed of the following three keys:
  
  1. nettest: name of the nettest to execute (MANDATORY)
  2. local_options: local_options of the test execution (OPTIONAL)
  3. global_options: global options of the test execution (OPTIONAL)
- 4. input_file: the input file of the net test (OPTIONAL)
  
  In the same way that with the header, every option can be a member of a flag list if that options doesn't have any arguments. A valid body can be:
 



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits