diff options
Diffstat (limited to 't/t0081-line-buffer.sh')
-rwxr-xr-x | t/t0081-line-buffer.sh | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/t/t0081-line-buffer.sh b/t/t0081-line-buffer.sh index 1dbe1c9b08..5067d1e15b 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 |