Re: [PATCH 04/12] git-remote-mediawiki (t9361): test git-remote-mediawiki pull and push
From: Junio C Hamano <hidden>
Date: 2016-06-15 22:54:13
Matthieu Moy [off-list ref] writes:
quoted hunk
From: Guillaume Sasdy <redacted> 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 <redacted> Signed-off-by: Julien KHAYAT <redacted> Signed-off-by: Simon Perrat <redacted> Signed-off-by: Charles ROUSSEL <redacted> Signed-off-by: Guillaume SASDY <redacted> Signed-off-by: Matthieu Moy <redacted> --- 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.shdiff --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.