setup: set env $GIT_WORK_TREE when work tree is set, like $GIT_DIR
[git/debian.git] / contrib / mw-to-git / t / t9361-mw-to-git-push-pull.sh
blob9ea201459b53bc67025190288b43cc81e2d6fc77
1 #!/bin/sh
3 # Copyright (C) 2012
4 # Charles Roussel <charles.roussel@ensimag.imag.fr>
5 # Simon Cathebras <simon.cathebras@ensimag.imag.fr>
6 # Julien Khayat <julien.khayat@ensimag.imag.fr>
7 # Guillaume Sasdy <guillaume.sasdy@ensimag.imag.fr>
8 # Simon Perrat <simon.perrat@ensimag.imag.fr>
10 # License: GPL v2 or later
12 # tests for git-remote-mediawiki
14 test_description='Test the Git Mediawiki remote helper: git push and git pull simple test cases'
16 . ./test-gitmw-lib.sh
17 . ./push-pull-tests.sh
18 . $TEST_DIRECTORY/test-lib.sh
20 test_check_precond
22 test_push_pull
24 test_done