Re: [PATCH 04/12] git-remote-mediawiki (t9361): test git-remote-mediawiki pull and push
Matthieu Moy <Matthieu.Moy@imag.fr> writes:
Show 31 quoted lines
> From: Guillaume Sasdy <guillaume.sasdy@ensimag.imag.fr>
>
> 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@ensimag.imag.fr>
> Signed-off-by: Julien KHAYAT <Julien.Khayat@ensimag.imag.fr>
> Signed-off-by: Simon Perrat <simon.perrat@ensimag.imag.fr>
> Signed-off-by: Charles ROUSSEL <Charles.Roussel@ensimag.imag.fr>
> Signed-off-by: Guillaume SASDY <Guillaume.Sasdy@ensimag.imag.fr>
> Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr>
> ---
> 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 &&
> + > + 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.