Unix: Don't assume tests are running from Limnoria's source root.

This commit is contained in:
Valentin Lorentz 2017-05-04 21:53:08 +02:00
parent 060e1506d8
commit 1615b3b55f
1 changed files with 2 additions and 2 deletions

View File

@ -156,8 +156,8 @@ if os.name == 'posix':
self.assertError('unix ping6 --W a --c 1 ::1')
def testCall(self):
self.assertNotError('unix call /bin/ls .')
self.assertRegexp('unix call /bin/ls .', 'src,')
self.assertNotError('unix call /bin/ls /')
self.assertRegexp('unix call /bin/ls /', 'boot, .*dev, ')
self.assertError('unix call /usr/bin/nosuchcommandaoeuaoeu')
def testUptime(self):