Skip to contentSkip to conversation

test/dm.sh: fix incorrect script name in cleanup error message

PATCH In review Yi Zhang 3 participants 3 messages Sep 11, 2025 libnvdimm: non-volatile memory device

lore
Share & tools
lore

Yi Zhang

author
#0 lore raw

PATCH 1/1 test/dm.sh: fix incorrect script name in cleanup error message

The cleanup() function was incorrectly referencing "test/sub-section.sh" instead of "test/dm.sh" in its error message.

---
 test/dm.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
test/dm.sh +1 -1
index b780a65..e68d491 100755
@@ -36,7 +36,7 @@ cleanup() {
 	for i in $namespaces
 	do
 		if ! $NDCTL destroy-namespace -f $i; then
-			echo "test/sub-section.sh: cleanup() failed to destroy $i"
+			echo "test/dm.sh: cleanup() failed to destroy $i"
 		fi
 	done
 	exit $rc
Signature · 1 line
2.45.1
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 4 lines · Yi Zhang

The cleanup() function was incorrectly referencing "test/sub-section.sh" instead of "test/dm.sh" in its error message.

Quoted 17 lines
---
 test/dm.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
test/dm.sh +1 -1
index b780a65..e68d491 100755
@@ -36,7 +36,7 @@ cleanup() {
 	for i in $namespaces
 	do
 		if ! $NDCTL destroy-namespace -f $i; then
-			echo "test/sub-section.sh: cleanup() failed to destroy $i"
+			echo "test/dm.sh: cleanup() failed to destroy $i"
 		fi
 	done
 	exit $rc