We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a5925c commit 6de5189Copy full SHA for 6de5189
tests/test_glibc_hook.bats
@@ -98,14 +98,14 @@ helper_run_hooked_podman(){
98
missing=()
99
for t in "${expected_entries[@]}"; do
100
if [[ "$hooklog" == *"$t"* ]]; then
101
- ((matched++))
+ count_injections=$((count_injections+1))
102
else
103
missing+=("$t")
104
fi
105
done
106
107
[[ $count_injections -ge 10 ]] || {
108
- echo "Missing too many references in hook log ($matched/${#expected_entries[@]})"
+ echo "Missing too many references in hook log ($count_injections/${#expected_entries[@]})"
109
printf 'Missing tokens: %s\n' "${missing[@]}"
110
echo "Log path: $HOOK_OUT"
111
false
0 commit comments