Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cargo test --doc failed on Alpine distribution #1124

Closed
jcamiel opened this issue Dec 21, 2022 · 0 comments · Fixed by #1125
Closed

cargo test --doc failed on Alpine distribution #1124

jcamiel opened this issue Dec 21, 2022 · 0 comments · Fixed by #1125
Labels
bug Something isn't working
Milestone

Comments

@jcamiel
Copy link
Collaborator

jcamiel commented Dec 21, 2022

Summary

cargo test --doc is failing on Alpine

/home/hurl # cargo test --doc
    Finished test [unoptimized + debuginfo] target(s) in 0.08s
   Doc-tests hurl

running 3 tests
test src/html/escape.rs - html::escape::html_escape (line 26) ... FAILED
test src/html/unescape.rs - html::unescape::html_unescape (line 104) ... FAILED
test src/runner/hurl_file.rs - runner::hurl_file::run (line 41) ... FAILED

failures:

---- src/html/escape.rs - html::escape::html_escape (line 26) stdout ----
Couldn't run the test: No such file or directory (os error 2)
---- src/html/unescape.rs - html::unescape::html_unescape (line 104) stdout ----
Couldn't run the test: No such file or directory (os error 2)
---- src/runner/hurl_file.rs - runner::hurl_file::run (line 41) stdout ----
Couldn't run the test: No such file or directory (os error 2)

failures:
    src/html/escape.rs - html::escape::html_escape (line 26)
    src/html/unescape.rs - html::unescape::html_unescape (line 104)
    src/runner/hurl_file.rs - runner::hurl_file::run (line 41)

test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.89s

This is blocking #1122

Tested on Alpine Docker image

@jcamiel jcamiel added the bug Something isn't working label Dec 21, 2022
@jcamiel jcamiel changed the title cargo test --doc failed on Alpine distribution cargo test --doc failed on Alpine distribution Dec 21, 2022
@jcamiel jcamiel added this to the 2.0.0 milestone Dec 22, 2022
@jcamiel jcamiel linked a pull request Dec 22, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant