summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoffrey F <joffrey@docker.com>2015-08-31 18:35:32 -0700
committerJoffrey F <joffrey@docker.com>2015-08-31 18:35:32 -0700
commit1e916a1e83af49bc8d2fd5026ca9746129d1cebc (patch)
tree526779919572745d63b3926249be17a52a81eb3c
parentadd97869554e7c84724988c12a46604586a4d7ad (diff)
downloaddocker-py-715-user-int-uid.tar.gz
Test UID validity715-user-int-uid
-rw-r--r--tests/integration_test.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/integration_test.py b/tests/integration_test.py
index db4d131..4fb2b8f 100644
--- a/tests/integration_test.py
+++ b/tests/integration_test.py
@@ -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'