summaryrefslogtreecommitdiffstats
path: root/tests/bugs/replicate/bug-977797.t
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs/replicate/bug-977797.t')
-rwxr-xr-xtests/bugs/replicate/bug-977797.t4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/bugs/replicate/bug-977797.t b/tests/bugs/replicate/bug-977797.t
index 72c616ba68e..ea9a98adc23 100755
--- a/tests/bugs/replicate/bug-977797.t
+++ b/tests/bugs/replicate/bug-977797.t
@@ -53,7 +53,9 @@ TEST chmod 757 $M0/a/file
TEST $CLI volume start $V0 force
EXPECT_WITHIN $CHILD_UP_TIMEOUT "1" afr_child_up_status $V0 1;
-TEST dd if=$M0/a/file of=/dev/null bs=1024k
+dd if=$M0/a/file of=/dev/null bs=1024k
+#read fails, but heal is triggered.
+TEST [ $? -ne 0 ]
EXPECT_WITHIN $HEAL_TIMEOUT "00000000" \
afr_get_specific_changelog_xattr $B0/$V0"1"/a/file trusted.afr.$V0-client-0 "data"