test_escape: Fix handling of short options in getopt_long()

Michael Paquier <michael@paquier.xyz>

Commit: e9c95c6d3616f4c106df763067fc40b0ca6efbd4
Author: Michael Paquier <michael@paquier.xyz>
Date: 2025-02-19T00:46:00Z
Releases: 13.21
test_escape: Fix handling of short options in getopt_long()

This addresses two errors in the module, based on the set of options
supported:
- '-c', for --conninfo, was not listed.
- '-f', for --force-unsupported, was not listed.

While on it, these are now listed in an alphabetical order.

Author: Japin Li
Discussion: https://postgr.es/m/ME0P300MB04451FB20CE0346A59C25CADB6FA2@ME0P300MB0445.AUSP300.PROD.OUTLOOK.COM
Backpatch-through: 13

Files

PathChange+/−
src/test/modules/test_escape/test_escape.c modified +1 −1

Discussion