Re: split-brain-healing.t failure on NetBSD

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ravishankar N <ravishankar@xxxxxxxxxx> 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@xxxxxxxxxx
_______________________________________________
Gluster-devel mailing list
Gluster-devel@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-devel




[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux