Fix redirection so stray stderr output from qemu doesn't cause mysterious test
failures.
This commit is contained in:
		
							parent
							
								
									55e24e1f24
								
							
						
					
					
						commit
						cc3d72e884
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -27,7 +27,7 @@ get_test_output() {
 | 
			
		|||
                qemu-system-ppc)  img="-kernel $img" ;;
 | 
			
		||||
            esac
 | 
			
		||||
 | 
			
		||||
            $timeoutprog -t $timeout -- $method -nographic $img 2>&1 > $result
 | 
			
		||||
            $timeoutprog -t $timeout -- $method -nographic $img > $result 2>&1
 | 
			
		||||
            ;;
 | 
			
		||||
 | 
			
		||||
        qemu-*)
 | 
			
		||||
| 
						 | 
				
			
			@ -37,7 +37,7 @@ get_test_output() {
 | 
			
		|||
                exit 0
 | 
			
		||||
            fi
 | 
			
		||||
 | 
			
		||||
            $method $img 2>&1 > $result
 | 
			
		||||
            $method $img > $result 2>&1
 | 
			
		||||
            ;;
 | 
			
		||||
 | 
			
		||||
        *)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue