Fixes bug where it would try and test an empty line
Thanks Rob Norman for reporting and helping debug.
This commit is contained in:
		
							parent
							
								
									b981f7ab08
								
							
						
					
					
						commit
						298493d691
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -533,7 +533,7 @@ while read -r line; do
 | 
				
			||||||
	fi
 | 
						fi
 | 
				
			||||||
done<<<"$(echo "$headers" | sed '1d')" # We don't want the initial http banner
 | 
					done<<<"$(echo "$headers" | sed '1d')" # We don't want the initial http banner
 | 
				
			||||||
 | 
					
 | 
				
			||||||
echo "$missingHeaders" | while read -r line; do
 | 
					echo -n "$missingHeaders" | while read -r line; do
 | 
				
			||||||
	echo -e "${RED}$line${NC}"
 | 
						echo -e "${RED}$line${NC}"
 | 
				
			||||||
	functionName="test_$line"
 | 
						functionName="test_$line"
 | 
				
			||||||
	"$functionName" >> "$tmpfile"
 | 
						"$functionName" >> "$tmpfile"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue