summaryrefslogtreecommitdiff
path: root/lib/tests
diff options
context:
space:
mode:
authorJoel Granados <joel.granados@kernel.org>2025-01-22 11:33:49 +0100
committerPetr Pavlu <petr.pavlu@suse.com>2025-03-10 11:54:13 +0100
commitaa0fdccda4076c81d07a0c0b05602ee2aa17a2be (patch)
treead4a610265d8139d633d2de0329e54495e647f13 /lib/tests
parent80e54e84911a923c40d7bee33a34c1b4be148d7a (diff)
tests/module: nix-ify
Use "#!/usr/bin/env bash" instead of "#!/bin/bash". This is necessary for nix environments as they only provide /usr/bin/env at the standard location. Signed-off-by: Joel Granados <joel.granados@kernel.org> Acked-by: Luis Chamberlain <mcgrof@kernel.org> Link: https://lore.kernel.org/r/20250122-jag-nix-ify-v1-1-addb3170f93c@kernel.org Signed-off-by: Petr Pavlu <petr.pavlu@suse.com>
Diffstat (limited to 'lib/tests')
-rwxr-xr-xlib/tests/module/gen_test_kallsyms.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tests/module/gen_test_kallsyms.sh b/lib/tests/module/gen_test_kallsyms.sh
index 561dcac0f359..31fe4ed63de8 100755
--- a/lib/tests/module/gen_test_kallsyms.sh
+++ b/lib/tests/module/gen_test_kallsyms.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
TARGET=$(basename $1)
DIR=lib/tests/module