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

Reply via email to