Git 2.7
[alt-git.git] / contrib / mw-to-git / t / t9365-continuing-queries.sh
blob016454749f8dfa8539c7af1ca7fe4338414ab661
1 #!/bin/sh
3 test_description='Test the Git Mediawiki remote helper: queries w/ more than 500 results'
5 . ./test-gitmw-lib.sh
6 . $TEST_DIRECTORY/test-lib.sh
8 test_check_precond
10 test_expect_success 'creating page w/ >500 revisions' '
11 wiki_reset &&
12 for i in $(test_seq 501)
14 echo "creating revision $i" &&
15 wiki_editpage foo "revision $i<br/>" true
16 done
19 test_expect_success 'cloning page w/ >500 revisions' '
20 git clone mediawiki::'"$WIKI_URL"' mw_dir
23 test_done