kudobuilder / kuttl

KUbernetes Test TooL (kuttl)
https://kuttl.dev
Apache License 2.0
636 stars 83 forks source link

Make $PWD between TestStep and TestAssert commands consistent #519

Closed stuggi closed 1 month ago

stuggi commented 1 month ago

What this PR does / why we need it:

The $PWD is different when running commands in TestStep and TestAssert which makes it required e.g. to use abs path to reference a script. This change aligns the path passed into testutils.RunAssertCommands() to be the same as to testutils.RunCommands().

Fixes #322