Skip to content

Test helper: add a testhelper.MayFailRunCommand()

A follow-up to the discussion in !2942 (comment 469176310)

When you want to ignore failure, and sometimes not, it's easier to have two things that have the same API interface, instead of juggling between testhelper.MustRunCommand() and exec.Command(). See 1/2 for the patch and 2/2 for its use.

Merge request reports