Skip to contentSkip to conversation

master - tests: fix possible misspelling

PATCH Zdenek Kabelac 1 participant 1 message Jul 10, 2017

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=eba96a9720add0120b029a34fe8641297cd1e904
Commit:        eba96a9720add0120b029a34fe8641297cd1e904
Parent:        d4345220cc85a803b8c029adb472fc4d9f580659
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Thu Jul 6 20:08:53 2017 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Mon Jul 10 14:23:53 2017 +0200

tests: fix possible misspelling

Possible misspelling: FAILED_MIXED_STR may not be assigned, but FAIL_MIXED_STR is. Possible misspelling: FAILED_MULTI_STR may not be assigned, but FAIL_MULTI_STR is. Possible misspelling: FAILED_BLACK_STR may not be assigned, but FAIL_BLACK_STR is.

---
 test/shell/name-mangling.sh |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
test/shell/name-mangling.sh +3 -3
index 80e7b6c..3e67587 100644
@@ -76,13 +76,13 @@ function check_create_and_remove()
 
 	if [ "$dm_name" = "FAIL_MIXED" ]; then
 		r=0
-		grep "$FAILED_MIXED_STR" err || r=1
+		grep "$FAIL_MIXED_STR" err || r=1
 	elif [ "$dm_name" = "FAIL_MULTI" ]; then
 		r=0
-		grep "$FAILED_MULTI_STR" err || r=1
+		grep "$FAIL_MULTI_STR" err || r=1
 	elif [ "$dm_name" = "FAIL_BLACK" ]; then
 		r=0
-		grep "$FAILED_BLACK_STR" err || r=1
+		grep "$FAIL_BLACK_STR" err || r=1
 	fi
 
 	return $r