Commit 5dc2e922 authored by Andrei Vagin's avatar Andrei Vagin

travis: mount tmpfs into /run for docker containers

Otherwise we will see warnings like these ones:
Warn  (criu/kerndat.c:805): Can't load /run/criu.kdat
Warn  (criu/net.c:2726): Unable to get a socket network namespace
Warn  (criu/kerndat.c:844): Can't keep kdat cache on non-tempfs
Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
parent f54acb48
...@@ -20,7 +20,7 @@ $(TARGETS): ...@@ -20,7 +20,7 @@ $(TARGETS):
echo 'DOCKER_OPTS="--storage-driver=devicemapper"' > /etc/default/docker echo 'DOCKER_OPTS="--storage-driver=devicemapper"' > /etc/default/docker
restart docker restart docker
$(MAKE) -C ../build $@$(target-suffix) $(MAKE) -C ../build $@$(target-suffix)
docker run --rm -it --privileged -v /lib/modules:/lib/modules criu-$@ ./scripts/travis/asan.sh $(ZDTM_OPTIONS) docker run --rm -it --privileged -v /lib/modules:/lib/modules --tmpfs /run criu-$@ ./scripts/travis/asan.sh $(ZDTM_OPTIONS)
docker-test: docker-test:
./docker-test.sh ./docker-test.sh
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment