Modified error output for 'ls' command to cope with different test environments

This commit is contained in:
Douglas Gibbons
2017-03-26 22:52:51 -07:00
parent 4fd1b45cff
commit 13745289ba

View File

@ -160,7 +160,7 @@ class TestWaitForIt(unittest.TestCase):
self.check_args( self.check_args(
"localhost:8929 -- ls not_real_file", "localhost:8929 -- ls not_real_file",
"", "",
".*ls: cannot access 'not_real_file': No such file or directory\n", ".*No such file or directory\n",
2 2
) )
soc.close() soc.close()