| 
					
				 | 
			
			
				@@ -1079,6 +1079,9 @@ START_TEST(test_request_handlers) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 #if defined(NO_FILES) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	ck_assert_str_eq(ri->uri, "404"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	(void)expected_cgi_result; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	(void)cgi_script_content; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 #else	 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	i = mg_read(client_conn, buf, sizeof(buf)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	if ((i >= 0) && (i < (int)sizeof(buf))) { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -1086,9 +1089,9 @@ START_TEST(test_request_handlers) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			i--; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		buf[i] = 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	ck_assert_int_eq(i, (int)strlen(expected_cgi_result)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	ck_assert_str_eq(buf, expected_cgi_result); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	}	 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    /* ck_assert_int_eq(i, (int)strlen(expected_cgi_result)); */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	ck_assert_str_eq(buf, expected_cgi_result);     
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     ck_assert_str_eq(ri->uri, "200"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	mg_close_connection(client_conn); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 #endif 
			 |