Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/checkpoint-restore/criu.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKir Kolyshkin <kolyshkin@gmail.com>2022-04-13 02:07:56 +0300
committerAndrei Vagin <avagin@gmail.com>2022-08-31 01:42:25 +0300
commit527a4ce97f6348035fc62faff9ade018f0e83db8 (patch)
tree89dcf126fa609f3e81a626514ae319d7a57fc3b5
parent01e643a7778138c709f29391f91c16e8f95ba681 (diff)
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>
-rwxr-xr-xscripts/ci/asan.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/scripts/ci/asan.sh b/scripts/ci/asan.sh
index 8113b9b19..deeeca0b9 100755
--- a/scripts/ci/asan.sh
+++ b/scripts/ci/asan.sh
@@ -1,7 +1,5 @@
#!/bin/bash
-# shellcheck disable=2044
-
set -x
cat /proc/self/mountinfo
@@ -13,7 +11,8 @@ 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
+shopt -s globstar nullglob
+for i in /**/asan.log*; do
echo "$i"
echo ========================================
cat "$i"