Matthieu Moy <Matthieu.Moy@xxxxxxx> writes: > From: Guillaume Sasdy <guillaume.sasdy@xxxxxxxxxxxxxxx> > > This patch provides a set of tests for the pull and push fonctionnality > of git-remote-mediawiki. The actual tests are kept in a separate function > to allow further tests to re-run the same set of commands with different > push and pull strategies. > > Signed-off-by: Simon CATHEBRAS <Simon.Cathebras@xxxxxxxxxxxxxxx> > Signed-off-by: Julien KHAYAT <Julien.Khayat@xxxxxxxxxxxxxxx> > Signed-off-by: Simon Perrat <simon.perrat@xxxxxxxxxxxxxxx> > Signed-off-by: Charles ROUSSEL <Charles.Roussel@xxxxxxxxxxxxxxx> > Signed-off-by: Guillaume SASDY <Guillaume.Sasdy@xxxxxxxxxxxxxxx> > Signed-off-by: Matthieu Moy <Matthieu.Moy@xxxxxxx> > --- > contrib/mw-to-git/t/push-pull-tests.sh | 144 +++++++++++++++++++++++ > contrib/mw-to-git/t/t9361-mw-to-git-push-pull.sh | 24 ++++ > 2 files changed, 168 insertions(+) > create mode 100644 contrib/mw-to-git/t/push-pull-tests.sh > create mode 100755 contrib/mw-to-git/t/t9361-mw-to-git-push-pull.sh > > diff --git a/contrib/mw-to-git/t/push-pull-tests.sh b/contrib/mw-to-git/t/push-pull-tests.sh > new file mode 100644 > index 0000000..b9e38dc > --- /dev/null > +++ b/contrib/mw-to-git/t/push-pull-tests.sh > @@ -0,0 +1,144 @@ > +test_push_pull () { > + > + test_expect_success 'Git pull works after adding a new wiki page' ' > + wiki_reset && > + Trailing whitespace > + git clone mediawiki::'"$WIKI_URL"' mw_dir_1 && > + wiki_editpage Foo "page created after the git clone" false && > + Trailing whitespace There are many others, 16 in total, I think. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html