In case of a timeout echo last line in logfile of last test before that logfile gets removed
This commit is contained in:
		
							parent
							
								
									fd876e4a7f
								
							
						
					
					
						commit
						01dde64e05
					
				| @ -66,6 +66,9 @@ _die() | |||||||
|     exit 128 |     exit 128 | ||||||
|   else |   else | ||||||
|     echo "assuming timeout while running test - continue" |     echo "assuming timeout while running test - continue" | ||||||
|  |     local _tail="" | ||||||
|  |     which tail >/dev/null && _tail="tail -n 1 test_${suffix}.log" && \ | ||||||
|  |     echo "last line of test_"${suffix}".log was:" && $_tail && echo "" | ||||||
|     ret=$(( $ret + 1 )) |     ret=$(( $ret + 1 )) | ||||||
|   fi |   fi | ||||||
| } | } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user