diff options
author | Emmanuel Dreyfus <manu@netbsd.org> | 2015-01-08 06:22:17 +0100 |
---|---|---|
committer | Raghavendra Bhat <raghavendra@redhat.com> | 2015-03-14 03:14:28 -0700 |
commit | c5f344e4c3724cd08d3a3f48084ef5da504f6628 (patch) | |
tree | e0b01667a1e336c340446798bacab05bd628712b | |
parent | fe416a671dd6b6ce8cb4d94e64154491a148993c (diff) |
afr : Fix bad shell calculation in tests/basic/afr/self-heald.t
Backport of: http://review.gluster.org/#/c/9414/
Original fix sent by Emmanuel Dreyfus.
Change-Id: If086dd55849cf42eefc2a62ce5b994975357e38f
BUG: 1194141
Signed-off-by: Emmanuel Dreyfus <manu@netbsd.org>
Reviewed-on: http://review.gluster.org/9414
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Signed-off-by: Anuradha <atalur@redhat.com>
Reviewed-on: http://review.gluster.org/9692
Reviewed-by: Ravishankar N <ravishankar@redhat.com>
Reviewed-by: Raghavendra Bhat <raghavendra@redhat.com>
-rw-r--r-- | tests/basic/afr/self-heald.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/basic/afr/self-heald.t b/tests/basic/afr/self-heald.t index 1c8bd0ff52e..a2d101edb59 100644 --- a/tests/basic/afr/self-heald.t +++ b/tests/basic/afr/self-heald.t @@ -49,7 +49,7 @@ TEST $CLI volume set $V0 cluster.eager-lock off TEST $CLI volume start $V0 TEST glusterfs --volfile-id=/$V0 --volfile-server=$H0 $M0 --attribute-timeout=0 --entry-timeout=0 -decide_kill=$((`date +"%j"`))%2 +decide_kill=$((`date +"%j"|sed 's/^0*//'` % 2 )) kill_multiple_bricks $V0 $H0 $B0 cd $M0 |