diff options
Diffstat (limited to 'tests/bugs/bug-1095097.t')
-rwxr-xr-x | tests/bugs/bug-1095097.t | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/bugs/bug-1095097.t b/tests/bugs/bug-1095097.t new file mode 100755 index 00000000000..9f9db7a3df5 --- /dev/null +++ b/tests/bugs/bug-1095097.t @@ -0,0 +1,21 @@ +#!/bin/bash + +. $(dirname $0)/../include.rc + +cleanup; +TEST glusterd; +TEST pidof glusterd; +TEST $CLI volume info; + +TEST $CLI volume create $V0 $H0:$B0/brick1 $H0:$B1/brick1; +EXPECT 'Created' volinfo_field $V0 'Status'; + +TEST $CLI volume start $V0; +EXPECT 'Started' volinfo_field $V0 'Status'; + +TEST $CLI volume profile $V0 start +TEST $CLI volume profile $V0 info +TEST $CLI volume replace-brick $V0 $H0:$B0/brick1 $H0:$B0/brick2 start +TEST $CLI volume replace-brick $V0 $H0:$B0/brick1 $H0:$B0/brick2 status + +cleanup; |