]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
tests: allow multiple users of docker-tests.sh
authorLoic Dachary <ldachary@redhat.com>
Tue, 7 Apr 2015 14:07:40 +0000 (16:07 +0200)
committerLoic Dachary <ldachary@redhat.com>
Tue, 7 Apr 2015 14:07:40 +0000 (16:07 +0200)
commitdef9862be3acedfe465c6acdc284c4984aa23a2c
treea7050887edcd2e58e367d53f755242d0dc1816bf
parent1c381b3ca8a6575099c0f4711eacf1b3850e4b85
tests: allow multiple users of docker-tests.sh

The docker image created by docker-tests.sh for a given operating system
is parameterized with the user name. If two users on the same machine
try to use the same image, they will compete and fail with an error
like:

... user get supplementary groups Unable to find user ...

Add the $USER to the image name to reflect the fact that they contain an
account for this user.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
src/test/docker-test-helper.sh