tests: Use --http0.9 for curl ssh test
This commit is contained in:
		
							parent
							
								
									e3654e8297
								
							
						
					
					
						commit
						a0ae10c2d7
					
				| @ -32,7 +32,7 @@ boot_image() { | |||||||
|                  -serial chardev:log0 &" |                  -serial chardev:log0 &" | ||||||
|     # wait for ssh to become ready (yes, http is the wrong protocol, but it returns the header) |     # wait for ssh to become ready (yes, http is the wrong protocol, but it returns the header) | ||||||
|     tries=0 |     tries=0 | ||||||
|     until curl -sS -m 15 "http://localhost:$SSH_PORT/" | grep 'OpenSSH'; do |     until curl --http0.9 -sS -m 15 "http://localhost:$SSH_PORT/" | grep 'OpenSSH'; do | ||||||
|         tries=$((tries + 1)) |         tries=$((tries + 1)) | ||||||
|         if [ $tries -gt $TIMEOUT ]; then |         if [ $tries -gt $TIMEOUT ]; then | ||||||
|             exit 1 |             exit 1 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user