diff options
author | Xavier Hernandez <xhernandez@datalab.es> | 2014-07-15 18:43:44 +0200 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2014-08-01 23:48:47 -0700 |
commit | d9fbc8518962c8607cc741626c2e197098e749b5 (patch) | |
tree | 36368e52369190ad92aa20ab5cb0b3a90c482972 /xlators/cluster/ec/src/ec-helpers.c | |
parent | 410c15a1fb1b9f1cfaa5ee315b9ca39e27c04ec8 (diff) |
ec: Test volume mount point in a better way
An 'ls -a1' on an empty volume seems to return 3 entries instead
of the expected 2 ('.' and '..') in the build servers. I changed
the test to a simple 'stat', which is enough and more reliable.
Change-Id: I12d0f47394ad378b40fc9b86507cdb3543f99970
Signed-off-by: Xavier Hernandez <xhernandez@datalab.es>
Reviewed-on: http://review.gluster.org/8313
Reviewed-by: Jeff Darcy <jdarcy@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Humble Devassy Chirammal <humble.devassy@gmail.com>
Reviewed-by: Raghavendra Bhat <raghavendra@redhat.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'xlators/cluster/ec/src/ec-helpers.c')
0 files changed, 0 insertions, 0 deletions