[PATCH 09/10] tests: Output list of devices when partmap fails

2021-09-17 Thread Glenn Washburn
Signed-off-by: Glenn Washburn --- tests/partmap_test.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/partmap_test.in b/tests/partmap_test.in index faace51ec..3d9871a2f 100644 --- a/tests/partmap_test.in +++ b/tests/partmap_test.in @@ -43,7 +43,7 @@ check_output () {

[PATCH 05/10] tests: Only test minix3 volumes of 1k block size

2021-09-17 Thread Glenn Washburn
Apparently there used to be a -B option for mkfs.minix to create a volume with a specified block size. This version is hard to come by and does not appear to be available in debian distributions. So remove support for testing a variety of blocks sizes for minix3. This allows the minix tests to run

[PATCH 08/10] grub-shell: Boot PowerPC using PMU instead of CUDA for power management

2021-09-17 Thread Glenn Washburn
At some point it looks like the defualt machine for qemu-system-ppc started using CUDA as a backend for power management. This causes the machine to throw an exception and not actually power down the VM[1]. Switching to PMU allows power downs and reboots to work as expceted. [1]

[PATCH 04/10] tests: mkfs.btrfs now supports only 4k sector sizes and above

2021-09-17 Thread Glenn Washburn
Signed-off-by: Glenn Washburn --- tests/util/grub-fs-tester.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/util/grub-fs-tester.in b/tests/util/grub-fs-tester.in index ab58a96c8..f4d9f161b 100644 --- a/tests/util/grub-fs-tester.in +++ b/tests/util/grub-fs-tester.in

[PATCH 07/10] tests: Skip hfs test only when mac_roman module is not loaded and not loadable

2021-09-17 Thread Glenn Washburn
Allow the hfs tests to not be skipped if the mac_roman modules is loaded in the kernel, but not accessible to modprobe. Signed-off-by: Glenn Washburn --- tests/hfs_test.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/hfs_test.in b/tests/hfs_test.in index

[PATCH 00/10] More test fixes/improvements

2021-09-17 Thread Glenn Washburn
Here is another patch series of changes needed to get the make check tests passing on fairly recent Ubuntu/Debian systems, though most of the fixes are for issues on fairly old systems as well (eg. reiser fixes). The FAT volume label change is only needed on fairly recent systems because up until

[PATCH 10/10] tests: Do not delete filesystem images on error

2021-09-17 Thread Glenn Washburn
The filesystem images created for the filesystem test can be useful when debugging why a filesystem test failed. So keep them around and let the user clean them up. Signed-off-by: Glenn Washburn --- tests/util/grub-fs-tester.in | 3 --- 1 file changed, 3 deletions(-) diff --git

[PATCH 02/10] tests: mkreiserfs only supports 4096 block size

2021-09-17 Thread Glenn Washburn
Signed-off-by: Glenn Washburn --- tests/util/grub-fs-tester.in | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/util/grub-fs-tester.in b/tests/util/grub-fs-tester.in index 9f6f26f26..ab58a96c8 100644 --- a/tests/util/grub-fs-tester.in +++

[PATCH 03/10] tests: Disable reiserfs tests for old format because newer kernels do not support them

2021-09-17 Thread Glenn Washburn
Signed-off-by: Glenn Washburn --- tests/reiserfs_test.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/reiserfs_test.in b/tests/reiserfs_test.in index b5fed7635..ff703b203 100644 --- a/tests/reiserfs_test.in +++ b/tests/reiserfs_test.in @@ -16,5 +16,7 @@ if ! which

[PATCH 06/10] tests: Change FAT volume label to be with in the valid character range

2021-09-17 Thread Glenn Washburn
The ';', semi-colon, character is not a valid character for a FAT filesystem label. This test used to succeed because prior to v4.2 of dosfstools mkfs.vfat did not enforce the character restrictions for volume labels. So change the volume label string to be valid but contain symbol characters to

[PATCH 01/10] tests: Rename variable filtime -> filetime as its meant to be

2021-09-17 Thread Glenn Washburn
Signed-off-by: Glenn Washburn --- tests/util/grub-fs-tester.in | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/util/grub-fs-tester.in b/tests/util/grub-fs-tester.in index 7c22cf882..9f6f26f26 100644 --- a/tests/util/grub-fs-tester.in +++

Re: [PATCH v2 7/8] tests: Exit with skipped exit code when test not performed

2021-09-17 Thread Glenn Washburn
On Wed, 25 Aug 2021 02:04:01 -0500 Glenn Washburn wrote: > These tests were not performed and therefore did not pass, nor fail. > This fixes misleading test exit code where, for instance, the > pseries_test will pass on i386-pc, which is not a pseries > architecture. > > Signed-off-by: Glenn

[PATCH v2] udf: Fix regression which is preventing symlink access

2021-09-17 Thread Glenn Washburn
This code was broken by commit 3f05d693 ("malloc: Use overflow checking primitives where we do complex allocations"), which added overflow checking in many areas. The problem here is that the changes update the local variable sz, which was already in use and which was not updated before the

Re: [PATCH] Fix build error in binutils 2.36

2021-09-17 Thread Michael Chang via Grub-devel
On Thu, Sep 16, 2021 at 11:47:57PM +0200, Daniel Kiper wrote: > On Mon, Aug 09, 2021 at 12:37:59PM +0800, Michael Chang via Grub-devel wrote: > > On Thu, Aug 05, 2021 at 03:07:21PM +0200, Daniel Kiper wrote: > > > On Mon, Aug 02, 2021 at 05:41:15PM +0800, Michael Chang via Grub-devel > > > wrote:

Re: [PATCH v2] diskfilter: use nodes in logical volume's segment as member device

2021-09-17 Thread Michael Chang via Grub-devel
On Wed, Sep 15, 2021 at 06:00:09PM +0200, Daniel Kiper wrote: > On Thu, Sep 09, 2021 at 09:02:29PM +0800, Michael Chang via Grub-devel wrote: > > Currently the grub_diskfilter_memberlist function returns all physical > > volumes added to a volume group to which a logical volume (LV) belongs. > >