unittest crash on bad options

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Server Programmability
    • Fully Compatible
    • ALL
    • Programmability 2026-01-19
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      unit tests crash if the bad option has a good option as a prefix and this is the last option in argv.

      bazel run //src/mongo/unittest:unittest_test -- --suitex=BSONObj
      

      crashes.

            Assignee:
            Billy Donahue
            Reporter:
            Billy Donahue
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: