Replace (stat(<file>))[7] in TAP tests with -s
Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
From: "Drouvot, Bertrand" <bertranddrouvot.pg@gmail.com>
To: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Cc: Michael Paquier <michael@paquier.xyz>
Date: 2023-10-02T09:35:45Z
Lists: pgsql-hackers
Attachments
- v1-0001-Be-consistent-in-TAP-tests-for-the-way-we-get-fil.patch (text/plain) patch v1-0001
Hi hackers, Please find attached a tiny patch to $SUBJECT. It: - provides more consistency to the way we get files size in TAP tests - seems more elegant that relying on a hardcoded result position Regards, -- Bertrand Drouvot PostgreSQL Contributors Team RDS Open Source Databases Amazon Web Services: https://aws.amazon.com
Commits
-
Replace use of stat()[7] by -s switch in TAP tests to retrieve file size
- 6c77bb42ab0e 17.0 landed