# You should have received a copy of the GNU General Public License
# along with GRUB. If not, see <http://www.gnu.org/licenses/>.
-set -e
+set -ex
grubshell=@builddir@/grub-shell
. "@builddir@/grub-core/modinfo.sh"
#! @BUILD_SHEBANG@
-set -e
+set -ex
. "@builddir@/grub-core/modinfo.sh"
#!@BUILD_SHEBANG@
-set -e
+set -ex
if [ "x$EUID" = "x" ] ; then
EUID=`id -u`
# You should have received a copy of the GNU General Public License
# along with GRUB. If not, see <http://www.gnu.org/licenses/>.
-set -e
+set -ex
grubshell=@builddir@/grub-shell
. "@builddir@/grub-core/modinfo.sh"
# You should have received a copy of the GNU General Public License
# along with GRUB. If not, see <http://www.gnu.org/licenses/>.
-set -e
+set -ex
grubshell=@builddir@/grub-shell
. "@builddir@/grub-core/modinfo.sh"
#!@BUILD_SHEBANG@
-set -e
+set -ex
if ! which cpio >/dev/null 2>&1; then
echo "cpio not installed; cannot test cpio."
# You should have received a copy of the GNU General Public License
# along with GRUB. If not, see <http://www.gnu.org/licenses/>.
-set -e
+set -ex
grubshell=@builddir@/grub-shell
. "@builddir@/grub-core/modinfo.sh"
#!@BUILD_SHEBANG@
-set -e
+set -ex
if [ "x$EUID" = "x" ] ; then
EUID=`id -u`
#!@BUILD_SHEBANG@
-set -e
+set -ex
true
#!@BUILD_SHEBANG@
-set -e
+set -ex
if [ "x$EUID" = "x" ] ; then
EUID=`id -u`
#!@BUILD_SHEBANG@
-set -e
+set -ex
if [ "x$EUID" = "x" ] ; then
EUID=`id -u`
#!@BUILD_SHEBANG@
-set -e
+set -ex
if [ "x$EUID" = "x" ] ; then
EUID=`id -u`
#!@BUILD_SHEBANG@
-set -e
+set -ex
if [ "x$EUID" = "x" ] ; then
EUID=`id -u`
# You should have received a copy of the GNU General Public License
# along with GRUB. If not, see <http://www.gnu.org/licenses/>.
-set -e
+set -ex
grubshell=@builddir@/grub-shell
. "@builddir@/grub-core/modinfo.sh"
# You should have received a copy of the GNU General Public License
# along with GRUB. If not, see <http://www.gnu.org/licenses/>.
-set -e
+set -ex
grubshell=@builddir@/grub-shell
. "@builddir@/grub-core/modinfo.sh"
#! @BUILD_SHEBANG@
-set -e
+set -ex
. "@builddir@/grub-core/modinfo.sh"
#! @BUILD_SHEBANG@
-set -e
+set -ex
# Run GRUB script in a Qemu instance
# Copyright (C) 2010 Free Software Foundation, Inc.
#! @BUILD_SHEBANG@
-set -e
+set -ex
. "@builddir@/grub-core/modinfo.sh"
#! @BUILD_SHEBANG@
-set -e
+set -ex
. "@builddir@/grub-core/modinfo.sh"
#! @BUILD_SHEBANG@
-set -e
+set -ex
# create a randome file
empty="`mktemp "${TMPDIR:-/tmp}/tmp.XXXXXXXXXX"`" || exit 99
#! @BUILD_SHEBANG@
-set -e
+set -ex
. "@builddir@/grub-core/modinfo.sh"
#! @BUILD_SHEBANG@
-set -e
+set -ex
@builddir@/grub-script-check <<EOF
# comment 1
#! @BUILD_SHEBANG@
-set -e
+set -ex
# Run GRUB script in a Qemu instance
# Copyright (C) 2010 Free Software Foundation, Inc.
#! @BUILD_SHEBANG@
-set -e
+set -ex
@builddir@/grub-script-check << EOF
echo "\\\$"
#! @BUILD_SHEBANG@
-set -e
+set -ex
# Run GRUB script in a Qemu instance
# Copyright (C) 2010 Free Software Foundation, Inc.
#! @BUILD_SHEBANG@
-set -e
+set -ex
@builddir@/grub-script-check <<EOF
echo one;
#! @BUILD_SHEBANG@
-set -e
+set -ex
# grub-script-check refuses to pass a file with no commands; this usually
# indicates a bug in the code generating that file.
# You should have received a copy of the GNU General Public License
# along with GRUB. If not, see <http://www.gnu.org/licenses/>.
-set -e
+set -ex
grubshell=@builddir@/grub-shell
. "@builddir@/grub-core/modinfo.sh"
# You should have received a copy of the GNU General Public License
# along with GRUB. If not, see <http://www.gnu.org/licenses/>.
-set -e
+set -ex
grubshell=@builddir@/grub-shell
. "@builddir@/grub-core/modinfo.sh"
#! @BUILD_SHEBANG@
-set -e
+set -ex
. "@builddir@/grub-core/modinfo.sh"
#!@BUILD_SHEBANG@
-set -e
+set -ex
if [ "x$EUID" = "x" ] ; then
EUID=`id -u`
#!@BUILD_SHEBANG@
-set -e
+set -ex
if [ "x$EUID" = "x" ] ; then
EUID=`id -u`
#!@BUILD_SHEBANG@
-set -e
+set -ex
if ! which xorriso >/dev/null 2>&1; then
echo "xorriso not installed; cannot test iso9660."
#!@BUILD_SHEBANG@
-set -e
+set -ex
if [ "x$EUID" = "x" ] ; then
EUID=`id -u`
#!@BUILD_SHEBANG@
-set -e
+set -ex
if [ "x$EUID" = "x" ] ; then
EUID=`id -u`
#!@BUILD_SHEBANG@
-set -e
+set -ex
if [ "x$EUID" = "x" ] ; then
EUID=`id -u`
# You should have received a copy of the GNU General Public License
# along with GRUB. If not, see <http://www.gnu.org/licenses/>.
-set -e
+set -ex
grubshell=@builddir@/grub-shell
. "@builddir@/grub-core/modinfo.sh"
#!@BUILD_SHEBANG@
-set -e
+set -ex
if [ "x$EUID" = "x" ] ; then
EUID=`id -u`
# You should have received a copy of the GNU General Public License
# along with GRUB. If not, see <http://www.gnu.org/licenses/>.
-set -e
+set -ex
grubshell=@builddir@/grub-shell
. "@builddir@/grub-core/modinfo.sh"
#!@BUILD_SHEBANG@
-set -e
+set -ex
if [ "x$EUID" = "x" ] ; then
EUID=`id -u`
#!@BUILD_SHEBANG@
-set -e
+set -ex
if [ "x$EUID" = "x" ] ; then
EUID=`id -u`
# You should have received a copy of the GNU General Public License
# along with GRUB. If not, see <http://www.gnu.org/licenses/>.
-set -e
+set -ex
grubshell=@builddir@/grub-shell
. "@builddir@/grub-core/modinfo.sh"
#! @BUILD_SHEBANG@
-set -e
+set -ex
# Copyright (C) 2010 Free Software Foundation, Inc.
#
# You should have received a copy of the GNU General Public License
# along with GRUB. If not, see <http://www.gnu.org/licenses/>.
-set -e
+set -ex
grubshell=@builddir@/grub-shell
. "@builddir@/grub-core/modinfo.sh"
# You should have received a copy of the GNU General Public License
# along with GRUB. If not, see <http://www.gnu.org/licenses/>.
-set -e
+set -ex
grubshell=@builddir@/grub-shell
. "@builddir@/grub-core/modinfo.sh"
#!@BUILD_SHEBANG@
-set -e
+set -ex
if [ "x$EUID" = "x" ] ; then
EUID=`id -u`
#!@BUILD_SHEBANG@
-set -e
+set -ex
if ! which genromfs >/dev/null 2>&1; then
echo "genromfs not installed; cannot test romfs."
# You should have received a copy of the GNU General Public License
# along with GRUB. If not, see <http://www.gnu.org/licenses/>.
-set -e
+set -ex
grubshell=@builddir@/grub-shell
. "@builddir@/grub-core/modinfo.sh"
#!@BUILD_SHEBANG@
-set -e
+set -ex
if ! which mksquashfs >/dev/null 2>&1; then
echo "mksquashfs not installed; cannot test squashfs."
#!@BUILD_SHEBANG@
-set -e
+set -ex
outfile="`mktemp "${TMPDIR:-/tmp}/tmp.XXXXXXXXXX"`" || exit 99
#!@BUILD_SHEBANG@
-set -e
+set -ex
if ! which tar >/dev/null 2>&1; then
echo "tar not installed; cannot test tar."
#! @BUILD_SHEBANG@
-set -e
+set -ex
# create a randome file
file="`mktemp "${TMPDIR:-/tmp}/tmp.XXXXXXXXXX"`" || exit 99
#!@BUILD_SHEBANG@
-set -e
+set -ex
if [ "x$EUID" = "x" ] ; then
EUID=`id -u`
# You should have received a copy of the GNU General Public License
# along with GRUB. If not, see <http://www.gnu.org/licenses/>.
-set -e
+set -ex
grubshell=@builddir@/grub-shell
. "@builddir@/grub-core/modinfo.sh"
#!@BUILD_SHEBANG@
-set -e
+set -ex
if [ "x$EUID" = "x" ] ; then
EUID=`id -u`
# You should have received a copy of the GNU General Public License
# along with GRUB. If not, see <http://www.gnu.org/licenses/>.
-set -e
+set -ex
grubshell=@builddir@/grub-shell
. "@builddir@/grub-core/modinfo.sh"
#!@BUILD_SHEBANG@
-set -e
+set -ex
if [ "x$EUID" = "x" ] ; then
EUID=`id -u`