Remove bashisms from tests.
authorVladimir Serbinenko <phcoder@gmail.com>
Mon, 23 Jan 2017 00:47:13 +0000 (03:47 +0300)
committerVladimir Serbinenko <phcoder@gmail.com>
Wed, 3 May 2017 10:10:36 +0000 (12:10 +0200)
Those tests don't actually need bash. Just use common shebang.

tests/grub_cmd_date.in
tests/grub_cmd_regexp.in
tests/grub_cmd_set_date.in
tests/grub_cmd_sleep.in
tests/grub_cmd_test.in
tests/grub_cmd_tr.in
tests/grub_func_test.in
tests/grub_script_blockarg.in
tests/grub_script_expansion.in
tests/help_test.in
tests/test_sha512sum.in

index a459353..0d8162e 100644 (file)
@@ -1,4 +1,4 @@
-#! /bin/bash
+#! /bin/sh
 set -e
 
 . "@builddir@/grub-core/modinfo.sh"
index e7e6257..7e9ab86 100644 (file)
@@ -1,4 +1,4 @@
-#! /bin/bash
+#! /bin/sh
 set -e
 
 # Run GRUB script in a Qemu instance
index c594ae3..2f518dd 100644 (file)
@@ -1,4 +1,4 @@
-#! /bin/bash
+#! /bin/sh
 set -e
 
 . "@builddir@/grub-core/modinfo.sh"
index eb362aa..05b8f6b 100644 (file)
@@ -1,4 +1,4 @@
-#! /bin/bash
+#! /bin/sh
 set -e
 
 . "@builddir@/grub-core/modinfo.sh"
index 6269891..49ae8a9 100644 (file)
@@ -1,4 +1,4 @@
-#! /bin/bash
+#! /bin/sh
 
 # create a randome file
 empty="`mktemp "${TMPDIR:-/tmp}/tmp.XXXXXXXXXX"`" || exit 1
index 3fb15e3..0e8d645 100644 (file)
@@ -1,4 +1,4 @@
-#! /bin/bash -e
+#! /bin/sh -e
 
 # Run GRUB script in a Qemu instance
 # Copyright (C) 2010  Free Software Foundation, Inc.
index c8cc263..b32f244 100644 (file)
@@ -1,4 +1,4 @@
-#! /bin/bash
+#! /bin/sh
 set -e
 
 . "@builddir@/grub-core/modinfo.sh"
index 2765b61..63b60a2 100644 (file)
@@ -1,4 +1,4 @@
-#! /bin/bash
+#! /bin/sh
 
 # Run GRUB script in a Qemu instance
 # Copyright (C) 2010  Free Software Foundation, Inc.
index e46401c..2b78295 100644 (file)
@@ -1,4 +1,4 @@
-#! /bin/bash
+#! /bin/sh
 set -e
 
 # Run GRUB script in a Qemu instance
index e780924..aa96458 100644 (file)
@@ -1,4 +1,4 @@
-#! /bin/bash
+#! /bin/sh
 set -e
 
 . "@builddir@/grub-core/modinfo.sh"
index d5ef7f9..80ebdc5 100644 (file)
@@ -1,4 +1,4 @@
-#! /bin/bash
+#! /bin/sh
 
 # create a randome file
 file="`mktemp "${TMPDIR:-/tmp}/tmp.XXXXXXXXXX"`" || exit 1