Skip to contentSkip to conversation

selftests/vm: depend on bash in shebang

PATCH New Dirk Müller 1 participant 1 message Mar 14, 2022 Kselftest

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 selftests/vm: depend on bash in shebang

This script uses bash specific syntax. make it more specific by declaring it to be used via bash rather than /bin/sh which could be non-bash.

---
 tools/testing/selftests/vm/charge_reserved_hugetlb.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/selftests/vm/charge_reserved_hugetlb.sh +1 -1
index a5cb4b09a46c..751d20a2eea8 100644
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 # SPDX-License-Identifier: GPL-2.0
 
 # Kselftest framework requirement - SKIP code is 4.
Signature · 1 line
2.35.1