mirror of
				https://github.com/postgres/postgres.git
				synced 2025-10-31 00:03:57 -04:00 
			
		
		
		
	Avoid assuming that we know the spelling of getopt_long's error messages.
I've had enough of "fixing" this test case. Whatever value it has is limited to verifying that pgbench fails for an unrecognized switch, and we don't need to assume anything about what getopt_long prints in order to do that. Discussion: https://postgr.es/m/9427.1547701450@sss.pgh.pa.us
This commit is contained in:
		
							parent
							
								
									c5660e0aa5
								
							
						
					
					
						commit
						251f57460f
					
				| @ -66,7 +66,7 @@ my @options = ( | ||||
| 	[ | ||||
| 		'bad option', | ||||
| 		'-h home -p 5432 -U calvin -d --bad-option', | ||||
| 		[ qr{(unrecognized|illegal) option}, qr{--help.*more information} ] | ||||
| 		[qr{--help.*more information}] | ||||
| 	], | ||||
| 	[ | ||||
| 		'no file', | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user