Make connect/test1 independent of localhost IPv6.
Noah Misch <noah@leadboat.com>
Make connect/test1 independent of localhost IPv6. Since commit 868898739a8da9ab74c105b8349b7b5c711f265a, it has assumed "localhost" resolves to both ::1 and 127.0.0.1. We gain nothing from that assumption, and it does not hold in a default installation of Red Hat Enterprise Linux 5. Back-patch to 9.3 (all supported versions).
Files
| Path | Change | +/− |
|---|---|---|
| src/interfaces/ecpg/test/connect/test1.pgc | modified | +1 −1 |
| src/interfaces/ecpg/test/expected/connect-test1.c | modified | +1 −1 |
| src/interfaces/ecpg/test/expected/connect-test1.stderr | modified | +2 −5 |