summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2018-05-29 11:56:13 +0200
committerAmar Tumballi <amarts@redhat.com>2018-06-21 05:37:09 +0000
commita2b65d01f5feb68a3bf56399c7815e5f0a73101f (patch)
tree0273fd9fb9f4bef2b24b548d8df12cfe5fa07d0f /tests
parent13b5ab49ac8f700eab0f32011e0d42b789ab00ab (diff)
client: remove the "connecting" state - it's not used
The "connecting" state is not used anywhere really. It's only being set and printed. So remove it. Change-Id: I11fc8b0bdcda5a812d065543aa447d39957d3b38 fixes: bz#1583583 Signed-off-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/volume.rc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/volume.rc b/tests/volume.rc
index ea8cfb666a1..492b08a4d9d 100644
--- a/tests/volume.rc
+++ b/tests/volume.rc
@@ -139,7 +139,7 @@ function cleanup_mount_statedump {
function snap_client_connected_status {
local vol=$1
local fpath=$(generate_mount_statedump $vol)
- up=$(grep -a -A2 xlator.protocol.client.$vol-snapd-client.priv $fpath | tail -1 | cut -f 2 -d'=')
+ up=$(grep -a -A1 xlator.protocol.client.$vol-snapd-client.priv $fpath | tail -1 | cut -f 2 -d'=')
rm -f $fpath
echo "$up"
}