summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorEmmanuel Dreyfus <manu@netbsd.org>2014-11-17 15:52:28 +0100
committerVijay Bellur <vbellur@redhat.com>2014-11-19 22:47:08 -0800
commit4fbc86993a0b0e67bcf58b4882d9d86a8b8ba65a (patch)
tree3fd2cb183109dcf7a3aec26d6e4534713c7e512e /tests
parent463d3e379d63e37764bc190be6c2f790769bea58 (diff)
Regression tests portability: basic/ec/self-heal.t
When checking for bricks availability, use ls -l produces a more reliable result than just ls. BUG: 1129939 Change-Id: Ided548a8f4154714d2c33ec538d0623d7c328952 Signed-off-by: Emmanuel Dreyfus <manu@netbsd.org> Reviewed-on: http://review.gluster.org/9133 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Xavier Hernandez <xhernandez@datalab.es>
Diffstat (limited to 'tests')
-rw-r--r--tests/basic/ec/self-heal.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/basic/ec/self-heal.t b/tests/basic/ec/self-heal.t
index 5e5ad6b0447..3808fb49a97 100644
--- a/tests/basic/ec/self-heal.t
+++ b/tests/basic/ec/self-heal.t
@@ -10,7 +10,7 @@ cleanup
function check_mount_dir
{
for i in {1..20}; do
- ls | grep "dir1"
+ ls -l | grep "dir1"
if [ $? -ne 0 ]; then
return 1
fi