aboutsummaryrefslogtreecommitdiff
path: root/t/t0080-vcs-svn.sh
diff options
context:
space:
mode:
authorJonathan Nieder <jrnieder@gmail.com>2011-01-02 18:51:07 -0600
committerJonathan Nieder <jrnieder@gmail.com>2011-02-26 04:57:59 -0600
commit232087fd99915abaa7d917fd181ad8477bb689f2 (patch)
tree49cc5a9f42f601b501ff6822ca2f5370cc28fd6a /t/t0080-vcs-svn.sh
parent850c5ea44ce0b4aac3be7c4d14b38ec901e777d1 (diff)
downloadgit-232087fd99915abaa7d917fd181ad8477bb689f2.tar.gz
git-232087fd99915abaa7d917fd181ad8477bb689f2.tar.xz
tests: give vcs-svn/line_buffer its own test script
Split the line_buffer test into small pieces and move it to its own file as preparation for adding more tests. Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Diffstat (limited to 't/t0080-vcs-svn.sh')
-rwxr-xr-xt/t0080-vcs-svn.sh54
1 files changed, 0 insertions, 54 deletions
diff --git a/t/t0080-vcs-svn.sh b/t/t0080-vcs-svn.sh
index 8be97002a..99a314b08 100755
--- a/t/t0080-vcs-svn.sh
+++ b/t/t0080-vcs-svn.sh
@@ -76,60 +76,6 @@ test_expect_success 'obj pool: high-water mark' '
test_cmp expected actual
'
-test_expect_success 'line buffer' '
- echo HELLO >expected1 &&
- printf "%s\n" "" HELLO >expected2 &&
- echo >expected3 &&
- printf "%s\n" "" Q | q_to_nul >expected4 &&
- printf "%s\n" foo "" >expected5 &&
- printf "%s\n" "" foo >expected6 &&
-
- test-line-buffer <<-\EOF >actual1 &&
- read 5
- HELLO
- EOF
-
- test-line-buffer <<-\EOF >actual2 &&
- read 0
-
- copy 5
- HELLO
- EOF
-
- q_to_nul <<-\EOF |
- read 1
- Q
- EOF
- test-line-buffer >actual3 &&
-
- q_to_nul <<-\EOF |
- read 0
-
- copy 1
- Q
- EOF
- test-line-buffer >actual4 &&
-
- test-line-buffer <<-\EOF >actual5 &&
- read 5
- foo
- EOF
-
- test-line-buffer <<-\EOF >actual6 &&
- read 0
-
- copy 5
- foo
- EOF
-
- test_cmp expected1 actual1 &&
- test_cmp expected2 actual2 &&
- test_cmp expected3 actual3 &&
- test_cmp expected4 actual4 &&
- test_cmp expected5 actual5 &&
- test_cmp expected6 actual6
-'
-
test_expect_success 'string pool' '
echo a does not equal b >expected.differ &&
echo a equals a >expected.match &&