]> git.ipfire.org Git - thirdparty/grub.git/commit
tests: Test aborts due to missing requirements should be marked as error instead...
authorGlenn Washburn <development@efficientek.com>
Thu, 14 Oct 2021 20:58:07 +0000 (15:58 -0500)
committerDaniel Kiper <daniel.kiper@oracle.com>
Mon, 25 Oct 2021 14:23:34 +0000 (16:23 +0200)
commita21618c8a92169fa163765b53a0363801481ca34
tree8ae40eec39c623bafe8d33d245cfd8e94bab0a15
parentad59a3519a71077735cd1eebb9380dce44062fd0
tests: Test aborts due to missing requirements should be marked as error instead of skipped

Many tests abort due to not being root or missing tools, for instance mkfs
commands for file system tests. The tests are exited with code 77, which
means they were skipped. A skipped test is a test that should not be run,
e.g. a test specific to ARM64 should not be run on an x86 build. These aborts
are actually a hard error, code 99. That means that the test could not be
completed, but not because what was supposed to be tested failed, e.g. in
these cases where a missing tool prevents the running of a test.

Signed-off-by: Glenn Washburn <development@efficientek.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
24 files changed:
tests/btrfs_test.in
tests/cpio_test.in
tests/exfat_test.in
tests/ext234_test.in
tests/f2fs_test.in
tests/fat_test.in
tests/gzcompress_test.in
tests/hfs_test.in
tests/hfsplus_test.in
tests/iso9660_test.in
tests/jfs_test.in
tests/lzocompress_test.in
tests/minixfs_test.in
tests/nilfs2_test.in
tests/ntfs_test.in
tests/partmap_test.in
tests/reiserfs_test.in
tests/romfs_test.in
tests/squashfs_test.in
tests/tar_test.in
tests/udf_test.in
tests/xfs_test.in
tests/xzcompress_test.in
tests/zfs_test.in