Open gingters opened 4 months ago
Hi π
Thanks for reporting, it definitely looks like a bug.
In the meanwhile, @gingters can you work within a dev container? I believe that's how most of the community runs Feature tests, hence, this wasn't reported until now.
//cc @joshspicer for visibility
Thanks for reporting. In the meantime, i'd also suggest using WSL if possible to run the CLI.
I am trying to build a feature, and I failed. So I wrote a test to see what failed. However, when trying to execute my test, I get this error:
It seems, the
execTest
method intestCommandImpl.ts
hardcodes a call tochmod
, which is executed on thecliHost
. In my case this is Windows, which does not have achmod
.See https://github.com/devcontainers/cli/blob/2a6ab1ac82f4917654205e2a9b1ac928260d902e/src/spec-node/featuresCLI/testCommandImpl.ts#L596
There's another
cliHost.exec()
call tochmod
in line 539: https://github.com/devcontainers/cli/blob/2a6ab1ac82f4917654205e2a9b1ac928260d902e/src/spec-node/featuresCLI/testCommandImpl.ts#L539Maybe the
chmod
should be done in the container, and not on the host?