[tor-commits] [spec/master] Add details about how file paths should be handled.

art at torproject.org art at torproject.org
Wed Aug 13 16:24:10 UTC 2014


commit f1a15581bd69f7da21e41c1a0ad451849e88e472
Author: Arturo Filastò <art at fuffa.org>
Date:   Wed Aug 13 18:23:54 2014 +0200

    Add details about how file paths should be handled.
---
 test-decks/td-spec.md |    8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/test-decks/td-spec.md b/test-decks/td-spec.md
index 66c6ff4..bec5e9e 100644
--- a/test-decks/td-spec.md
+++ b/test-decks/td-spec.md
@@ -112,6 +112,14 @@ body:
     - nettest: manipulation/captiveportal
 ```
 
+All file paths must be relative and they must start with "deck/" if they are
+referring to files contained inside of the test deck. They must start with
+"http(o|s)://" if they are referring to files to be downloaded via Tor.
+
+All other file paths should be ignored and raise an exception. This is because
+we do not want an analyst creating a deck to be pass as arguments to a test
+arbitrary files on the testers filesystem.
+
 # 3. Implementation details
 
 ## 3.1 Introduction



More information about the tor-commits mailing list