diff options
author | bnewbold <bnewbold@robocracy.org> | 2012-07-12 20:29:54 -0400 |
---|---|---|
committer | bnewbold <bnewbold@robocracy.org> | 2012-07-12 20:29:54 -0400 |
commit | fb64c52bf4a34a09067428acc28483bc06a69726 (patch) | |
tree | 53abd7d0561f5204588e0e0a4d7536abf178f1e6 /test_exmachina.py | |
parent | 82da70ad92f82dc2bedf26cbbd057a758e94960e (diff) | |
download | exmachina-fb64c52bf4a34a09067428acc28483bc06a69726.tar.gz exmachina-fb64c52bf4a34a09067428acc28483bc06a69726.zip |
improve test docs
Diffstat (limited to 'test_exmachina.py')
-rwxr-xr-x | test_exmachina.py | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/test_exmachina.py b/test_exmachina.py index 6c2a97d..86c71bf 100755 --- a/test_exmachina.py +++ b/test_exmachina.py @@ -1,10 +1,22 @@ #!/usr/bin/env python """ -To use with secret keys, do: +This file tests the "client side" of the exmachina layer. +To use with secret keys, do the following in seperate terminals: + + $ echo "<key>" | ./exmachina.py -vk $ echo "<key>" | ./test.py -k +To use without, do the following in seperate terminals: + + $ echo "<key>" | ./exmachina.py -vk + $ echo "<key>" | ./test.py -k + +Use the init_test.sh script to test shared key passing and privilage seperation +at the same time: + + $ sudo ./init_test.sh """ import sys |