All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] More test fixes
@ 2021-10-14 20:58 Glenn Washburn
  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
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Glenn Washburn @ 2021-10-14 20:58 UTC (permalink / raw)
  To: grub-devel, Daniel Kiper; +Cc: Glenn Washburn

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



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-07-19 23:04 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-14 20:58 [PATCH v2 0/2] More test fixes Glenn Washburn
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

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.