t0001 (mingw): do not expect a specific order of stdout/stderr
When redirecting stdout/stderr to the same file, we cannot guarantee that stdout will come first. In fact, in this test case, it seems that an MSVC build always prints stderr first. In any case, this test case does not want to verify the *order* but the *presence* of both outputs, so let's test exactly that. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>maint
							parent
							
								
									a5bdf9fdf1
								
							
						
					
					
						commit
						fdda1ac62d
					
				|  | @ -473,8 +473,8 @@ test_expect_success MINGW 'redirect std handles' ' | ||||||
| 		GIT_REDIRECT_STDOUT=output.txt \ | 		GIT_REDIRECT_STDOUT=output.txt \ | ||||||
| 		GIT_REDIRECT_STDERR="2>&1" \ | 		GIT_REDIRECT_STDERR="2>&1" \ | ||||||
| 		git rev-parse --git-dir --verify refs/invalid && | 		git rev-parse --git-dir --verify refs/invalid && | ||||||
| 	printf ".git\nfatal: Needed a single revision\n" >expect && | 	grep "^\\.git\$" output.txt && | ||||||
| 	test_cmp expect output.txt | 	grep "Needed a single revision" output.txt | ||||||
| ' | ' | ||||||
|  |  | ||||||
| test_done | test_done | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	 Johannes Schindelin
						Johannes Schindelin