[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 01/22] docker: Run tests with current user
From: |
Fam Zheng |
Subject: |
[Qemu-devel] [PULL 01/22] docker: Run tests with current user |
Date: |
Fri, 26 May 2017 15:52:25 +0800 |
We've used --add-current-user to create a user in the image, use it to
run tests, because root has too much priviledge, and can surprise test
cases.
Signed-off-by: Fam Zheng <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>
Signed-off-by: Fam Zheng <address@hidden>
---
tests/docker/Makefile.include | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include
index 03eda37..0ed8c3d 100644
--- a/tests/docker/Makefile.include
+++ b/tests/docker/Makefile.include
@@ -126,7 +126,7 @@ docker-run: docker-qemu-src
" COPYING $(EXECUTABLE) to $(IMAGE)"))
$(call quiet-command, \
$(SRC_PATH)/tests/docker/docker.py run \
- -t \
+ $(if $(NOUSER),,-u $(shell id -u)) -t \
$(if $V,,--rm) \
$(if $(DEBUG),-i,--net=none) \
-e TARGET_LIST=$(TARGET_LIST) \
--
2.9.4
- [Qemu-devel] [PULL 00/22] Docker and block patches, Fam Zheng, 2017/05/26
- [Qemu-devel] [PULL 02/22] docker: Add bzip2 and hostname to fedora image, Fam Zheng, 2017/05/26
- [Qemu-devel] [PULL 03/22] docker: Add libaio to fedora image, Fam Zheng, 2017/05/26
- [Qemu-devel] [PULL 01/22] docker: Run tests with current user,
Fam Zheng <=
- [Qemu-devel] [PULL 04/22] docker: Add flex and bison to centos6 image, Fam Zheng, 2017/05/26
- [Qemu-devel] [PULL 05/22] block: access copy_on_read with atomic ops, Fam Zheng, 2017/05/26
- [Qemu-devel] [PULL 06/22] block: access quiesce_counter with atomic ops, Fam Zheng, 2017/05/26
- [Qemu-devel] [PULL 08/22] block: access serialising_in_flight with atomic ops, Fam Zheng, 2017/05/26
- [Qemu-devel] [PULL 07/22] block: access io_limits_disabled with atomic ops, Fam Zheng, 2017/05/26
- [Qemu-devel] [PULL 09/22] block: access wakeup with atomic ops, Fam Zheng, 2017/05/26
- [Qemu-devel] [PULL 10/22] block: access io_plugged with atomic ops, Fam Zheng, 2017/05/26
- [Qemu-devel] [PULL 11/22] throttle-groups: only start one coroutine from drained_begin, Fam Zheng, 2017/05/26
- [Qemu-devel] [PULL 12/22] throttle-groups: do not use qemu_co_enter_next, Fam Zheng, 2017/05/26
- [Qemu-devel] [PULL 13/22] throttle-groups: protect throttled requests with a CoMutex, Fam Zheng, 2017/05/26