All of lore.kernel.org
 help / color / mirror / Atom feed
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 0/8] Various fixes/improvements for tests
Date: Sun, 14 Mar 2021 21:20:15 -0500	[thread overview]
Message-ID: <cover.1615773047.git.development@efficientek.com> (raw)

The first 4 patches in the series have already been submitted as part of the
GitLab CI patch series. I've included them here because they logically go with
the subsequent 4 patches and because I suspect that the GitLab CI patch series
is given lower priority than this one will be. So the first 4 patches here
where needed for the GitLab CI and thus have been tested as such.

Patch #1 is needed when runing on systems that do not have LANG set to something
UTF capable. We need UTF to successfully run some of the filesystem tests on
internationalization.

Patch #2 was required to get the arm-efi tests to be successful, but I wonder
if it can change depending on setup (eg. qemu version). Is anyone currently
running arm-efi tests successfully?

Patch #3 seems obviously the right way to do it. So that makes me question why
it wasn't done this way to begin with. Am I missing something? Was there a
reason not to do it this way (perhaps running these tests on OS/arches I'm not)?

Patch #4 was not strictly necessary for the GitLab CI, but it was valuable in
debugging test failures (we really only care about the failure code of
grub-shell).

Patches #5 and #6 decrease false positive test results, that is tests shown
as failing that are not actually failing (ie something prevented the test
from actually running).

Patch #7 marks tests as skipped when they are skipped, instead of marking them
with success as is currently done.

Patch #8 is trivial

Glenn

Glenn Washburn (8):
  tests: Make sure LANG is set properly for iso9660_test
  tests: Fix partmap_test for arm*-efi, disk numbering has changed
  tests: When checking squashfs fstime, use superblock last modified
    time
  tests: Fail immediately when grub-shell fails and do not occlude the
    error code
  tests: Make setup errors in grub-fs-tester hard errors
  tests: A failure of mktemp should cause the test script to exit with
    code 99
  tests: Exit with skipped exit code when test not performed
  tests: Use @BUILD_SHEBANG@ autoconf var instead of literal shell

 tests/ahci_test.in             | 18 +++++++++++-------
 tests/cdboot_test.in           | 11 ++++++-----
 tests/core_compress_test.in    |  8 +++++---
 tests/ehci_test.in             | 18 +++++++++++-------
 tests/f2fs_test.in             |  2 +-
 tests/fddboot_test.in          | 19 ++++++++++---------
 tests/gettext_strings_test.in  |  2 +-
 tests/grub_cmd_date.in         |  5 +++--
 tests/grub_cmd_set_date.in     |  6 +++---
 tests/grub_cmd_test.in         |  7 ++++---
 tests/grub_script_blockarg.in  |  4 ++--
 tests/grub_script_expansion.in |  3 ++-
 tests/gzcompress_test.in       |  3 ++-
 tests/hddboot_test.in          |  9 +++++----
 tests/iso9660_test.in          |  6 ++++++
 tests/lzocompress_test.in      |  3 ++-
 tests/netboot_test.in          | 15 ++++++++-------
 tests/ohci_test.in             | 18 +++++++++++-------
 tests/partmap_test.in          | 18 +++++++++---------
 tests/pata_test.in             | 13 +++++++------
 tests/pseries_test.in          |  2 +-
 tests/syslinux_test.in         |  2 +-
 tests/test_sha512sum.in        |  7 ++++---
 tests/uhci_test.in             | 18 +++++++++++-------
 tests/util/grub-fs-tester.in   | 17 ++++++++++++-----
 tests/xzcompress_test.in       |  3 ++-
 26 files changed, 140 insertions(+), 97 deletions(-)

-- 
2.27.0



             reply	other threads:[~2021-03-15  2:20 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-15  2:20 Glenn Washburn [this message]
2021-03-15  2:20 ` [PATCH 1/8] tests: Make sure LANG is set properly for iso9660_test Glenn Washburn
2021-03-15  2:20 ` [PATCH 2/8] tests: Fix partmap_test for arm*-efi, disk numbering has changed Glenn Washburn
2021-03-15  2:20 ` [PATCH 3/8] tests: When checking squashfs fstime, use superblock last modified time Glenn Washburn
2021-03-15  2:20 ` [PATCH 4/8] tests: Fail immediately when grub-shell fails and do not occlude the error code Glenn Washburn
2021-03-15  2:20 ` [PATCH 5/8] tests: Make setup errors in grub-fs-tester hard errors Glenn Washburn
2021-03-15  2:20 ` [PATCH 6/8] tests: A failure of mktemp should cause the test script to exit with code 99 Glenn Washburn
2021-03-15  2:20 ` [PATCH 7/8] tests: Exit with skipped exit code when test not performed Glenn Washburn
2021-03-15  2:20 ` [PATCH 8/8] tests: Use @BUILD_SHEBANG@ autoconf var instead of literal shell Glenn Washburn

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.1615773047.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.