mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-18 17:14:28 +00:00
We can use globstar bash feature instead of find in this case. Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
22 lines
406 B
Bash
Executable file
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
|