diff mbox series

selftests/vm: depend on bash in shebang

Message ID 20220314221343.30368-1-dmueller@suse.de
State New
Headers show
Series selftests/vm: depend on bash in shebang | expand

Commit Message

Dirk Müller March 14, 2022, 10:13 p.m. UTC
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.

Signed-off-by: Dirk Müller <dmueller@suse.de>
---
 tools/testing/selftests/vm/charge_reserved_hugetlb.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/tools/testing/selftests/vm/charge_reserved_hugetlb.sh b/tools/testing/selftests/vm/charge_reserved_hugetlb.sh
index a5cb4b09a46c..751d20a2eea8 100644
--- a/tools/testing/selftests/vm/charge_reserved_hugetlb.sh
+++ b/tools/testing/selftests/vm/charge_reserved_hugetlb.sh
@@ -1,4 +1,4 @@ 
-#!/bin/sh
+#!/bin/bash
 # SPDX-License-Identifier: GPL-2.0
 
 # Kselftest framework requirement - SKIP code is 4.