diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2017-06-29 08:41:43 +0200 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2017-06-29 22:23:17 +0200 |
commit | c0197040a5c68af8314b5466c8b1f61b381044f6 (patch) | |
tree | 879217075b9bf9cf127f56db9402bf65c4e14643 | |
parent | 824db54128ef6831629d86ef3b472164048fc227 (diff) | |
download | lvm2-c0197040a5c68af8314b5466c8b1f61b381044f6.tar.gz |
tests: check.sh using grep -F
fgrep is non-standard and deprecated. Use grep -F instead.
-rw-r--r-- | test/lib/check.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib/check.sh b/test/lib/check.sh index 6f56ea320..1ec1babab 100644 --- a/test/lib/check.sh +++ b/test/lib/check.sh @@ -148,7 +148,7 @@ mirror_nonredundant() { attr=$(get lv_field "$lv" attr) (echo "$attr" | grep "^......m...$" >/dev/null) || { if (echo "$attr" | grep "^o.........$" >/dev/null) && - lvs -a | fgrep "[${2}_mimage" >/dev/null; then + lvs -a | grep -F "[${2}_mimage" >/dev/null; then echo "TEST WARNING: $lv is a snapshot origin and looks like a mirror," echo "assuming it is actually a mirror" else |