Skip to contentSkip to conversation

stable-2.02 - tests: missed char in list

PATCH Zdenek Kabelac 1 participant 1 message Oct 16, 2020

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=7d3e7266c76591be4b99487c2b1ea61ce525c074
Commit:        7d3e7266c76591be4b99487c2b1ea61ce525c074
Parent:        d1db024e169c3c6af08477524e8048d54b678714
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Wed Oct 17 10:41:25 2018 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Fri Oct 16 18:09:55 2020 +0200

tests: missed char in list

'=' also doesn't belong to property name.

---
 test/lib/aux.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
test/lib/aux.sh +1 -1
index 7235e69b8..0ab4cabaf 100644
@@ -1360,7 +1360,7 @@ EOF
 			echo "$s {"
 			local k
 			for k in $(grep ^"$s"/ "$config_values" | cut -f1 -d= | sed -e 's, *$,,' | sort | uniq); do
-				grep "^$k[ =]" "$config_values" | tail -n 1 | sed -e "s,^$s/,	 ," || true
+				grep "^$k[ \t=]" "$config_values" | tail -n 1 | sed -e "s,^$s/,	 ," || true
 			done
 			echo "}"
 			echo