criu/scripts/ci/asan.sh
Kir Kolyshkin 9d2948b239 scripts/ci/asan.sh: fix, not ignore, shellcheck warning
We can use globstar bash feature instead of find in this case.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2023-04-15 21:17:21 -07:00

22 lines
406 B
Bash
Executable file

#!/bin/bash
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=$?
shopt -s globstar nullglob
for i in /**/asan.log*; do
echo "$i"
echo ========================================
cat "$i"
echo ========================================
ret=1
done
exit $ret