diff --git a/nixos/modules/system/activation/lib/test.sh b/nixos/modules/system/activation/lib/test.sh index 9b146383ad4b..1f38eddfc231 100755 --- a/nixos/modules/system/activation/lib/test.sh +++ b/nixos/modules/system/activation/lib/test.sh @@ -26,6 +26,7 @@ onerr() { } trap onerr ERR +# shellcheck source-path=SCRIPTDIR source ./lib.sh (warn hi, this works >/dev/null) 2>&1 | grep -E $'.*warning:.* hi, this works' >/dev/null