summaryrefslogtreecommitdiff
path: root/contrib/mw-to-git/t/t9365-continuing-queries.sh
blob: 016454749f8dfa8539c7af1ca7fe4338414ab661 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh

test_description='Test the Git Mediawiki remote helper: queries w/ more than 500 results'

. ./test-gitmw-lib.sh
. $TEST_DIRECTORY/test-lib.sh

test_check_precond

test_expect_success 'creating page w/ >500 revisions' '
	wiki_reset &&
	for i in $(test_seq 501)
	do
		echo "creating revision $i" &&
		wiki_editpage foo "revision $i<br/>" true
	done
'

test_expect_success 'cloning page w/ >500 revisions' '
	git clone mediawiki::'"$WIKI_URL"' mw_dir
'

test_done