mirror of
				https://github.com/tiagovignatti/intel-gpu-tools.git
				synced 2025-11-04 12:07:12 +00:00 
			
		
		
		
	lib: fix the assert in igt_stop_helper
So much for developing different patches on different machines and then not retesting after rebasing. Reported by Ben on irc. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
		
							parent
							
								
									768e32a3ab
								
							
						
					
					
						commit
						5038b7e4c2
					
				@ -1085,7 +1085,8 @@ void igt_stop_helper(struct igt_helper_process *proc)
 | 
			
		||||
	while (waitpid(proc->pid, &status, 0) == -1 &&
 | 
			
		||||
	       errno == -EINTR)
 | 
			
		||||
		;
 | 
			
		||||
	igt_assert(WIFSIGNALED(status) && WTERMSIG(status) == SIGQUIT);
 | 
			
		||||
	igt_assert(WIFSIGNALED(status) &&
 | 
			
		||||
		   WTERMSIG(status) == (proc->use_SIGKILL ? SIGKILL : SIGQUIT));
 | 
			
		||||
 | 
			
		||||
	proc->running = false;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user