mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 11:09:23 +01:00
Unix: Don't assume tests are running from Limnoria's source root.
This commit is contained in:
parent
060e1506d8
commit
1615b3b55f
@ -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):
|
||||||
|
Loading…
Reference in New Issue
Block a user