From: Glenn Washburn <development@efficientek.com>
To: grub-devel@gnu.org, Daniel Kiper <daniel.kiper@oracle.com>
Cc: Glenn Washburn <development@efficientek.com>
Subject: [PATCH v2 0/2] More test fixes
Date: Thu, 14 Oct 2021 15:58:06 -0500 [thread overview]
Message-ID: <cover.1634244868.git.development@efficientek.com> (raw)
Updates since v1:
* Rebase onto latest master
The first patch changes the test exit status from skipped to hard error, for
tests which fail due to missing dependencies in the environment.
The second is a trivial patch to parameterize all uses of parted in the
partmap_test.
Glenn
Glenn Washburn (2):
tests: Test aborts due to missing requirements should be marked as
error instead of skipped
tests: In partmap_test, use ${parted} variable when checking for
binary
tests/btrfs_test.in | 4 ++--
tests/cpio_test.in | 2 +-
tests/exfat_test.in | 4 ++--
tests/ext234_test.in | 8 ++++----
tests/f2fs_test.in | 4 ++--
tests/fat_test.in | 4 ++--
tests/gzcompress_test.in | 2 +-
tests/hfs_test.in | 6 +++---
tests/hfsplus_test.in | 4 ++--
tests/iso9660_test.in | 2 +-
tests/jfs_test.in | 4 ++--
tests/lzocompress_test.in | 2 +-
tests/minixfs_test.in | 8 ++++----
tests/nilfs2_test.in | 4 ++--
tests/ntfs_test.in | 6 +++---
tests/partmap_test.in | 6 +++---
tests/reiserfs_test.in | 4 ++--
tests/romfs_test.in | 2 +-
tests/squashfs_test.in | 2 +-
tests/tar_test.in | 2 +-
tests/udf_test.in | 4 ++--
tests/xfs_test.in | 4 ++--
tests/xzcompress_test.in | 2 +-
tests/zfs_test.in | 4 ++--
24 files changed, 47 insertions(+), 47 deletions(-)
Range-diff against v1:
1: e2f9f26f2 ! 1: 6234f860a tests: Test aborts due to missing requirements should be marked as error instead of skipped
@@ tests/gzcompress_test.in: grubshell=@builddir@/grub-shell
+ exit 99
fi
- if [ "$(echo hello | "${grubshell}" --mkrescue-arg=--compress=gz)" != "Hello World" ]; then
+ v=$(echo hello | "${grubshell}" --mkrescue-arg=--compress=gz)
## tests/hfs_test.in ##
@@ tests/hfs_test.in: if [ "x$EUID" = "x" ] ; then
@@ tests/lzocompress_test.in: grubshell=@builddir@/grub-shell
+ exit 99
fi
- if [ "$(echo hello | "${grubshell}" --mkrescue-arg=--compress=lzo)" != "Hello World" ]; then
+ v=$(echo hello | "${grubshell}" --mkrescue-arg=--compress=lzo)
## tests/minixfs_test.in ##
@@ tests/minixfs_test.in: if [ "x$EUID" = "x" ] ; then
@@ tests/xzcompress_test.in: grubshell=@builddir@/grub-shell
+ exit 99
fi
- if [ "$(echo hello | "${grubshell}" --mkrescue-arg=--compress=xz)" != "Hello World" ]; then
+ v=$(echo hello | "${grubshell}" --mkrescue-arg=--compress=xz)
## tests/zfs_test.in ##
@@ tests/zfs_test.in: if [ "x$EUID" = "x" ] ; then
2: e35d3bb81 = 2: d1aefde55 tests: In partmap_test, use ${parted} variable when checking for binary
--
2.27.0
next reply other threads:[~2021-10-14 20:58 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-14 20:58 Glenn Washburn [this message]
2021-10-14 20:58 ` [PATCH v2 1/2] tests: Test aborts due to missing requirements should be marked as error instead of skipped Glenn Washburn
2023-07-19 15:37 ` Julian Andres Klode
2023-07-19 23:03 ` Glenn Washburn
2021-10-14 20:58 ` [PATCH v2 2/2] tests: In partmap_test, use ${parted} variable when checking for binary Glenn Washburn
2021-10-18 18:08 ` [PATCH v2 0/2] More test fixes Daniel Kiper
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1634244868.git.development@efficientek.com \
--to=development@efficientek.com \
--cc=daniel.kiper@oracle.com \
--cc=grub-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.