Skip to content

string tests sometimes failing on macOS (Github Actions) #8353

@faho

Description

@faho

This one's a bit of a headscratcher I've seen twice now:

Testing low-level functionality
Testing builtin_string
Error: Test failed on line 5674: [string match -r \(\?=ab\\K\) ab]: expected return code 0 but got 2
Error: Test failed on line 5674: [string match -r \(\?=ab\\K\)..\(\?=cd\\K\) abcd]: expected return code 0 but got 2
Encountered 2 errors in low-level tests

Rerunning seems to fix it, but I have no idea why? What even could be racing here?

I don't know if https://github.com/fish-shell/fish-shell/runs/3895703216 is a stable link (I sure hope it is).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething that's not working as intended

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions