]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
common/rc: support gluster volume start with a slash
authorZorro Lang <zlang@redhat.com>
Wed, 22 Mar 2017 06:46:28 +0000 (14:46 +0800)
committerEryu Guan <eguan@redhat.com>
Wed, 22 Mar 2017 09:06:23 +0000 (17:06 +0800)
commit7687a3293c96b9cdccf716545e059842d5a5f982
treeeb6a96a30cf0f48d976a52bc05b137a045b43d6e
parent0753e1278f4d488edfe6263491108c8f20f4c400
common/rc: support gluster volume start with a slash

The format of glusterfs' TEST_DEV or SCRATCH_DEV is XXX:XXX or
XXX:/XXX, but xfstests can't accept the latter now. So change
the regular expression from "\w:\w" to ":/?", to accept more
glusterfs device format.

Signed-off-by: Zorro Lang <zlang@redhat.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
common/rc