Re: rpc-coverage.t questions

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

 



> In test_fstat():
>      msg=$(sh -c 'tail -f $PFX/dir/file --pid=$$ & sleep 1 && echo hooha
>> $PFX/dir/file && sleep 1');
>
> NetBSD does not have the --pid option. I propose this change, which
> seems to obtain the same result with less complexity. Opinion?
>
> -    msg=$(sh -c 'tail -f $PFX/dir/file --pid=$$ & sleep 1 && echo hooha
>> $PFX/dir/file && sleep 1');
> +    echo hooha > $PFX/dir/file
> +    sleep 1
> +    msg=$(sh -c 'tail $PFX/dir/file')
>
>

Same changes i did for FreeBSD, these are applicable for OSX too - Thanks +1 :-)

-- 
Religious confuse piety with mere ritual, the virtuous confuse
regulation with outcomes
_______________________________________________
Gluster-devel mailing list
Gluster-devel@xxxxxxxxxxx
http://supercolony.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