mirror of
https://github.com/checkpoint-restore/criu
synced 2025-09-01 06:45:35 +00:00
travis: set umask before a first criu run
so that .gcda (coverage data) files are created with read-write permissions for all, otherwise uns tests will not be able to modify these files and code coverage data will not be collected for them. Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
This commit is contained in:
@@ -56,12 +56,14 @@ time make CC="$CC" -j4 -C test/zdtm
|
|||||||
|
|
||||||
[ -f "$CCACHE_LOGFILE" ] && cat $CCACHE_LOGFILE
|
[ -f "$CCACHE_LOGFILE" ] && cat $CCACHE_LOGFILE
|
||||||
|
|
||||||
|
# umask has to be called before a first criu run, so that .gcda (coverage data)
|
||||||
|
# files are created with read-write permissions for all.
|
||||||
|
umask 0000
|
||||||
./criu/criu check
|
./criu/criu check
|
||||||
./criu/criu check --all || echo $?
|
./criu/criu check --all || echo $?
|
||||||
./criu/criu cpuinfo dump
|
./criu/criu cpuinfo dump
|
||||||
./criu/criu cpuinfo check
|
./criu/criu cpuinfo check
|
||||||
|
|
||||||
umask 0000
|
|
||||||
export SKIP_PREP=1
|
export SKIP_PREP=1
|
||||||
# The 3.19 kernel (from Ubuntu 14.04) has a bug. When /proc/PID/pagemap
|
# The 3.19 kernel (from Ubuntu 14.04) has a bug. When /proc/PID/pagemap
|
||||||
# is read for a few VMAs in one read call, incorrect data is returned.
|
# is read for a few VMAs in one read call, incorrect data is returned.
|
||||||
|
Reference in New Issue
Block a user