From patchwork Mon Sep 23 07:57:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: An Long X-Patchwork-Id: 13809364 Received: from mail-wr1-f51.google.com (mail-wr1-f51.google.com [209.85.221.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3B27718C36 for ; Mon, 23 Sep 2024 07:57:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727078237; cv=none; b=X+2FDpq66wUXIrJLvnD/KPvAdSO37rf4+l50Q/VM6HIqt50J7MsnHHUlAdO21zN8VVHONwmW22ApFYedjnqN2MBQjr02KdXnPKJjam1N7JE2riIj9B5Q5kA7AkYyEyeG7tx38OORESM9iB8RJqrJnZ5DtqfEyO3AYqfevQbq1Uk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727078237; c=relaxed/simple; bh=hdJ8meoxuDY9NsYfw8JQThRknsCv1bL+U3BGWtcS2MY=; h=Message-ID:Subject:From:To:Cc:Date:Content-Type:MIME-Version; b=lXCzuTCtbu0lN7Zqhnl/9WJFQzw5RVffQRl/bJR4yVDIDxc3+ozQ9MZRdCnpBwM1EIL+n+uQ9orsnf5MjgNQc6kd1jQw3hBl66mWSviaFYKgwh/DmsWabG5uVKlFhUD/XcMDfJOLH5Mumr9Sui2uVedCx1KFnyli15oHSqm0hv8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com; spf=pass smtp.mailfrom=suse.com; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b=EwBErmVa; arc=none smtp.client-ip=209.85.221.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b="EwBErmVa" Received: by mail-wr1-f51.google.com with SMTP id ffacd0b85a97d-374c1e5fe79so2870669f8f.1 for ; Mon, 23 Sep 2024 00:57:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=google; t=1727078233; x=1727683033; darn=vger.kernel.org; h=mime-version:user-agent:content-transfer-encoding:organization :autocrypt:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=5D2bVNr828NtzaaRmivYA2IOgyh3Yc0tQAK07PC1Pvw=; b=EwBErmVa8cwoJ9eSfSMahN9oFOVSTHEtySXos48wSXtl7oMqUdZhJ2i3VzHIuYOXCv 1DXvCQVWfneLt6vtG83cKgryhqCDm2f+aBTi4rLK21HoOeNePxVjfHIMAv6homv8/NzB QOg0CnXNaRlTt18ko1sYAbqPGsHnQeYsVTvMF6M9L2Vhs4wv+mDy1E8f6bzzbdD8x0cD D6Pb/fNue//QAKjbExKLyucGMwomjX3d/hv60482xlcTz8o+vLPsYFoenSWtNJsfBErw +ZhxEUaNHoX/697bqIZ4rqqHEJNdkP037EzIDEUZytfGwr/suEqSiSL/0GBks46Lp73x DIaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727078233; x=1727683033; h=mime-version:user-agent:content-transfer-encoding:organization :autocrypt:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=5D2bVNr828NtzaaRmivYA2IOgyh3Yc0tQAK07PC1Pvw=; b=WAGlswZzTt3zcZaCiBUzhy6kzgma+GOplKtNES7FQm92H/S6pqs83K2EyUkilpq0jt tt36qGdK7HBmsu0PWY/By+FOUddKpbgtWOu77zmcYKWeb7ZeQgmyigdBs3yiX9lJh/IG b+33ePsYJUsHiOAJhi4gqvysj3o9uR6VB/wD/rVc1dGpV3vQGb1wnWYEFoxriQvS0YnC I3XS/54aDZ0BSuQmfInJOChqNhZ8H5thnZHPJdtw96I7xpBhWriHQLg8wYhh3lWLObTK coqIW5IgZq16x/S8NRN6L/trcmLL83aNZ/EsOuU4AgftKccESkYYgjCLcc4Q7wcb8lUu qKEQ== X-Gm-Message-State: AOJu0Yw5zqxbHgiNZSL9Y1+nhD4x8d+oGotKVOckJ9X5O3NJe4zymqXP sOYadmN5b3ZD6Zfr9k/CtSc2X9hmtFjnpD0fVb5QKWZ/cNIcO1PsKhIqosJjRB/bOfiKrmq9UQd /aJ7ukA== X-Google-Smtp-Source: AGHT+IH4y6sePkLaNKuJQLzGOhRsZJbIvNskgol16A2jdAilHmwC9LaOpNfUOp1u5653CsrrfJccBw== X-Received: by 2002:a5d:6883:0:b0:374:ca92:5e44 with SMTP id ffacd0b85a97d-37a431648eamr5032129f8f.32.1727078232748; Mon, 23 Sep 2024 00:57:12 -0700 (PDT) Received: from [10.202.80.134] ([202.127.77.110]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2dd7f8ce902sm6622792a91.35.2024.09.23.00.57.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Sep 2024 00:57:12 -0700 (PDT) Message-ID: <29dc7fdf9dd8cfb05ece7d5eb07858529517022f.camel@suse.com> Subject: [PATCH v2] btrfs/315: update filter to match mount cmd From: An Long To: fstests@vger.kernel.org, linux-btrfs@vger.kernel.org Cc: lan@suse.com Date: Mon, 23 Sep 2024 15:57:13 +0800 Autocrypt: addr=lan@suse.com; prefer-encrypt=mutual; keydata=mQENBFvqfKcBCADKdcrLxNKpkBPfxZwVu1Q3ADpyWdnXZfyQOIO+1Z/WSDeXgr70HUhk/zu81WoO5WyXMK3N1dcS4KrOdNOmDp0H4G5hR+BIkgbIJpo4ekYWVdrAMT8oJgX5EgSIeuDdn2ZJ7K0EDLX9M7969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A3KtD5SBgUCW+p8pwIbDAAKCRBmwA3KtD5SBlJuCACzhZDj5+zuuqYMl07AiV5BqOkGmjghybACLtHjMZDbFOmxnvt7GOfTdf7ug1YguQQI6xIssqzGvXTJVgIfTP38dOSAssrYp78VyFtcAZMiN25GxOOqYlpwhKH1PAr04Ylizz/EZlbfCQ8XCFuTziZ7HwEyjTkvs5XUYJObEhj2Sv9ebhwm3vTZv0VTb8+BpxyQuuGYYakbH94D5Ne5gAC6FaCevXdeqjSCTzV6NZ5seldc3FogQ+TB+riX4G4SA4Nq36Xt4hpAoDoZhh25KsH/9Kq65+eyYKsCnpY+N3f4SAEf5NEODmGF9eKC0K8XcjhXGcpDmnae2tUnjWnjLBXO Organization: SUSE QE LSG, QE 2, Beijing User-Agent: Evolution 3.50.3 Precedence: bulk X-Mailing-List: fstests@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Mount error info changed since util-linux v2.40 (91ea38e libmount: report failed syscall name). So update _filter_mount_error() to match it. Signed-off-by: An Long Reviewed-by: Filipe Manana Reviewed-by: Zorro Lang --- tests/btrfs/315 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) } seed_device_must_fail() diff --git a/tests/btrfs/315 b/tests/btrfs/315 index 5852afad..5101a9a3 100755 --- a/tests/btrfs/315 +++ b/tests/btrfs/315 @@ -39,7 +39,11 @@ _filter_mount_error() # mount: : fsconfig system call failed: File exists. # dmesg(1) may have more information after failed mount system call. - grep -v dmesg | _filter_test_dir | sed -e "s/mount(2)\|fsconfig//g" + # For util-linux v2.4 and later: + # mount: : mount system call failed: File exists. + + grep -v dmesg | _filter_test_dir | sed -e "s/mount(2)\|fsconfig//g" | \ + sed -E "s/mount( system call failed:)/\1/"