test/dm.sh: fix incorrect script name in cleanup error message
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.
Signed-off-by Yi Zhang <[email protected]>
--- test/dm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
test/dm.sh +1 -1
@@ -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
Quoted 4 lines · Yi Zhang
The
cleanup()function was incorrectly referencing "test/sub-section.sh" instead of "test/dm.sh" in its error message.Signed-off-by Yi Zhang <[email protected]>
Reviewed-by Dave Jiang <[email protected]>
Quoted 17 lines
--- test/dm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)test/dm.sh +1
-1@@ -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
Alison Schofield
maintainerQuoted 2 lines · Yi Zhang
The
cleanup()function was incorrectly referencing "test/sub-section.sh" instead of "test/dm.sh" in its error message.
Thanks!
Applied https://github.com/pmem/ndctl/commits/pending/