Squashed 'third_party/git/' content from commit cb71568594
git-subtree-dir: third_party/git git-subtree-split: cb715685942260375e1eb8153b0768a376e4ece7
This commit is contained in:
commit
1b593e1ea4
3629 changed files with 1139935 additions and 0 deletions
23
contrib/mw-to-git/t/t9365-continuing-queries.sh
Executable file
23
contrib/mw-to-git/t/t9365-continuing-queries.sh
Executable file
|
|
@ -0,0 +1,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
|
||||
Loading…
Add table
Add a link
Reference in a new issue