goss-org / goss

Quick and Easy server testing/validation
https://goss.rocks
Apache License 2.0
5.55k stars 473 forks source link

how to add complexe command below ? #710

Closed spham closed 2 years ago

spham commented 3 years ago

hi i wish to add command below but have error

goss add command `erl -eval '{ok, Version} = file:read_file(filename:join([code:root_dir(), "releases", erlang:system_info(otp_release), "OTP_VERSION"])), io:fwrite(Version), halt().' -noshell`

instead of

stderr: 23.3.4.4

i have

  exit-status: 127
  stdout: []
  stderr:
  - 'sh: 23.3.4.4 : commande introuvable'
  timeout: 10000
stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.