diff options
author | Glenn Washburn <development@efficientek.com> | 2021-09-17 23:04:01 +0000 |
---|---|---|
committer | Daniel Kiper <daniel.kiper@oracle.com> | 2021-10-14 15:31:33 +0200 |
commit | 50a2a039052a98e114113c31519a8afd1d4b1ae0 (patch) | |
tree | 2588fd709d6afd747108eab9a6f6bc4818a45b5b | |
parent | 584f53546f034c0ca527d0daf54cdf8b18d2b48a (diff) | |
download | grub-50a2a039052a98e114113c31519a8afd1d4b1ae0.tar.gz |
tests: Skip HFS test only when mac_roman module is not loaded and not loadable
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 <development@efficientek.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
-rw-r--r-- | tests/hfs_test.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/hfs_test.in b/tests/hfs_test.in index d7ec56bef..5b0c5e33e 100644 --- a/tests/hfs_test.in +++ b/tests/hfs_test.in @@ -15,7 +15,7 @@ if ! which mkfs.hfs >/dev/null 2>&1; then exit 77 fi -if ! modprobe mac-roman; then +if ! grep -q mac_roman /proc/modules && ! modprobe mac_roman; then echo "no mac-roman support; cannot test HFS." exit 77 fi |