You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi all,
I seem to have a problem with shellspec v0.29.0-dev where passing tests all fail if/when the -x/--xtrace flags are operative e.g. shellspec --log-file log fred_sp.sh passes whereas shellspec -x --log-file log fred_sp.sh doesn't - the following is observed on CLI...
... which looks, to me, a lot like xtrace output isn't being correctly redirected.
It s/b noted that the log-file contains only the line...
[src/test/spec/generate-md_spec.sh:22] When run src/main/bin/generate-md.sh src/test/spec/examples/empty.sh
+ 32846 (32811, 32804) [lib/shellspec/lib/core/evaluation.sh, 164] - shellspec_evaluation_call_function(): src/main/bin/generate-md.sh
and the spec file contains nothing but...
OUT=src/main/bin/generate-md.sh
Describe "$OUT - BP"
It "BP: throws with no file"
When run $OUT
The status should be failure
The stderr should equal 'No file !!!'
End
End
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi all,
I seem to have a problem with shellspec v0.29.0-dev where passing tests all fail if/when the
-x
/--xtrace
flags are operative e.g.shellspec --log-file log fred_sp.sh
passes whereasshellspec -x --log-file log fred_sp.sh
doesn't - the following is observed on CLI...... which looks, to me, a lot like xtrace output isn't being correctly redirected.
It s/b noted that the log-file contains only the line...
and the spec file contains nothing but...
Beta Was this translation helpful? Give feedback.
All reactions