summaryrefslogtreecommitdiff
path: root/t/t9400-git-cvsserver-server.sh
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2012-05-11 11:14:57 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-05-11 11:14:57 -0700
commit538847cd4c6a7398e8799a829d731be75f09152f (patch)
treef46d9761a59abc3cc6624c74d689f6ebfe28b164 /t/t9400-git-cvsserver-server.sh
parentMerge branch 'rl/show-empty-prefix' into maint (diff)
parenttests: modernise style: more uses of test_line_count (diff)
downloadtgif-538847cd4c6a7398e8799a829d731be75f09152f.tar.xz
Merge branch 'sl/test-wc-l-line-count' into maint
By Stefano Lattarini * sl/test-wc-l-line-count: tests: modernise style: more uses of test_line_count
Diffstat (limited to 't/t9400-git-cvsserver-server.sh')
-rwxr-xr-xt/t9400-git-cvsserver-server.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t9400-git-cvsserver-server.sh b/t/t9400-git-cvsserver-server.sh
index 173bf3d4af..806623e885 100755
--- a/t/t9400-git-cvsserver-server.sh
+++ b/t/t9400-git-cvsserver-server.sh
@@ -476,14 +476,14 @@ test_expect_success 'cvs status' '
cd cvswork &&
GIT_CONFIG="$git_config" cvs update &&
GIT_CONFIG="$git_config" cvs status | grep "^File: status.file" >../out &&
- test $(wc -l <../out) = 2
+ test_line_count = 2 ../out
'
cd "$WORKDIR"
test_expect_success 'cvs status (nonrecursive)' '
cd cvswork &&
GIT_CONFIG="$git_config" cvs status -l | grep "^File: status.file" >../out &&
- test $(wc -l <../out) = 1
+ test_line_count = 1 ../out
'
cd "$WORKDIR"