changeset 173:a8fe4ddab1ee

add `mozmill --help` sanity check
author Jeff Hammel <jhammel@mozilla.com>
date Mon, 31 Jan 2011 21:21:15 -0800
parents b96f1e121451
children a58270483c1e
files autobot/projects/mozmill/__init__.py
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/autobot/projects/mozmill/__init__.py	Mon Jan 31 18:31:06 2011 -0800
+++ b/autobot/projects/mozmill/__init__.py	Mon Jan 31 21:21:15 2011 -0800
@@ -20,8 +20,10 @@
                               ))
 
     # ensure mozmill works at all
-    # [TODO] mozmill --help
-
+    self.findScript('mozmill')
+    self.addStep(ShellCommand(command=[WithProperties('%(mozmill)s', '--help')],
+                              description='mozmill --help'))
+    
     # get firefox
     # [TODO]