Test UID validity

This commit is contained in:
Joffrey F 2015-08-31 18:35:32 -07:00
parent add9786955
commit 1e916a1e83
1 changed files with 4 additions and 1 deletions

View File

@ -1626,4 +1626,7 @@ class TestRegressions(BaseTestCase):
self.client.stop(ctnr)
def test_715(self):
self.client.create_container('busybox', 'true', user=1000)
ctnr = self.client.create_container('busybox', ['id', '-u'], user=1000)
self.client.start(ctnr)
self.client.wait(ctnr)
assert self.client.logs(ctnr) == '1000\n'