test: silence SC2329 for trap-invoked cleanup() in TEST-17-UDEV.sanity-check
cleanup() is only called via 'trap cleanup EXIT', which newer shellcheck versions report as SC2329 rather than SC2317. Disable both, like the other test scripts do. (cherry picked from commit e42ad4c3b60b9bedf59f03901c88062b67a8829d)
This commit is contained in:
committed by
Luca Boccassi
parent
686bf67609
commit
7a45af6e89
@@ -8,7 +8,7 @@ set -o pipefail
|
||||
|
||||
# Coverage test for udevadm
|
||||
|
||||
# shellcheck disable=SC2317
|
||||
# shellcheck disable=SC2317,SC2329
|
||||
cleanup() {
|
||||
set +e
|
||||
|
||||
|
||||
Reference in New Issue
Block a user