> 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
[email protected]
http://supercolony.gluster.org/mailman/listinfo/gluster-devel

Reply via email to