From dcc1696045f12127ff37e6312a04c0024c8a4e24 Mon Sep 17 00:00:00 2001 From: Raghavendra Bhat Date: Tue, 15 Jul 2014 15:55:34 +0530 Subject: mgmt/glusterd: do not check for snapd handle in restore if uss is disabled Change-Id: I01afe64685a5794cce9265580c6c5de57a045201 BUG: 1119582 Signed-off-by: Raghavendra Bhat Reviewed-on: http://review.gluster.org/8310 Tested-by: Gluster Build System Reviewed-by: Kaushal M --- tests/bugs/bug-1119582.t | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 tests/bugs/bug-1119582.t (limited to 'tests/bugs') diff --git a/tests/bugs/bug-1119582.t b/tests/bugs/bug-1119582.t new file mode 100644 index 00000000000..9251927e314 --- /dev/null +++ b/tests/bugs/bug-1119582.t @@ -0,0 +1,24 @@ +#!/bin/bash + +. $(dirname $0)/../include.rc +. $(dirname $0)/../volume.rc +. $(dirname $0)/../fileio.rc +. $(dirname $0)/../nfs.rc + +cleanup; + +TEST glusterd; + +TEST pidof glusterd; + +TEST $CLI volume create $V0 $H0:$B0/${V0}0 $H0:$B0/${V0}1 + +TEST $CLI volume set $V0 features.uss disable; + +TEST killall glusterd; + +rm -f /var/lib/glusterd/vols/$V0/snapd.info + +TEST glusterd + +cleanup ; -- cgit