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

Signed-off-by: Yi Zhang <yi.zh...@redhat.com>
---
 test/dm.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/dm.sh b/test/dm.sh
index b780a65..e68d491 100755
--- a/test/dm.sh
+++ b/test/dm.sh
@@ -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
-- 
2.45.1


Reply via email to