Skip to content

test(options): cover quoted MTR_OPTIONS order#644

Merged
rewolff merged 2 commits into
traviscross:masterfrom
Komzpa:darafei/mtr-options-quoted-order-test
May 25, 2026
Merged

test(options): cover quoted MTR_OPTIONS order#644
rewolff merged 2 commits into
traviscross:masterfrom
Komzpa:darafei/mtr-options-quoted-order-test

Conversation

@Komzpa

@Komzpa Komzpa commented May 8, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add cmdparse coverage for MTR_OPTIONS='--order "SRDL NBAGVW JMXI"'
  • assert the quoted order survives with embedded space separators and reaches the later fields from the issue example

The parser behavior is already fixed on current master by the earlier quoted-MTR_OPTIONS parser work; this PR adds the missing regression coverage for the exact #324 scenario.

Refs #324.

Tests

  • git diff --check
  • ./bootstrap.sh && ./configure --without-gtk --without-jansson && make -j "$(nproc)"
  • sudo python3 ./test/cmdparse.py

@Komzpa Komzpa force-pushed the darafei/mtr-options-quoted-order-test branch from 61cf1cd to a6c0960 Compare May 9, 2026 09:45
@Komzpa Komzpa force-pushed the darafei/mtr-options-quoted-order-test branch from a6c0960 to 2175eae Compare May 25, 2026 11:45
@rewolff rewolff merged commit 2175eae into traviscross:master May 25, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants