X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft0081-line-buffer.sh;h=5067d1e15b566721c1a3ae79052cbcb023a03656;hb=c7fe5b61e15cc5195e33f7d5e5ec452e6966c1ad;hp=1dbe1c9b08c1d5140bf237bfee2a02cf4831d261;hpb=149971badc562f4e5ee66c045f40c904fb29eab6;p=git.git diff --git a/t/t0081-line-buffer.sh b/t/t0081-line-buffer.sh index 1dbe1c9b0..5067d1e15 100755 --- a/t/t0081-line-buffer.sh +++ b/t/t0081-line-buffer.sh @@ -47,10 +47,10 @@ long_read_test () { rm -f input && mkfifo input && { - { + ( generate_tens_of_lines $tens_of_lines "$line" && - sleep 100 - } >input & + exec sleep 100 + ) >input & } && test-line-buffer input <<-EOF >output && binary $readsize @@ -109,11 +109,11 @@ test_expect_success PIPE '1-byte read, no input available' ' rm -f input && mkfifo input && { - { + ( printf "%s" a && printf "%s" b && - sleep 100 - } >input & + exec sleep 100 + ) >input & } && test-line-buffer input <<-\EOF >actual && binary 1