diff options
author | SZEDER Gábor <szeder.dev@gmail.com> | 2018-01-29 18:17:13 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-01-30 13:27:19 -0800 |
commit | 6b995760dc463d050791d3815c20e4cb78ce4c2c (patch) | |
tree | 4635d84df058537ed5daa972a48ddc7740cdc2a6 /t/t6030-bisect-porcelain.sh | |
parent | travis-ci: don't run the test suite as root in the 32 bit Linux build (diff) | |
download | tgif-6b995760dc463d050791d3815c20e4cb78ce4c2c.tar.xz |
travis-ci: don't fail if user already exists on 32 bit Linux build job
The 32 bit Linux build job runs in a Docker container, which lends
itself to running and debugging locally, too. Especially during
debugging one usually doesn't want to start with a fresh container
every time, to save time spent on installing a bunch of dependencies.
However, that doesn't work quite smootly, because the script running
in the container always creates a new user, which then must be removed
every time before subsequent executions, or the build script fails.
Make this process more convenient and don't try to create that user if
it already exists and has the right user ID in the container, so
developers don't have to bother with running a 'userdel' each time
before they run the build script.
The build job on Travis CI always starts with a fresh Docker
container, so this change doesn't make a difference there.
Signed-off-by: SZEDER Gábor <szeder.dev@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t6030-bisect-porcelain.sh')
0 files changed, 0 insertions, 0 deletions