diff options
author | Jonathan Nieder <jrnieder@gmail.com> | 2011-01-02 18:50:16 -0600 |
---|---|---|
committer | Jonathan Nieder <jrnieder@gmail.com> | 2011-02-26 04:57:59 -0600 |
commit | 850c5ea44ce0b4aac3be7c4d14b38ec901e777d1 (patch) | |
tree | 1cf9b395768c7d375b5e1f9d0938c70222a31cfc /t/t0080-vcs-svn.sh | |
parent | e5e45ca1e35482d120a7ce776cf208369edcc459 (diff) | |
download | git-850c5ea44ce0b4aac3be7c4d14b38ec901e777d1.tar.gz |
vcs-svn: make test-line-buffer input format more flexible
Imitate the input format of test-obj-pool to support arbitrary
sequences of commands rather than alternating read/copy. This should
make it easier to add tests that exercise other line_buffer functions.
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Diffstat (limited to 't/t0080-vcs-svn.sh')
-rwxr-xr-x | t/t0080-vcs-svn.sh | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/t/t0080-vcs-svn.sh b/t/t0080-vcs-svn.sh index d3225ada68..8be97002ae 100755 --- a/t/t0080-vcs-svn.sh +++ b/t/t0080-vcs-svn.sh @@ -85,40 +85,40 @@ test_expect_success 'line buffer' ' printf "%s\n" "" foo >expected6 && test-line-buffer <<-\EOF >actual1 && - 5 + read 5 HELLO EOF test-line-buffer <<-\EOF >actual2 && - 0 + read 0 - 5 + copy 5 HELLO EOF q_to_nul <<-\EOF | - 1 + read 1 Q EOF test-line-buffer >actual3 && q_to_nul <<-\EOF | - 0 + read 0 - 1 + copy 1 Q EOF test-line-buffer >actual4 && test-line-buffer <<-\EOF >actual5 && - 5 + read 5 foo EOF test-line-buffer <<-\EOF >actual6 && - 0 + read 0 - 5 + copy 5 foo EOF |