]> git.ipfire.org Git - thirdparty/git.git/blob - 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
1 #!/bin/sh
2
3 test_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
8 test_check_precond
9
10 test_expect_success 'creating page w/ >500 revisions' '
11 wiki_reset &&
12 for i in $(test_seq 501)
13 do
14 echo "creating revision $i" &&
15 wiki_editpage foo "revision $i<br/>" true || return 1
16 done
17 '
18
19 test_expect_success 'cloning page w/ >500 revisions' '
20 git clone mediawiki::'"$WIKI_URL"' mw_dir
21 '
22
23 test_done