diff options
author | Raghavendra Bhat <raghavendra@redhat.com> | 2013-01-28 12:55:17 +0530 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2013-01-28 00:20:46 -0800 |
commit | 99e63168c498cf57f3f8fabab1d2b86a4ea639ce (patch) | |
tree | 51da917d93b3832a92d0851afc6c0f4f16511231 /tests/bugs | |
parent | c950d3f0e104fc7b78e493ad7ca0005a600b00f9 (diff) |
cluster/afr: before checking lock_count of internal lock make sure its not
entrylk
when the expected lock count is equal to the attempted lock count, then before
deciding that lock is failed on all the nodes, make sure the lock type is
checked properly.
Change-Id: I1f362d54320cb6ec5654c5c69915c0f61c91d8c7
BUG: 765564
Signed-off-by: Raghavendra Bhat <raghavendra@redhat.com>
Reviewed-on: http://review.gluster.org/4436
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'tests/bugs')
-rw-r--r-- | tests/bugs/bug-765564.t | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/bugs/bug-765564.t b/tests/bugs/bug-765564.t index cf00f520f14..c1f29d92e09 100644 --- a/tests/bugs/bug-765564.t +++ b/tests/bugs/bug-765564.t @@ -63,6 +63,9 @@ function rm_mv_correctness () { return $ret } +TEST touch a; +TEST mv a b; + TEST rm_mv_correctness; TEST umount $M0; cleanup; |