diff options
author | Krutika Dhananjay <kdhananj@redhat.com> | 2015-04-07 16:36:27 +0530 |
---|---|---|
committer | Pranith Kumar Karampuri <pkarampu@redhat.com> | 2015-04-08 06:06:25 +0000 |
commit | 1d8e04c2544dec0a0f7fd8ada76287db2a2f71c1 (patch) | |
tree | c23f6d80e2c2b21592e4e10c5f86f6a35bd79edd /tests/basic | |
parent | 20e86a1b4c733934ff9960314d06697ad05a4528 (diff) |
tests: Replace getxattr with getfattr
Change-Id: Ibbe97dae51a81c8d5142c53a57fd9c630dfb6f46
BUG: 1191396
Signed-off-by: Krutika Dhananjay <kdhananj@redhat.com>
Reviewed-on: http://review.gluster.org/10153
Reviewed-by: Anuradha Talur <atalur@redhat.com>
Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
Tested-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'tests/basic')
-rw-r--r-- | tests/basic/afr/split-brain-resolution.t | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/basic/afr/split-brain-resolution.t b/tests/basic/afr/split-brain-resolution.t index feb527a71b3..03e51cf92b1 100644 --- a/tests/basic/afr/split-brain-resolution.t +++ b/tests/basic/afr/split-brain-resolution.t @@ -41,7 +41,7 @@ EXPECT_WITHIN $PROCESS_UP_TIMEOUT "1" afr_child_up_status $V0 1 EXPECT 4 afr_get_pending_heal_count $V0 TEST ! cat $M0/data-split-brain.txt -TEST ! getxattr -n user.test $M0/metadata-split-brain.txt +TEST ! getfattr -n user.test $M0/metadata-split-brain.txt #Inspect file in data-split-brain EXPECT "data-split-brain:yes metadata-split-brain:no Choices:patchy-client-0,patchy-client-1" get_split_brain_status $M0/data-split-brain.txt @@ -67,7 +67,7 @@ EXPECT "brick1" get_text_xattr user.test $M0/metadata-split-brain.txt #Check that setting split-brain-choice to "none" results in EIO again TEST setfattr -n replica.split-brain-choice -v none $M0/metadata-split-brain.txt TEST setfattr -n replica.split-brain-choice -v none $M0/data-split-brain.txt -TEST ! getxattr -n user.test $M0/metadata-split-brain.txt +TEST ! getfattr -n user.test $M0/metadata-split-brain.txt TEST ! cat $M0/data-split-brain.txt #Negative test cases should fail |