[Gluster-devel] split-brain-healing.t failure on NetBSD

Emmanuel Dreyfus manu at netbsd.org
Mon Mar 16 04:50:23 UTC 2015


Ravishankar N <ravishankar at redhat.com> wrote:

> Unless "replica_0_files_list=( $B0/${V0}1/* )" in NetBSD lists files 
> with complete path? It doesn't in Linux.

Right, this is the difference: original script uses 
replica_0_files_list=(`ls $B0/${V0}1`)

I use this because NetBSD's ls lists dot files when run as root:
replica_0_files_list=( $B0/${V0}1/* )

And indeed the later version gives me the complete path while the former
does not. This fix lets the test pass  better (there are still failure,
but not 100% of the time):
replica_0_files_list=(`ls $B0/${V0}1 | grep -v '^\.' `)

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu at netbsd.org


More information about the Gluster-devel mailing list