Remove bashisms from tests.

Those tests don't actually need bash. Just use common shebang.
This commit is contained in:
Vladimir Serbinenko 2017-01-23 03:47:13 +03:00 committed by Vincent Batts
parent d3bccdbd12
commit 427e4ff91a
11 changed files with 11 additions and 11 deletions

View file

@ -1,4 +1,4 @@
#! /bin/bash #! /bin/sh
set -e set -e
. "@builddir@/grub-core/modinfo.sh" . "@builddir@/grub-core/modinfo.sh"

View file

@ -1,4 +1,4 @@
#! /bin/bash #! /bin/sh
set -e set -e
# Run GRUB script in a Qemu instance # Run GRUB script in a Qemu instance

View file

@ -1,4 +1,4 @@
#! /bin/bash #! /bin/sh
set -e set -e
. "@builddir@/grub-core/modinfo.sh" . "@builddir@/grub-core/modinfo.sh"

View file

@ -1,4 +1,4 @@
#! /bin/bash #! /bin/sh
set -e set -e
. "@builddir@/grub-core/modinfo.sh" . "@builddir@/grub-core/modinfo.sh"

View file

@ -1,4 +1,4 @@
#! /bin/bash #! /bin/sh
# create a randome file # create a randome file
empty="`mktemp "${TMPDIR:-/tmp}/tmp.XXXXXXXXXX"`" || exit 1 empty="`mktemp "${TMPDIR:-/tmp}/tmp.XXXXXXXXXX"`" || exit 1

View file

@ -1,4 +1,4 @@
#! /bin/bash -e #! /bin/sh -e
# Run GRUB script in a Qemu instance # Run GRUB script in a Qemu instance
# Copyright (C) 2010 Free Software Foundation, Inc. # Copyright (C) 2010 Free Software Foundation, Inc.

View file

@ -1,4 +1,4 @@
#! /bin/bash #! /bin/sh
set -e set -e
. "@builddir@/grub-core/modinfo.sh" . "@builddir@/grub-core/modinfo.sh"

View file

@ -1,4 +1,4 @@
#! /bin/bash #! /bin/sh
# Run GRUB script in a Qemu instance # Run GRUB script in a Qemu instance
# Copyright (C) 2010 Free Software Foundation, Inc. # Copyright (C) 2010 Free Software Foundation, Inc.

View file

@ -1,4 +1,4 @@
#! /bin/bash #! /bin/sh
set -e set -e
# Run GRUB script in a Qemu instance # Run GRUB script in a Qemu instance

View file

@ -1,4 +1,4 @@
#! /bin/bash #! /bin/sh
set -e set -e
. "@builddir@/grub-core/modinfo.sh" . "@builddir@/grub-core/modinfo.sh"

View file

@ -1,4 +1,4 @@
#! /bin/bash #! /bin/sh
# create a randome file # create a randome file
file="`mktemp "${TMPDIR:-/tmp}/tmp.XXXXXXXXXX"`" || exit 1 file="`mktemp "${TMPDIR:-/tmp}/tmp.XXXXXXXXXX"`" || exit 1