aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite_external.py
diff options
context:
space:
mode:
authorJoão Valverde <j@v6e.pt>2022-12-30 16:11:53 +0000
committerJoão Valverde <j@v6e.pt>2022-12-30 18:27:30 +0000
commitbc74d2e3e42e7764b46e4f1fbfe6f4797e109c02 (patch)
treef74cb190d08060285c97cf83bfc07f58d0713685 /test/suite_external.py
parentd3d06c25527c769276c7dc2064a03717329e4f99 (diff)
dftest: Fix command-line argument parsing
Expressions that start with hyphen clash with command-line options. In that case we need to pass "--" to dftest to stop processing options. Fix the test suite to do this. Fixes failures with dftest and expressions like: -2 == tcp.port Replace the GLib option parser with getopt while at it. The GLib API is nice but isn't a good fit for this utility and the code appears to be inconsistent on whether "--" is left in the argv or not.
Diffstat (limited to 'test/suite_external.py')
0 files changed, 0 insertions, 0 deletions