X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=test%2Fresources%2Flinux%2Fnode.py;h=0c3f86c1308afd0b9d05f5b3b6652827487709fc;hb=4c5d308e0d13c0dc4b54556f149bc2a9cd585592;hp=259f57830eedb2fffb9cca9be718b80ef9755ec9;hpb=78a5f5ae901920e205fb257e889a3b9b3659b44e;p=nepi.git diff --git a/test/resources/linux/node.py b/test/resources/linux/node.py index 259f5783..0c3f86c1 100755 --- a/test/resources/linux/node.py +++ b/test/resources/linux/node.py @@ -153,11 +153,13 @@ class LinuxNodeTestCase(unittest.TestCase): # get the pid of the process ecode = node.exitcode(app_home) + # bash erro 127 - command not found self.assertEquals(ecode, 127) (out, err), proc = node.check_errors(app_home) - self.assertNotEquals(out, "") + + self.assertEquals(err.strip(), "./cmd.sh: line 1: unexistent-command: command not found") @skipIfNotAlive def t_install(self, host, user):