mirror of https://github.com/cowrie/cowrie.git
add failing test case
This commit is contained in:
parent
0ab11d1e71
commit
0af419bbb1
|
@ -157,5 +157,12 @@ class ShellEchoCommandTests(unittest.TestCase):
|
|||
self.proto.lineReceived(b'echo $(echo test)')
|
||||
self.assertEquals(self.tr.value(), b'test\n' + PROMPT)
|
||||
|
||||
def test_echo_command_019(self):
|
||||
"""
|
||||
(echo test)
|
||||
"""
|
||||
self.proto.lineReceived(b'(echo test)')
|
||||
self.assertEquals(self.tr.value(), b'test\n' + PROMPT)
|
||||
|
||||
def tearDown(self):
|
||||
self.proto.connectionLost("tearDown From Unit Test")
|
||||
|
|
Loading…
Reference in New Issue