[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 1/5] tests: Exit with skipped exit code when test not performed
From: |
Glenn Washburn |
Subject: |
[PATCH 1/5] tests: Exit with skipped exit code when test not performed |
Date: |
Sat, 19 Dec 2020 04:14:36 -0600 |
These tests were not performed and therefore did not pass, nor fail. This
fixes odd behavior where the pseries_test will pass on i386-pc.
Signed-off-by: Glenn Washburn <development@efficientek.com>
---
tests/core_compress_test.in | 2 +-
tests/pseries_test.in | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/core_compress_test.in b/tests/core_compress_test.in
index 9d216ebcf..2fd0a571c 100644
--- a/tests/core_compress_test.in
+++ b/tests/core_compress_test.in
@@ -22,7 +22,7 @@ grubshell=@builddir@/grub-shell
case "${grub_modinfo_target_cpu}-${grub_modinfo_platform}" in
# FIXME: Only mips currently supports configurable core compression
*-emu | i386-* | x86_64-* | sparc64-* | ia64-*)
- exit 0
+ exit 77
;;
esac
diff --git a/tests/pseries_test.in b/tests/pseries_test.in
index 655eb4f3a..9b4090cf5 100644
--- a/tests/pseries_test.in
+++ b/tests/pseries_test.in
@@ -20,7 +20,7 @@ grubshell=@builddir@/grub-shell
. "@builddir@/grub-core/modinfo.sh"
if [ "${grub_modinfo_target_cpu}-${grub_modinfo_platform}" != powerpc-ieee1275
]; then
- exit 0
+ exit 77
fi
if [ "$(echo hello | "${grubshell}" --pseries --timeout=180 --boot=cd)" !=
"Hello World" ]; then
--
2.27.0
- [PATCH 0/5] Testing improvements, Glenn Washburn, 2020/12/19
- [PATCH 1/5] tests: Exit with skipped exit code when test not performed,
Glenn Washburn <=
- [PATCH 2/5] tests: Make sure LANG is set properly for iso9660_test, Glenn Washburn, 2020/12/19
- [PATCH 3/5] tests: Make setup errors in grub-fs-tester hard errors, Glenn Washburn, 2020/12/19
- [PATCH 5/5] tests: Comment failing functional tests until we can get them working again, Glenn Washburn, 2020/12/19
- [PATCH 4/5] tests: Fix partmap_test for arm*-efi, disk numbering has changed, Glenn Washburn, 2020/12/19