forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitbbbf71d
committed
Fix 002_pg_upgrade.pl.
Commitf696c0c caused a test failure in 002_pg_upgrade.pl, becausean earlier s/// operator caused qr// to no longer match the emptystring. Use qr/^$/ instead, which is a better test anyway, because weexpect the stderr to be empty.Initially this appeared to be a perl bug, but per discussion, it seemsthat it was a misunderstanding of how perl works: an empty patternuses the last successful pattern. Given how surprising that behavioris to perl non-experts, we will need to look for similar problemselsewhere and eliminate the use of empty patterns throughout thecode. For now, address this one instance to fix the buildfarm.Discussion:https://postgr.es/m/0ef325fa06e7a1605c4e119c4ecb637c67e5fb4e.camel@j-davis.comReviewed-by: Tom Lane1 parent319e9e5 commitbbbf71d
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
377 | 377 |
| |
378 | 378 |
| |
379 | 379 |
| |
380 |
| - | |
| 380 | + | |
381 | 381 |
| |
382 | 382 |
| |
383 | 383 |
| |
|
0 commit comments
Comments
(0)