All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] common: Escape SCRATCH_DEV variable
@ 2021-03-24 22:48 André Almeida
  2021-03-24 22:48 ` [PATCH 2/2] generic/556: Fix rename test André Almeida
  2021-03-24 22:55 ` [PATCH 1/2] common: Escape SCRATCH_DEV variable Gabriel Krisman Bertazi
  0 siblings, 2 replies; 3+ messages in thread
From: André Almeida @ 2021-03-24 22:48 UTC (permalink / raw)
  To: fstests; +Cc: krisman, kernel, Lakshmipathi . G, Eryu Guan, André Almeida

Escape SCRATCH_DEV variable so it prints its name, instead of printing
the value. If the value is "", the error message will not be very
informative.

Signed-off-by: André Almeida <andrealmeid@collabora.com>
---
 common/rc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/rc b/common/rc
index 6d1757da..fc1a7751 100644
--- a/common/rc
+++ b/common/rc
@@ -1537,7 +1537,7 @@ _require_scratch_nocheck()
 	tmpfs)
 		if [ -z "$SCRATCH_DEV" -o ! -d "$SCRATCH_MNT" ];
 		then
-		    _notrun "this test requires a valid \$SCRATCH_MNT and unique $SCRATCH_DEV"
+		    _notrun "this test requires a valid \$SCRATCH_MNT and unique \$SCRATCH_DEV"
 		fi
 		;;
 	ubifs)
-- 
2.31.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-03-24 22:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-24 22:48 [PATCH 1/2] common: Escape SCRATCH_DEV variable André Almeida
2021-03-24 22:48 ` [PATCH 2/2] generic/556: Fix rename test André Almeida
2021-03-24 22:55 ` [PATCH 1/2] common: Escape SCRATCH_DEV variable Gabriel Krisman Bertazi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.