Fix test to use bash for multiple commands

This commit is contained in:
Peter Parente
2017-12-29 19:37:07 -05:00
parent c560907ea3
commit fb01654930

View File

@@ -40,7 +40,7 @@ def test_uid_change(container):
tty=True, tty=True,
user='root', user='root',
environment=['NB_UID=1010'], environment=['NB_UID=1010'],
command=['start.sh', 'id && touch /opt/conda/test-file'] command=['start.sh', 'bash', '-c', 'id && touch /opt/conda/test-file']
) )
# usermod is slow so give it some time # usermod is slow so give it some time
c.wait(timeout=120) c.wait(timeout=120)