[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <176169820051.1433624.4158113392739761085.stgit@frogsfrogsfrogs>
Date: Tue, 28 Oct 2025 18:21:28 -0700
From: "Darrick J. Wong" <djwong@...nel.org>
To: djwong@...nel.org, zlang@...hat.com
Cc: neal@...pa.dev, fstests@...r.kernel.org, linux-ext4@...r.kernel.org,
 linux-fsdevel@...r.kernel.org, joannelkoong@...il.com, bernd@...ernd.com
Subject: [PATCH 04/33] common/rc: skip test if swapon doesn't work
From: Darrick J. Wong <djwong@...nel.org>
In _require_scratch_swapfile, skip the test if swapon fails for whatever
reason, just like all the other filesystems.
Signed-off-by: "Darrick J. Wong" <djwong@...nel.org>
---
 common/rc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/rc b/common/rc
index 18d11e2c5cad3a..98609cb6e7a058 100644
--- a/common/rc
+++ b/common/rc
@@ -3278,7 +3278,7 @@ _require_scratch_swapfile()
 				_notrun "swapfiles are not supported"
 			else
 				_scratch_unmount
-				_fail "swapon failed for $FSTYP"
+				_notrun "swapon failed for $FSTYP"
 			fi
 		fi
 		;;
Powered by blists - more mailing lists
 
