* grub-core/genmod.sh.in: Use 'set -e' rather than '#! /bin/sh -e',

to avoid accidents when debugging with 'sh -x'.
* grub-core/gensyminfo.sh.in: Likewise.
* tests/example_scripted_test.in: Likewise.
* tests/grub_cmd_regexp.in: Likewise.
* tests/grub_script_blanklines.in: Likewise.
* tests/grub_script_dollar.in: Likewise.
* tests/grub_script_expansion.in: Likewise.
* tests/grub_script_final_semicolon.in: Likewise.
* tests/partmap_test.in: Likewise.
* tests/util/grub-shell-tester.in: Likewise.
* tests/util/grub-shell.in: Likewise.
This commit is contained in:
Colin Watson 2011-05-18 12:53:07 +01:00
parent e2965f4a32
commit 5626056ffb
12 changed files with 40 additions and 14 deletions

View file

@ -1,3 +1,18 @@
2011-05-18 Colin Watson <cjwatson@ubuntu.com>
* grub-core/genmod.sh.in: Use 'set -e' rather than '#! /bin/sh -e',
to avoid accidents when debugging with 'sh -x'.
* grub-core/gensyminfo.sh.in: Likewise.
* tests/example_scripted_test.in: Likewise.
* tests/grub_cmd_regexp.in: Likewise.
* tests/grub_script_blanklines.in: Likewise.
* tests/grub_script_dollar.in: Likewise.
* tests/grub_script_expansion.in: Likewise.
* tests/grub_script_final_semicolon.in: Likewise.
* tests/partmap_test.in: Likewise.
* tests/util/grub-shell-tester.in: Likewise.
* tests/util/grub-shell.in: Likewise.
2011-05-18 Colin Watson <cjwatson@ubuntu.com> 2011-05-18 Colin Watson <cjwatson@ubuntu.com>
Move gfxmenu color handling to video, so that gfxterm can use it Move gfxmenu color handling to video, so that gfxterm can use it

View file

@ -1,5 +1,6 @@
#! /bin/sh -e #! /bin/sh
# set -e
# Copyright (C) 2010 Free Software Foundation, Inc. # Copyright (C) 2010 Free Software Foundation, Inc.
# #
# This gensymlist.sh is free software; the author # This gensymlist.sh is free software; the author

View file

@ -1,5 +1,6 @@
#! /bin/sh -e #! /bin/sh
# set -e
# Copyright (C) 2010 Free Software Foundation, Inc. # Copyright (C) 2010 Free Software Foundation, Inc.
# #
# This gensymlist.sh is free software; the author # This gensymlist.sh is free software; the author

View file

@ -1,3 +1,4 @@
#!/bin/sh -e #!/bin/sh
set -e
true true

View file

@ -1,4 +1,5 @@
#! /bin/bash -e #! /bin/bash
set -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,5 @@
#! /bin/sh -e #! /bin/sh
set -e
@builddir@/grub-script-check <<EOF @builddir@/grub-script-check <<EOF
# comment 1 # comment 1

View file

@ -1,4 +1,5 @@
#! /bin/sh -e #! /bin/sh
set -e
@builddir@/grub-script-check << EOF @builddir@/grub-script-check << EOF
echo "\\\$" echo "\\\$"

View file

@ -1,4 +1,5 @@
#! /bin/bash -e #! /bin/bash
set -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,5 @@
#! /bin/sh -e #! /bin/sh
set -e
@builddir@/grub-script-check <<EOF @builddir@/grub-script-check <<EOF
echo one; echo one;

View file

@ -1,5 +1,6 @@
#! /bin/sh -e #! /bin/sh
# set -e
# Copyright (C) 2010 Free Software Foundation, Inc. # Copyright (C) 2010 Free Software Foundation, Inc.
# #
# GRUB is free software: you can redistribute it and/or modify # GRUB is free software: you can redistribute it and/or modify

View file

@ -1,4 +1,5 @@
#! /bin/sh -e #! /bin/sh
set -e
# Compares GRUB script output with BASH output. # Compares GRUB script output with BASH output.
# Copyright (C) 2009,2010 Free Software Foundation, Inc. # Copyright (C) 2009,2010 Free Software Foundation, Inc.

View file

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