criu/scripts/travis/asan.sh
Andrei Vagin 70ac7a10cd travis: run tests with asan
v2: Use the devicemapper storage driver for docker containers to
run more tests. AUFS doesn't support file handles, so a few tests
(e.g. inotify00 can't be run).

Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
2017-04-11 09:00:49 +03:00

21 lines
385 B
Bash
Executable file

#!/bin/sh
set -x
cat /proc/self/mountinfo
chmod 0777 test
chmod 0777 test/zdtm/transition/
chmod 0777 test/zdtm/static
./test/zdtm.py run -a --keep-going -k always --parallel 4 -x zdtm/static/rtc
ret=$?
for i in `find / -name 'asan.log*'`; do
echo $i;
echo ========================================
cat $i;
echo ========================================
ret=1;
done;
exit $ret