RexOps / Rex

Rex, the friendly automation framework
https://www.rexify.org
717 stars 223 forks source link

t/scm/git.t plans twice without git #1588

Closed ferki closed 1 year ago

ferki commented 1 year ago

Describe the bug

t/scm/git.t plans tests twice when git is not present on the system. See for example http://www.cpantesters.org/cpan/report/8c73ca94-6db7-1014-971a-cd3523496917.

Expected behavior

t/scm/git.t tests should skip properly when git is not present.

How to reproduce it

  1. Either uninstall git, rename git, or move git out of the PATH.
  2. Run prove -l t/scm/git.t.

Code example

No code example for this.

Additional context

No response

Rex version

1.14.2

Perl version

5.36.0

Operating system running rex

Gentoo

Operating system managed by rex

local

How rex was installed?

dzil install