Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 542083D0B8 for ; Fri, 12 Apr 2024 20:50:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712955006; cv=none; b=lHF2qa3bDTwaPF5qX6EEHg5iC+/il5QM3yWfcK2jUEMWT7YFyOtr6SnT2StUnpM8YmbZmpEkUJ8eE+Rm2VVP3OG9VgkCwdq8W7pCoN81Icjl9aaTneeiiKhhXQCbzp6Z0o7lycgp+1YlnZMudMhodf+KXjKi38hK2RVpNXkXY2o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712955006; c=relaxed/simple; bh=eriWU+pIVobvU/fG7smrYwApXepLBtFwarrREyaYtJ4=; h=From:To:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=CJPNt7l0CNjhZ9DUMTAfBzWJL3JjcetZMB3hM8k3vzz2t+cV+vxSj2gTsHePNcJWniOYYdaU1OC/MmaKVB4ZK1LTruL1DT09Sze+o8oh83JsBa20jjwbGSsyY58xot0WA4Zf4tn3NzCdIkcC5MjTL3fxatwbeM0UVjsXLYsPvRA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=if4BokLp; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="if4BokLp" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1712955003; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=l8kavptrMnwdS+U5OUDGJn2SCubl44p928Hz2fOyn4E=; b=if4BokLpT4P04Ws40i6EbnExEwJF6o3JaWmlAc3qUl6lSTpu2/1QmfshZlLg9yIhabIM3E akRvureLwXOmV1NZPgm+nU4rxYG+IyBGJUK/oTsy2hHYIjYnAzMInmwZKRyAeenbzvVE0O CGB+U8Fr0nXtu+WdfaGHyHU2oAxw3Ik= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-121-8iVCmFsMPEey4SpbON30Kg-1; Fri, 12 Apr 2024 16:50:01 -0400 X-MC-Unique: 8iVCmFsMPEey4SpbON30Kg-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 6DA18188E9C1 for ; Fri, 12 Apr 2024 20:50:01 +0000 (UTC) Received: from aion.redhat.com (unknown [10.22.9.2]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 6238823D63 for ; Fri, 12 Apr 2024 20:50:01 +0000 (UTC) Received: from aion.redhat.com (localhost [IPv6:::1]) by aion.redhat.com (Postfix) with ESMTP id 146121483DC for ; Fri, 12 Apr 2024 16:50:01 -0400 (EDT) From: Scott Mayhew To: kdevops@lists.linux.dev Subject: [PATCH 1/6] oscheck.sh: add some special cases for cifs Date: Fri, 12 Apr 2024 16:49:55 -0400 Message-ID: <20240412205000.2329837-2-smayhew@redhat.com> In-Reply-To: <20240412205000.2329837-1-smayhew@redhat.com> References: <20240412205000.2329837-1-smayhew@redhat.com> Precedence: bulk X-Mailing-List: kdevops@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.5 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII"; x-default=true There's a few routines where we exit without doing anything if the filesystem is NFS. We need to do that for CIFS as well. Signed-off-by: Scott Mayhew --- workflows/fstests/scripts/oscheck.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/workflows/fstests/scripts/oscheck.sh b/workflows/fstests/scripts/oscheck.sh index 5a3167a..3421244 100755 --- a/workflows/fstests/scripts/oscheck.sh +++ b/workflows/fstests/scripts/oscheck.sh @@ -439,8 +439,8 @@ _check_dev_setup() { mkdir -p $TEST_DIR - # Nothing to be done for NFS - if [ "$FSTYP" = "nfs" ]; then + # Nothing to be done for NFS or CIFS + if [ "$FSTYP" = "nfs" -o "$FSTYP" = "cifs" ]; then return fi @@ -520,7 +520,7 @@ check_test_dev_setup() fi # FIXME: check server for reachability? - if [ "$FSTYP" = "nfs" ]; then + if [ "$FSTYP" = "nfs" -o "$FSTYP" = "cifs" ]; then return fi @@ -548,7 +548,7 @@ check_dev_pool() { DEV_POOL_RET=0 - if [ "$FSTYP" = "nfs" ]; then + if [ "$FSTYP" = "nfs" -o "$FSTYP" = "cifs" ]; then return 0 fi -- 2.44.0