Pádraig Brady wrote: > Jim Meyering wrote: >> >> Here's what I'm testing now: >> >> +for i in $(seq 10); do >> + test -s out && break >> + echo sleep .1s >> sleep .1 >> done > > Much better, thanks. > BTW, can't we rely on coreutils `test` in tests?
I suppose so, but you'd have to be careful to invoke it via "env test ..." to avoid using the shell built-in one.