rust-regressions.sh: get package name from log, to work better with standalone files
Ximin Luo
3 years ago
14 | 14 | classify() { |
15 | 15 | local c=0 |
16 | 16 | local url="$1" |
17 | local name="${url#ci.debian.net/data/autopkgtest/testing/*/r/}" | |
18 | name="${name%%/*}" | |
17 | local name="$(zegrep -o 'autopkgtest \[[0-9:]+\]: testing package [^[:space:]]+' "$url" | cut '-d ' -f5)" | |
19 | 18 | if zegrep -q '^error\[E0554\]' "$url"; then |
20 | 19 | results["falsepositive_unstable"]+="$name"$'\n' |
21 | 20 | c=$((c+1)) |