Changes: Misc. fixes to test scripts

pull/1/head
Oskari Timperi 15 years ago
parent de45230d72
commit acb19d9c65

@ -65,7 +65,7 @@ class SecurityTests(unittest.TestCase):
req_creds.sort()
self.assert_(creds == req_creds,
"fala_ft_hello has differnt creds set!")
"fala_ft_hello has different creds set!")
def test_003_invoker_creds(self):
"""

@ -173,10 +173,10 @@ def launch_and_get_creds(path):
"""
# try launch the specified application
handle = run_app_with_launcher(path)
handle = run_app_as_user(path)
# sleep for a moment to allow applauncherd to start the process
time.sleep(5)
time.sleep(3)
# with luck, the process should have correct name by now
pid = get_pid(path)
@ -187,8 +187,6 @@ def launch_and_get_creds(path):
print "couldn't launch %s" % basename(path)
return None
#self.assert_(pid != None, "Couldn't launch %s" % basename(path))
creds = get_creds(pid = pid)
kill_process(path)

Loading…
Cancel
Save