summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinz Mauelshagen <heinzm@redhat.com>2017-10-19 17:41:44 +0200
committerHeinz Mauelshagen <heinzm@redhat.com>2017-10-19 17:41:44 +0200
commitd6f4563103a626bbe6a9e768a090233541ecd24c (patch)
tree5f78b32b1fb1287a4e114e7461dbff99ec20bf2f
parentf3ae99dcc0b73f5551c08a3e0af8a17b4448ac50 (diff)
downloadlvm2-d6f4563103a626bbe6a9e768a090233541ecd24c.tar.gz
test: remove 'should's from test to test target status race fix
-rw-r--r--test/shell/lvconvert-raid-status-validation.sh14
1 files changed, 6 insertions, 8 deletions
diff --git a/test/shell/lvconvert-raid-status-validation.sh b/test/shell/lvconvert-raid-status-validation.sh
index cee3bfe76..51c70486e 100644
--- a/test/shell/lvconvert-raid-status-validation.sh
+++ b/test/shell/lvconvert-raid-status-validation.sh
@@ -76,9 +76,8 @@ while true; do
# Before starting sync thread: "Aa X/X recover"
# from the valid case,
# Just finished sync thread: "Aa X/X recover"
- # We'll just put "should" for now
- should [ "${a[5]}" = "AA" ]
- should [ "${a[7]}" = "idle" ]
+ [ "${a[5]}" = "AA" ]
+ [ "${a[7]}" = "idle" ]
break
fi
sleep .1
@@ -105,9 +104,8 @@ while true; do
# Before starting sync thread: "Aa X/X recover"
# from the valid case,
# Just finished sync thread: "Aa X/X recover"
- # We'll just put "should" for now
- should [ "${a[5]}" = "AAA" ]
- should [ "${a[7]}" = "idle" ]
+ [ "${a[5]}" = "AAA" ]
+ [ "${a[7]}" = "idle" ]
break
fi
sleep .1
@@ -129,8 +127,8 @@ while true; do
[ "${a[5]}" = "aa" ]
[ "${a[7]}" = "resync" ]
else
- should [ "${a[5]}" = "AA" ]
- should [ "${a[7]}" = "idle" ]
+ [ "${a[5]}" = "AA" ]
+ [ "${a[7]}" = "idle" ]
break
fi
sleep .1