Changes: print help from single-instance binary starting single-instance without parameters +2 lines

RevBy: Trust me
pull/1/head
Joona Hakkarainen 14 years ago
parent 4fec135137
commit 05ea0f6aae

@ -27,6 +27,10 @@
<step expected_result="0">source /tmp/session_bus_address.user; DISPLAY=:0 `pyversions -d` /usr/share/applauncherd-testscripts/test-invoker.py test_invoker_usage_printing</step>
</case>
<case name="applauncherd__test_invoker_help_printing" type="Functional" description="Test that applauncherd invoker ,help usage printing ok" timeout="360" level="System" insignificant="false">
<step expected_result="0">source /tmp/session_bus_address.user; DISPLAY=:0 `pyversions -d` /usr/share/applauncherd-testscripts/test-invoker.py test_invoker_help_printing</step>
</case>
<case name="applauncherd__test_invoker_search_prog" type="Functional" description="Test that invoker finds binaries from PATH" timeout="360" level="System" insignificant="false">
<step expected_result="0">source /tmp/session_bus_address.user; DISPLAY=:0 `pyversions -d` /usr/share/applauncherd-testscripts/test-invoker.py test_invoker_search_prog</step>
</case>

@ -403,6 +403,14 @@ class InvokerTests(unittest.TestCase):
p = run_cmd_as_user('invoker --help')
self.assert_(p.wait() == 0, "'invoker --help' failed")
def test_invoker_help_printing(self):
"""
Test that applauncherd invoker usage printing ok
"""
p = run_cmd_as_user('invoker')
self.assert_(p.wait() == 1, "'invoker' failed")
def test_app_link(self):
"""
Test that symlink of an application can be launched.

Loading…
Cancel
Save