From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1mRMuR-0005qr-0i for mharc-grub-devel@gnu.org; Fri, 17 Sep 2021 19:04:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59296) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mRMuP-0005lA-DH for grub-devel@gnu.org; Fri, 17 Sep 2021 19:04:41 -0400 Received: from mail-il1-x135.google.com ([2607:f8b0:4864:20::135]:37573) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mRMuN-0005uZ-Rm for grub-devel@gnu.org; Fri, 17 Sep 2021 19:04:41 -0400 Received: by mail-il1-x135.google.com with SMTP id i13so11929564ilm.4 for ; Fri, 17 Sep 2021 16:04:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=efficientek-com.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=o2gFxHSM4L05SeqjEzZdRr25yVs+6oqhOKzswNFEymA=; b=mGbiF9xOlZgqWpaGgJv2Ymdeyj1hAysc4m9RKAr5eYqwVfnc/CXka+u8kEibrgw/9F ITyv3Jsp+vfU6XSaV6SmHuerONTShHNt0trTVlSuLveSfpsC1tzuYHeo78/Qu6qpxbQx Mbk6lvajubWLnkQwBAjeutEX+oWtOnFsnyzYRnnvmXO3y4T3qH1T5+SGEYKDZAmpf2tW MB3dWIwILZYHw1xUqbnfm4+BiGTaH5486+S8ylhNnyP3Ct+RvQbuF5rctIIFLqU6R+WQ PUgORiIM1k6x3CGbg+Bt24KqXMkgqMU4jjHfXVneqYBTiEeC6IASu0DgNMOwc60J3lJe a/kw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=o2gFxHSM4L05SeqjEzZdRr25yVs+6oqhOKzswNFEymA=; b=39jNH5lhWrJu7IaWKp6rg3x5hf8wqsrnALqALSudg5ZfcZGLcgk0xzp6MqleoGy7T+ Y+wj+jUJQrSxKPtRiQVaqiryfpG3BT2nNeLIMaLA2QukqQEetk8FFhAmIdspQaZ+BI10 OAwJgsNq5/0YvHZEf9faM7qAUY/a3GQKZuaKRJYlnZITnVI36wJ+MR3s/vwOEBVcbJfQ DVgjiYQ1UhUliv21dF5O/J2ZMxYQVKatUEK3v1X//smTN+qCMuh4eeNLSocGQE1+2f2u 1VgTxAjsDZwd6WgAAemCAtVPL44ztOKUMWJLFQQpA0A75/7fqjousaqqdaQ5/7hGFhmS avXg== X-Gm-Message-State: AOAM5318B6nIQhzo1Jc2HS2RY4kK6qFiek5F91uU2FY/EHp7QKtsaR4N Hyf/Udy+/hmvEZ2TrbnXaqwFA2UOgUAFuVsp X-Google-Smtp-Source: ABdhPJyKoPm/n4usDOzl1OTy2sw0z0gpJZ+l5nnfpOrz3QvhuF8Kn7HEA6FkMSXfSKmn6nz5li0WhQ== X-Received: by 2002:a05:6e02:1c81:: with SMTP id w1mr9596982ill.112.1631919878680; Fri, 17 Sep 2021 16:04:38 -0700 (PDT) Received: from localhost.localdomain ([2806:103e:1d:2421:9e05:7c55:51:e84b]) by smtp.gmail.com with ESMTPSA id s7sm4218127ioc.42.2021.09.17.16.04.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Sep 2021 16:04:38 -0700 (PDT) From: Glenn Washburn To: grub-devel@gnu.org Cc: Glenn Washburn , Daniel Kiper Subject: [PATCH 07/10] tests: Skip hfs test only when mac_roman module is not loaded and not loadable Date: Fri, 17 Sep 2021 23:04:01 +0000 Message-Id: <20210917230404.1587915-8-development@efficientek.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210917230404.1587915-1-development@efficientek.com> References: <20210917230404.1587915-1-development@efficientek.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::135; envelope-from=development@efficientek.com; helo=mail-il1-x135.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Sep 2021 23:04:41 -0000 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 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 -- 2.32.0