tests: Increase verbosity in *_test.in checks

In this case it does not hurt to increase bash execution verbosity so
we can get more insight in case of issues.

Signed-off-by: Leo Sandoval <lsandova@redhat.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
This commit is contained in:
Leo Sandoval 2025-09-19 15:45:04 -06:00 committed by Daniel Kiper
parent bf13fed5fe
commit cdbc6ffbb8
57 changed files with 57 additions and 57 deletions

View File

@ -14,7 +14,7 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with GRUB. If not, see <http://www.gnu.org/licenses/>. # along with GRUB. If not, see <http://www.gnu.org/licenses/>.
set -e set -ex
grubshell=@builddir@/grub-shell grubshell=@builddir@/grub-shell
. "@builddir@/grub-core/modinfo.sh" . "@builddir@/grub-core/modinfo.sh"

View File

@ -1,5 +1,5 @@
#! @BUILD_SHEBANG@ #! @BUILD_SHEBANG@
set -e set -ex
. "@builddir@/grub-core/modinfo.sh" . "@builddir@/grub-core/modinfo.sh"

View File

@ -1,6 +1,6 @@
#!@BUILD_SHEBANG@ #!@BUILD_SHEBANG@
set -e set -ex
if [ "x$EUID" = "x" ] ; then if [ "x$EUID" = "x" ] ; then
EUID=`id -u` EUID=`id -u`

View File

@ -14,7 +14,7 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with GRUB. If not, see <http://www.gnu.org/licenses/>. # along with GRUB. If not, see <http://www.gnu.org/licenses/>.
set -e set -ex
grubshell=@builddir@/grub-shell grubshell=@builddir@/grub-shell
. "@builddir@/grub-core/modinfo.sh" . "@builddir@/grub-core/modinfo.sh"

View File

@ -14,7 +14,7 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with GRUB. If not, see <http://www.gnu.org/licenses/>. # along with GRUB. If not, see <http://www.gnu.org/licenses/>.
set -e set -ex
grubshell=@builddir@/grub-shell grubshell=@builddir@/grub-shell
. "@builddir@/grub-core/modinfo.sh" . "@builddir@/grub-core/modinfo.sh"

View File

@ -1,6 +1,6 @@
#!@BUILD_SHEBANG@ #!@BUILD_SHEBANG@
set -e set -ex
if ! which cpio >/dev/null 2>&1; then if ! which cpio >/dev/null 2>&1; then
echo "cpio not installed; cannot test cpio." echo "cpio not installed; cannot test cpio."

View File

@ -14,7 +14,7 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with GRUB. If not, see <http://www.gnu.org/licenses/>. # along with GRUB. If not, see <http://www.gnu.org/licenses/>.
set -e set -ex
grubshell=@builddir@/grub-shell grubshell=@builddir@/grub-shell
. "@builddir@/grub-core/modinfo.sh" . "@builddir@/grub-core/modinfo.sh"

View File

@ -1,6 +1,6 @@
#!@BUILD_SHEBANG@ #!@BUILD_SHEBANG@
set -e set -ex
if [ "x$EUID" = "x" ] ; then if [ "x$EUID" = "x" ] ; then
EUID=`id -u` EUID=`id -u`

View File

@ -1,4 +1,4 @@
#!@BUILD_SHEBANG@ #!@BUILD_SHEBANG@
set -e set -ex
true true

View File

@ -1,6 +1,6 @@
#!@BUILD_SHEBANG@ #!@BUILD_SHEBANG@
set -e set -ex
if [ "x$EUID" = "x" ] ; then if [ "x$EUID" = "x" ] ; then
EUID=`id -u` EUID=`id -u`

View File

@ -1,6 +1,6 @@
#!@BUILD_SHEBANG@ #!@BUILD_SHEBANG@
set -e set -ex
if [ "x$EUID" = "x" ] ; then if [ "x$EUID" = "x" ] ; then
EUID=`id -u` EUID=`id -u`

View File

@ -1,6 +1,6 @@
#!@BUILD_SHEBANG@ #!@BUILD_SHEBANG@
set -e set -ex
if [ "x$EUID" = "x" ] ; then if [ "x$EUID" = "x" ] ; then
EUID=`id -u` EUID=`id -u`

View File

@ -1,6 +1,6 @@
#!@BUILD_SHEBANG@ #!@BUILD_SHEBANG@
set -e set -ex
if [ "x$EUID" = "x" ] ; then if [ "x$EUID" = "x" ] ; then
EUID=`id -u` EUID=`id -u`

View File

@ -14,7 +14,7 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with GRUB. If not, see <http://www.gnu.org/licenses/>. # along with GRUB. If not, see <http://www.gnu.org/licenses/>.
set -e set -ex
grubshell=@builddir@/grub-shell grubshell=@builddir@/grub-shell
. "@builddir@/grub-core/modinfo.sh" . "@builddir@/grub-core/modinfo.sh"

View File

@ -14,7 +14,7 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with GRUB. If not, see <http://www.gnu.org/licenses/>. # along with GRUB. If not, see <http://www.gnu.org/licenses/>.
set -e set -ex
grubshell=@builddir@/grub-shell grubshell=@builddir@/grub-shell
. "@builddir@/grub-core/modinfo.sh" . "@builddir@/grub-core/modinfo.sh"

View File

@ -1,5 +1,5 @@
#! @BUILD_SHEBANG@ #! @BUILD_SHEBANG@
set -e set -ex
. "@builddir@/grub-core/modinfo.sh" . "@builddir@/grub-core/modinfo.sh"

View File

@ -1,5 +1,5 @@
#! @BUILD_SHEBANG@ #! @BUILD_SHEBANG@
set -e set -ex
# 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,5 +1,5 @@
#! @BUILD_SHEBANG@ #! @BUILD_SHEBANG@
set -e set -ex
. "@builddir@/grub-core/modinfo.sh" . "@builddir@/grub-core/modinfo.sh"

View File

@ -1,5 +1,5 @@
#! @BUILD_SHEBANG@ #! @BUILD_SHEBANG@
set -e set -ex
. "@builddir@/grub-core/modinfo.sh" . "@builddir@/grub-core/modinfo.sh"

View File

@ -1,5 +1,5 @@
#! @BUILD_SHEBANG@ #! @BUILD_SHEBANG@
set -e set -ex
# create a randome file # create a randome file
empty="`mktemp "${TMPDIR:-/tmp}/tmp.XXXXXXXXXX"`" || exit 99 empty="`mktemp "${TMPDIR:-/tmp}/tmp.XXXXXXXXXX"`" || exit 99

View File

@ -1,5 +1,5 @@
#! @BUILD_SHEBANG@ #! @BUILD_SHEBANG@
set -e set -ex
. "@builddir@/grub-core/modinfo.sh" . "@builddir@/grub-core/modinfo.sh"

View File

@ -1,5 +1,5 @@
#! @BUILD_SHEBANG@ #! @BUILD_SHEBANG@
set -e set -ex
@builddir@/grub-script-check <<EOF @builddir@/grub-script-check <<EOF
# comment 1 # comment 1

View File

@ -1,5 +1,5 @@
#! @BUILD_SHEBANG@ #! @BUILD_SHEBANG@
set -e set -ex
# 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,5 +1,5 @@
#! @BUILD_SHEBANG@ #! @BUILD_SHEBANG@
set -e set -ex
@builddir@/grub-script-check << EOF @builddir@/grub-script-check << EOF
echo "\\\$" echo "\\\$"

View File

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

View File

@ -1,5 +1,5 @@
#! @BUILD_SHEBANG@ #! @BUILD_SHEBANG@
set -e set -ex
# grub-script-check refuses to pass a file with no commands; this usually # grub-script-check refuses to pass a file with no commands; this usually
# indicates a bug in the code generating that file. # indicates a bug in the code generating that file.

View File

@ -14,7 +14,7 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with GRUB. If not, see <http://www.gnu.org/licenses/>. # along with GRUB. If not, see <http://www.gnu.org/licenses/>.
set -e set -ex
grubshell=@builddir@/grub-shell grubshell=@builddir@/grub-shell
. "@builddir@/grub-core/modinfo.sh" . "@builddir@/grub-core/modinfo.sh"

View File

@ -14,7 +14,7 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with GRUB. If not, see <http://www.gnu.org/licenses/>. # along with GRUB. If not, see <http://www.gnu.org/licenses/>.
set -e set -ex
grubshell=@builddir@/grub-shell grubshell=@builddir@/grub-shell
. "@builddir@/grub-core/modinfo.sh" . "@builddir@/grub-core/modinfo.sh"

View File

@ -1,5 +1,5 @@
#! @BUILD_SHEBANG@ #! @BUILD_SHEBANG@
set -e set -ex
. "@builddir@/grub-core/modinfo.sh" . "@builddir@/grub-core/modinfo.sh"

View File

@ -1,6 +1,6 @@
#!@BUILD_SHEBANG@ #!@BUILD_SHEBANG@
set -e set -ex
if [ "x$EUID" = "x" ] ; then if [ "x$EUID" = "x" ] ; then
EUID=`id -u` EUID=`id -u`

View File

@ -1,6 +1,6 @@
#!@BUILD_SHEBANG@ #!@BUILD_SHEBANG@
set -e set -ex
if [ "x$EUID" = "x" ] ; then if [ "x$EUID" = "x" ] ; then
EUID=`id -u` EUID=`id -u`

View File

@ -1,6 +1,6 @@
#!@BUILD_SHEBANG@ #!@BUILD_SHEBANG@
set -e set -ex
if ! which xorriso >/dev/null 2>&1; then if ! which xorriso >/dev/null 2>&1; then
echo "xorriso not installed; cannot test iso9660." echo "xorriso not installed; cannot test iso9660."

View File

@ -1,6 +1,6 @@
#!@BUILD_SHEBANG@ #!@BUILD_SHEBANG@
set -e set -ex
if [ "x$EUID" = "x" ] ; then if [ "x$EUID" = "x" ] ; then
EUID=`id -u` EUID=`id -u`

View File

@ -1,6 +1,6 @@
#!@BUILD_SHEBANG@ #!@BUILD_SHEBANG@
set -e set -ex
if [ "x$EUID" = "x" ] ; then if [ "x$EUID" = "x" ] ; then
EUID=`id -u` EUID=`id -u`

View File

@ -1,6 +1,6 @@
#!@BUILD_SHEBANG@ #!@BUILD_SHEBANG@
set -e set -ex
if [ "x$EUID" = "x" ] ; then if [ "x$EUID" = "x" ] ; then
EUID=`id -u` EUID=`id -u`

View File

@ -14,7 +14,7 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with GRUB. If not, see <http://www.gnu.org/licenses/>. # along with GRUB. If not, see <http://www.gnu.org/licenses/>.
set -e set -ex
grubshell=@builddir@/grub-shell grubshell=@builddir@/grub-shell
. "@builddir@/grub-core/modinfo.sh" . "@builddir@/grub-core/modinfo.sh"

View File

@ -1,6 +1,6 @@
#!@BUILD_SHEBANG@ #!@BUILD_SHEBANG@
set -e set -ex
if [ "x$EUID" = "x" ] ; then if [ "x$EUID" = "x" ] ; then
EUID=`id -u` EUID=`id -u`

View File

@ -14,7 +14,7 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with GRUB. If not, see <http://www.gnu.org/licenses/>. # along with GRUB. If not, see <http://www.gnu.org/licenses/>.
set -e set -ex
grubshell=@builddir@/grub-shell grubshell=@builddir@/grub-shell
. "@builddir@/grub-core/modinfo.sh" . "@builddir@/grub-core/modinfo.sh"

View File

@ -1,6 +1,6 @@
#!@BUILD_SHEBANG@ #!@BUILD_SHEBANG@
set -e set -ex
if [ "x$EUID" = "x" ] ; then if [ "x$EUID" = "x" ] ; then
EUID=`id -u` EUID=`id -u`

View File

@ -1,6 +1,6 @@
#!@BUILD_SHEBANG@ #!@BUILD_SHEBANG@
set -e set -ex
if [ "x$EUID" = "x" ] ; then if [ "x$EUID" = "x" ] ; then
EUID=`id -u` EUID=`id -u`

View File

@ -14,7 +14,7 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with GRUB. If not, see <http://www.gnu.org/licenses/>. # along with GRUB. If not, see <http://www.gnu.org/licenses/>.
set -e set -ex
grubshell=@builddir@/grub-shell grubshell=@builddir@/grub-shell
. "@builddir@/grub-core/modinfo.sh" . "@builddir@/grub-core/modinfo.sh"

View File

@ -1,5 +1,5 @@
#! @BUILD_SHEBANG@ #! @BUILD_SHEBANG@
set -e set -ex
# Copyright (C) 2010 Free Software Foundation, Inc. # Copyright (C) 2010 Free Software Foundation, Inc.
# #

View File

@ -14,7 +14,7 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with GRUB. If not, see <http://www.gnu.org/licenses/>. # along with GRUB. If not, see <http://www.gnu.org/licenses/>.
set -e set -ex
grubshell=@builddir@/grub-shell grubshell=@builddir@/grub-shell
. "@builddir@/grub-core/modinfo.sh" . "@builddir@/grub-core/modinfo.sh"

View File

@ -14,7 +14,7 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with GRUB. If not, see <http://www.gnu.org/licenses/>. # along with GRUB. If not, see <http://www.gnu.org/licenses/>.
set -e set -ex
grubshell=@builddir@/grub-shell grubshell=@builddir@/grub-shell
. "@builddir@/grub-core/modinfo.sh" . "@builddir@/grub-core/modinfo.sh"

View File

@ -1,6 +1,6 @@
#!@BUILD_SHEBANG@ #!@BUILD_SHEBANG@
set -e set -ex
if [ "x$EUID" = "x" ] ; then if [ "x$EUID" = "x" ] ; then
EUID=`id -u` EUID=`id -u`

View File

@ -1,6 +1,6 @@
#!@BUILD_SHEBANG@ #!@BUILD_SHEBANG@
set -e set -ex
if ! which genromfs >/dev/null 2>&1; then if ! which genromfs >/dev/null 2>&1; then
echo "genromfs not installed; cannot test romfs." echo "genromfs not installed; cannot test romfs."

View File

@ -14,7 +14,7 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with GRUB. If not, see <http://www.gnu.org/licenses/>. # along with GRUB. If not, see <http://www.gnu.org/licenses/>.
set -e set -ex
grubshell=@builddir@/grub-shell grubshell=@builddir@/grub-shell
. "@builddir@/grub-core/modinfo.sh" . "@builddir@/grub-core/modinfo.sh"

View File

@ -1,6 +1,6 @@
#!@BUILD_SHEBANG@ #!@BUILD_SHEBANG@
set -e set -ex
if ! which mksquashfs >/dev/null 2>&1; then if ! which mksquashfs >/dev/null 2>&1; then
echo "mksquashfs not installed; cannot test squashfs." echo "mksquashfs not installed; cannot test squashfs."

View File

@ -1,6 +1,6 @@
#!@BUILD_SHEBANG@ #!@BUILD_SHEBANG@
set -e set -ex
outfile="`mktemp "${TMPDIR:-/tmp}/tmp.XXXXXXXXXX"`" || exit 99 outfile="`mktemp "${TMPDIR:-/tmp}/tmp.XXXXXXXXXX"`" || exit 99

View File

@ -1,6 +1,6 @@
#!@BUILD_SHEBANG@ #!@BUILD_SHEBANG@
set -e set -ex
if ! which tar >/dev/null 2>&1; then if ! which tar >/dev/null 2>&1; then
echo "tar not installed; cannot test tar." echo "tar not installed; cannot test tar."

View File

@ -1,5 +1,5 @@
#! @BUILD_SHEBANG@ #! @BUILD_SHEBANG@
set -e set -ex
# create a randome file # create a randome file
file="`mktemp "${TMPDIR:-/tmp}/tmp.XXXXXXXXXX"`" || exit 99 file="`mktemp "${TMPDIR:-/tmp}/tmp.XXXXXXXXXX"`" || exit 99

View File

@ -1,6 +1,6 @@
#!@BUILD_SHEBANG@ #!@BUILD_SHEBANG@
set -e set -ex
if [ "x$EUID" = "x" ] ; then if [ "x$EUID" = "x" ] ; then
EUID=`id -u` EUID=`id -u`

View File

@ -14,7 +14,7 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with GRUB. If not, see <http://www.gnu.org/licenses/>. # along with GRUB. If not, see <http://www.gnu.org/licenses/>.
set -e set -ex
grubshell=@builddir@/grub-shell grubshell=@builddir@/grub-shell
. "@builddir@/grub-core/modinfo.sh" . "@builddir@/grub-core/modinfo.sh"

View File

@ -1,6 +1,6 @@
#!@BUILD_SHEBANG@ #!@BUILD_SHEBANG@
set -e set -ex
if [ "x$EUID" = "x" ] ; then if [ "x$EUID" = "x" ] ; then
EUID=`id -u` EUID=`id -u`

View File

@ -14,7 +14,7 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with GRUB. If not, see <http://www.gnu.org/licenses/>. # along with GRUB. If not, see <http://www.gnu.org/licenses/>.
set -e set -ex
grubshell=@builddir@/grub-shell grubshell=@builddir@/grub-shell
. "@builddir@/grub-core/modinfo.sh" . "@builddir@/grub-core/modinfo.sh"

View File

@ -1,6 +1,6 @@
#!@BUILD_SHEBANG@ #!@BUILD_SHEBANG@
set -e set -ex
if [ "x$EUID" = "x" ] ; then if [ "x$EUID" = "x" ] ; then
EUID=`id -u` EUID=`id -u`