contrib / mw-to-git / t / t9365-continuing-queries.shon commit Merge branch 'sb/hashmap-customize-comparison' (91f6922)
   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 &&
  12        for i in $(test_seq 501)
  13        do
  14                echo "creating revision $i" &&
  15                wiki_editpage foo "revision $i<br/>" true
  16        done
  17'
  18
  19test_expect_success 'cloning page w/ >500 revisions' '
  20        git clone mediawiki::'"$WIKI_URL"' mw_dir
  21'
  22
  23test_done