[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 0/2] More test fixes
From: |
Glenn Washburn |
Subject: |
[PATCH v2 0/2] More test fixes |
Date: |
Thu, 14 Oct 2021 15:58:06 -0500 |
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
- [PATCH v2 0/2] More test fixes,
Glenn Washburn <=