Skip to contentSkip to conversation

main - tests: fix cutandpaste bug in wrapper

PATCH Zdenek Kabelac 1 participant 1 message Feb 10, 2023

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=b29b8e0bb293762dafd98bfbca0e225b23f0343b
Commit:        b29b8e0bb293762dafd98bfbca0e225b23f0343b
Parent:        a0437225aa799ed4685e60534fcbdc867fd26947
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Thu Feb 9 13:42:11 2023 +0100
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Fri Feb 10 17:50:27 2023 +0100

tests: fix cutandpaste bug in wrapper

Use correct variable name for assign.

---
 test/lib/lvm_vdo_wrapper.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
test/lib/lvm_vdo_wrapper.sh +1 -1
index 25a6ce0fe..d90ba8d42 100755
@@ -113,7 +113,7 @@ do
 	  "--vdoLogicalSize") shift; vdo_logicalSize=$1 ;;
 	  "--vdoLogicalThreads") shift; vdo_logicalThreads=$1 ;;
 	  "--vdoLogLevel") shift ;;	# ignored
-	  "--vdoPhysicalThreads") shift; vdo_physicalSize=$1 ;;
+	  "--vdoPhysicalThreads") shift; vdo_physicalThreads=$1 ;;
 	  "--vdoSlabSize") shift; vdo_slabSize=$1 ;;
 	  "--verbose"|"-d"|"--debug") vdo_verbose="-v" ;;
 	  "--writePolicy") shift; vdo_writePolicy=$1 ;;