Skip to content

NetworkInformation tests show weird error on macOS #64441

@wfurt

Description

@wfurt
===========================================================================================================
  ~/github/wfurt-ssl/artifacts/bin/System.Net.NetworkInformation.Functional.Tests/net7.0-Debug ~/github/wfurt-ssl/src/libraries/System.Net.NetworkInformation/tests/FunctionalTests
    Discovering: System.Net.NetworkInformation.Functional.Tests (method display = ClassAndMethod, method display options = None)
  ps: illegal option -- -
  usage: ps [-AaCcEefhjlMmrSTvwXx] [-O fmt | -o fmt] [-G gid[,gid...]]
            [-g grp[,grp...]] [-u [uid,uid...]]
            [-p pid[,pid...]] [-t tty[,tty...]] [-U user[,user...]]
         ps [-L]
    Discovered:  System.Net.NetworkInformation.Functional.Tests (found 76 of 98 test cases)
    Starting:    System.Net.NetworkInformation.Functional.Tests (parallel test collections = on, max threads = 16)
    Finished:    System.Net.NetworkInformation.Functional.Tests
  === TEST EXECUTION SUMMARY ===
     System.Net.NetworkInformation.Functional.Tests  Total: 242, Errors: 0, Failed: 0, Skipped: 0, Time: 0.593s

seems like regression from #63788 assuming gnu ps. Ignoring busybox ps and other OSes.
probably not critical but nice to fix.

cc: @ManickaP @tmds

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions