Added profiling logic to tests with perf
This commit is contained in:
		@@ -12,10 +12,17 @@ else
 | 
			
		||||
    if [[ $FAKE_ZENITY_RESPONSE == "yes_tmp" ]]; then
 | 
			
		||||
      printf "Allow this time\n"
 | 
			
		||||
      exit 1
 | 
			
		||||
    elif [[ $FAKE_ZENITY_RESPONSE == "yes_tmp_alt" ]]; then
 | 
			
		||||
      printf "Allow this time\n"
 | 
			
		||||
      echo "yes_alt" >~/.fake_zenity_response
 | 
			
		||||
      exit 1
 | 
			
		||||
    elif [[ $FAKE_ZENITY_RESPONSE == "no" ]]; then
 | 
			
		||||
      exit 1
 | 
			
		||||
    elif [[ $FAKE_ZENITY_RESPONSE == "yes" ]]; then
 | 
			
		||||
      exit 0
 | 
			
		||||
    elif [[ $FAKE_ZENITY_RESPONSE == "yes_alt" ]]; then
 | 
			
		||||
      echo "yes_tmp_alt" >~/.fake_zenity_response
 | 
			
		||||
      exit 0
 | 
			
		||||
    fi
 | 
			
		||||
  fi
 | 
			
		||||
fi
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user