git://git.onelab.eu
/
nepi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed nasty concurrency bug in EC
[nepi.git]
/
test
/
resources
/
linux
/
node.py
diff --git
a/test/resources/linux/node.py
b/test/resources/linux/node.py
index
259f578
..
0c3f86c
100755
(executable)
--- 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)
# 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)
# 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):
@skipIfNotAlive
def t_install(self, host, user):