Skip to contentSkip to conversation

master - tests: fix bash regex syntax

PATCH Zdenek Kabelac 1 participant 1 message Sep 16, 2020

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=49292bccc3ce15a729086cc34cbe8b8230948b3b
Commit:        49292bccc3ce15a729086cc34cbe8b8230948b3b
Parent:        2c6bd480b28bec43c7c2652938233d8850f00928
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Wed Sep 16 13:12:17 2020 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Wed Sep 16 14:08:05 2020 +0200

tests: fix bash regex syntax

Typo before last commit.

---
 test/shell/cache-single-split.sh              | 2 +-
 test/shell/lvextend-thin-metadata-dmeventd.sh | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
test/shell/cache-single-split.sh +1 -1
index a6deb0dc9..ffe4292de 100644
@@ -50,7 +50,7 @@ which mkfs.xfs || skip
 
 case $(cache_check -V) in
 # support for v2 starts with version 0.7
-0.[0..6]*) skip 'At least version 0.7 of cache_check tool is needed.' ;;
+0.[0-6]*) skip 'At least version 0.7 of cache_check tool is needed.' ;;
 esac
 
 mount_dir="mnt"
test/shell/lvextend-thin-metadata-dmeventd.sh +1 -1
index db4f7c156..3a837326c 100644
@@ -63,7 +63,7 @@ aux have_thin 1 10 0 || skip
 BIG_DATA=""
 case $("$LVM_TEST_THIN_RESTORE_CMD" -V) in
 	# With older version of thin-tool we got slightly more compact metadata
-	0.[0..6]*) BIG_DATA="generate_more_metadata" ;;
+	0.[0-6]*) BIG_DATA="generate_more_metadata" ;;
 esac
 
 aux prepare_dmeventd