File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -505,7 +505,7 @@ mod tests {
505505 . pg_password ( "password" )
506506 . build ( ) ;
507507 #[ cfg( not( target_os = "windows" ) ) ]
508- let command_prefix = r#"PGPASSWORD="password" "# ;
508+ let command_prefix = r#"PGDATABASE="database" PGPASSWORD="password" "# ;
509509 #[ cfg( target_os = "windows" ) ]
510510 let command_prefix = String :: new ( ) ;
511511
Original file line number Diff line number Diff line change @@ -231,7 +231,7 @@ mod tests {
231231 fn test_builder_from ( ) {
232232 let command = EcpgBuilder :: from ( & TestSettings ) . build ( ) ;
233233 #[ cfg( not( target_os = "windows" ) ) ]
234- let command_prefix = r#"PGPASSWORD="password" "./ecpg""# ;
234+ let command_prefix = r#""./ecpg""# ;
235235 #[ cfg( target_os = "windows" ) ]
236236 let command_prefix = r#"".\\ecpg""# ;
237237
Original file line number Diff line number Diff line change @@ -335,7 +335,7 @@ mod tests {
335335 fn test_builder_from ( ) {
336336 let command = PgCtlBuilder :: from ( & TestSettings ) . build ( ) ;
337337 #[ cfg( not( target_os = "windows" ) ) ]
338- let command_prefix = r#"./pg_ctl""# ;
338+ let command_prefix = r#"" ./pg_ctl""# ;
339339 #[ cfg( target_os = "windows" ) ]
340340 let command_prefix = r#"".\\pg_ctl""# ;
341341
Original file line number Diff line number Diff line change @@ -187,7 +187,7 @@ mod tests {
187187 fn test_builder_from ( ) {
188188 let command = PgIsReadyBuilder :: from ( & TestSettings ) . build ( ) ;
189189 #[ cfg( not( target_os = "windows" ) ) ]
190- let command_prefix = r#"PGPASSWORD="password" "./pg_isready" "# ;
190+ let command_prefix = r#""./pg_isready" "# ;
191191 #[ cfg( target_os = "windows" ) ]
192192 let command_prefix = r#"".\\pg_isready" "# ;
193193
Original file line number Diff line number Diff line change @@ -667,7 +667,7 @@ mod tests {
667667 fn test_builder_from ( ) {
668668 let command = PgBenchBuilder :: from ( & TestSettings ) . build ( ) ;
669669 #[ cfg( not( target_os = "windows" ) ) ]
670- let command_prefix = r#"./pgbench" "# ;
670+ let command_prefix = r#"" ./pgbench" "# ;
671671 #[ cfg( target_os = "windows" ) ]
672672 let command_prefix = r#"".\\pgbench" "# ;
673673
You can’t perform that action at this time.
0 commit comments