summaryrefslogtreecommitdiff
path: root/lib/fileset/tests.sh
diff options
context:
space:
mode:
authorSilvan Mosberger <silvan.mosberger@tweag.io>2023-09-15 00:09:34 +0200
committerSilvan Mosberger <silvan.mosberger@tweag.io>2023-09-21 00:21:01 +0200
commit45bf2c7617afd7ac794fb56519301e1ee3324c08 (patch)
treec6ecd383f5cb84e6377acbb8f91ed985405fcd6f /lib/fileset/tests.sh
parentlib.fileset: Use a nix-shell shebang for benchmark.sh (diff)
downloadnixpkgs-45bf2c7617afd7ac794fb56519301e1ee3324c08.tar.gz
lib.fileset: Ignore irrelevant shellcheck warnings
Diffstat (limited to 'lib/fileset/tests.sh')
-rwxr-xr-xlib/fileset/tests.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/fileset/tests.sh b/lib/fileset/tests.sh
index 1a8f1372ebfa..ce936a9b0226 100755
--- a/lib/fileset/tests.sh
+++ b/lib/fileset/tests.sh
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
+# shellcheck disable=SC2016
# Tests lib.fileset
# Run:
@@ -178,6 +179,7 @@ checkFileset() (
}
# This will trigger when this subshell exits, no matter if successful or not
# After exiting the subshell, the parent shell will continue executing
+ # shellcheck disable=SC2154
trap 'kill "${watcher_PID}"' exit
# Synchronously wait until inotifywait is ready