]> git.ipfire.org Git - thirdparty/git.git/blame - contrib/mw-to-git/t/t9365-continuing-queries.sh
Merge branch 'en/fetch-negotiation-default-fix'
[thirdparty/git.git] / contrib / mw-to-git / t / t9365-continuing-queries.sh
CommitLineData
1d905f74
BP
1#!/bin/sh
2
3test_description='Test the Git Mediawiki remote helper: queries w/ more than 500 results'
4
5. ./test-gitmw-lib.sh
6. $TEST_DIRECTORY/test-lib.sh
7
8test_check_precond
9
10test_expect_success 'creating page w/ >500 revisions' '
11 wiki_reset &&
9bfeaa0b 12 for i in $(test_seq 501)
1d905f74
BP
13 do
14 echo "creating revision $i" &&
0c51d6b4 15 wiki_editpage foo "revision $i<br/>" true || return 1
1d905f74
BP
16 done
17'
18
19test_expect_success 'cloning page w/ >500 revisions' '
20 git clone mediawiki::'"$WIKI_URL"' mw_dir
21'
22
23test_done