summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/basic/afr/gfid-mismatch.t3
-rwxr-xr-xtests/bugs/bug-1046624.t1
-rw-r--r--tests/bugs/bug-765564.t1
3 files changed, 4 insertions, 1 deletions
diff --git a/tests/basic/afr/gfid-mismatch.t b/tests/basic/afr/gfid-mismatch.t
index 29951354a04..e22efec81cb 100644
--- a/tests/basic/afr/gfid-mismatch.t
+++ b/tests/basic/afr/gfid-mismatch.t
@@ -18,7 +18,8 @@ TEST glusterfs --volfile-id=$V0 --volfile-server=$H0 $M0 --entry-timeout=0 --att
#Test
TEST touch $M0/file
TEST setfattr -n trusted.gfid -v 0sBfz5vAdHTEK1GZ99qjqTIg== $B0/brick0/file
-TEST ! "find $M0/file | xargs stat"
+TEST ! "find $M0/file"
+TEST ! "stat $M0/file"
#Cleanup
EXPECT_WITHIN $UMOUNT_TIMEOUT "Y" force_umount $M0
diff --git a/tests/bugs/bug-1046624.t b/tests/bugs/bug-1046624.t
index 2bfa0745ce7..13ee45d2911 100755
--- a/tests/bugs/bug-1046624.t
+++ b/tests/bugs/bug-1046624.t
@@ -37,6 +37,7 @@ TEST `ln -s $M0/Dir $M0/Link2`
TEST $CLI volume start $V0 force
EXPECT_WITHIN $CHILD_UP_TIMEOUT "1" afr_child_up_status $V0 0
+TEST `find $M0/ 2>/dev/null 1>/dev/null`
TEST `find $M0/ | xargs stat 2>/dev/null 1>/dev/null`
TEST stat $B0/${V0}-0/Link1
diff --git a/tests/bugs/bug-765564.t b/tests/bugs/bug-765564.t
index 5e931d2d04c..fa8ead7f4f2 100644
--- a/tests/bugs/bug-765564.t
+++ b/tests/bugs/bug-765564.t
@@ -77,6 +77,7 @@ TEST mv $M0/h $M0/1;
TEST $CLI volume start $V0 force;
EXPECT_WITHIN $CHILD_UP_TIMEOUT "1" afr_child_up_status $V0 1;
+find $M0 2>/dev/null 1>/dev/null;
find $M0 | xargs stat 2>/dev/null 1>/dev/null;
TEST rm_mv_correctness;