Skip to content

More test fixes

Glenn Washburn grub-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 3 repliesIn review
  2. v12 patches 3 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2tests: Test aborts due to missing requirements should be marked as error instead of skippedtests/btrfs_test.in tests/cpio_test.in tests/exfat_test.in +21 more+45 -452 replies
2/2tests: In partmap_test, use ${parted} variable when checking for binarytests/partmap_test.in+2 -20 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchDaniel Kiper
SeriesR-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] More test fixes

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

Signature · 1 line
2.27.0