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

View File

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