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>
		
			
				
	
	
		
			25 lines
		
	
	
		
			587 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			25 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
 |