]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
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 a459353e8a51c22fb966a842af532cff904de2a3..0d8162e98b046f7212e2cac921e9e59049349b40 100644 (file)
@@ -1,4 +1,4 @@
-#! /bin/bash
+#! /bin/sh
 set -e
 
 . "@builddir@/grub-core/modinfo.sh"
index e7e6257011525ee42ca6945485208155fe717d24..7e9ab86aabb2aea71e10a91f56fbf7a44adaea11 100644 (file)
@@ -1,4 +1,4 @@
-#! /bin/bash
+#! /bin/sh
 set -e
 
 # Run GRUB script in a Qemu instance
index c594ae3fc14ebf7a6be86b90f4d048747383a69f..2f518dd9e342e6f5feb1463a32b048f08c5e788c 100644 (file)
@@ -1,4 +1,4 @@
-#! /bin/bash
+#! /bin/sh
 set -e
 
 . "@builddir@/grub-core/modinfo.sh"
index eb362aa2439d713bf4246e2c56932bbc6200d710..05b8f6b73faa0bc2d47b20a43fcb4086c7f79a51 100644 (file)
@@ -1,4 +1,4 @@
-#! /bin/bash
+#! /bin/sh
 set -e
 
 . "@builddir@/grub-core/modinfo.sh"
index 6269891c9eeddb70f42da372e5636089e666818d..49ae8a9c830e73f3b14550fbbdbe0910feec0b90 100644 (file)
@@ -1,4 +1,4 @@
-#! /bin/bash
+#! /bin/sh
 
 # create a randome file
 empty="`mktemp "${TMPDIR:-/tmp}/tmp.XXXXXXXXXX"`" || exit 1
index 3fb15e35c8ac3ac218abf580f8ff5cdcaa2925ca..0e8d645eb6be87ac6dd824a6a55d800e5deda05f 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 c8cc263763377fd23d6c7f1eca49c1edafe530a7..b32f244665928b317f14f6b1005d55a08da35d88 100644 (file)
@@ -1,4 +1,4 @@
-#! /bin/bash
+#! /bin/sh
 set -e
 
 . "@builddir@/grub-core/modinfo.sh"
index 2765b61acbb8c1081f620960e0350c5489dc2875..63b60a2ea067379d405f4cf675330673c4d27cfe 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 e46401c4c9f1b6bea3c7bed452882d373e51bd61..2b78295683802a0dddad9317ced26d1dd57d85bd 100644 (file)
@@ -1,4 +1,4 @@
-#! /bin/bash
+#! /bin/sh
 set -e
 
 # Run GRUB script in a Qemu instance
index e780924ef7b02245b6009956bd2baab3623aa5a8..aa96458355b7feb9d672de3b4748e860a4461982 100644 (file)
@@ -1,4 +1,4 @@
-#! /bin/bash
+#! /bin/sh
 set -e
 
 . "@builddir@/grub-core/modinfo.sh"
index d5ef7f9ea62d1c9749c6a134580dace95fa7624a..80ebdc59fd53024538c708e3e1980439fd6aa109 100644 (file)
@@ -1,4 +1,4 @@
-#! /bin/bash
+#! /bin/sh
 
 # create a randome file
 file="`mktemp "${TMPDIR:-/tmp}/tmp.XXXXXXXXXX"`" || exit 1