mirror of
https://github.com/git/git.git
synced 2024-11-14 13:13:01 +01:00
36840225df
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> Signed-off-by: Junio C Hamano <gitster@pobox.com>
24 lines
587 B
Bash
Executable file
24 lines
587 B
Bash
Executable file
#!/bin/sh
|
|
#
|
|
# Copyright (C) 2012
|
|
# Charles Roussel <charles.roussel@ensimag.imag.fr>
|
|
# Simon Cathebras <simon.cathebras@ensimag.imag.fr>
|
|
# Julien Khayat <julien.khayat@ensimag.imag.fr>
|
|
# Guillaume Sasdy <guillaume.sasdy@ensimag.imag.fr>
|
|
# Simon Perrat <simon.perrat@ensimag.imag.fr>
|
|
#
|
|
# License: GPL v2 or later
|
|
|
|
# tests for git-remote-mediawiki
|
|
|
|
test_description='Test the Git Mediawiki remote helper: git push and git pull simple test cases'
|
|
|
|
. ./test-gitmw-lib.sh
|
|
. ./push-pull-tests.sh
|
|
. $TEST_DIRECTORY/test-lib.sh
|
|
|
|
test_check_precond
|
|
|
|
test_push_pull
|
|
|
|
test_done
|