The test uses postgres on RHEL 7 via the unixODBC driver. That driver on RHEL 7 appears to be buggy, since it tries to use the 32-bit libraries on a 64-bit machine. The odbc configuration defines a Driver64 that ought to be used on the 64-bit machine, but that's not used. That looks like a RHEL bug in the unixODBC package, but at this time in RHEL 7's lifecycle I am not expecting it to get fixed.
Also fix some other bugs that came up when testing on RHEL 7:
Allow testing on slower machines where postgres takes a few seconds to start.
Don't quote variables in bash's arithmetic expressions.
The test uses postgres on RHEL 7 via the unixODBC driver. That driver on RHEL 7 appears to be buggy, since it tries to use the 32-bit libraries on a 64-bit machine. The odbc configuration defines a
Driver64
that ought to be used on the 64-bit machine, but that's not used. That looks like a RHEL bug in the unixODBC package, but at this time in RHEL 7's lifecycle I am not expecting it to get fixed.Also fix some other bugs that came up when testing on RHEL 7:
Allow testing on slower machines where postgres takes a few seconds to start.
Don't quote variables in bash's arithmetic expressions.