]> sourceware.org Git - lvm2.git/commitdiff
tests: aux.sh use grep -E
authorZdenek Kabelac <zkabelac@redhat.com>
Sat, 1 Jul 2017 07:41:14 +0000 (09:41 +0200)
committerZdenek Kabelac <zkabelac@redhat.com>
Mon, 10 Jul 2017 12:23:53 +0000 (14:23 +0200)
egrep is nonstandard.

test/lib/aux.sh

index 21c94ac902d3dfb7d7f7cf7a61a39301fba6a4e6..6ac57d4e2cd7521df7facd43e17b809b51b92014 100644 (file)
@@ -545,7 +545,7 @@ teardown() {
 
        kill_sleep_kill_ LOCAL_LVMETAD "${LVM_VALGRIND_LVMETAD:-0}"
 
-       dm_table | not egrep -q "$vg|$vg1|$vg2|$vg3|$vg4" || {
+       dm_table | not grep -E -q "$vg|$vg1|$vg2|$vg3|$vg4" || {
                # Avoid activation of dmeventd if there is no pid
                cfg=$(test -s LOCAL_DMEVENTD || echo "--config activation{monitoring=0}")
                if dm_info suspended,name | grep -q "^Suspended:.*$prefix" ; then
This page took 0.03271 seconds and 5 git commands to generate.