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

Empty glob not always returns an error #2517

Closed
jcamiel opened this issue Mar 13, 2024 · 0 comments · Fixed by #2524
Closed

Empty glob not always returns an error #2517

jcamiel opened this issue Mar 13, 2024 · 0 comments · Fixed by #2524
Assignees
Labels
bug Something isn't working
Milestone

Comments

@jcamiel
Copy link
Collaborator

jcamiel commented Mar 13, 2024

With Hurl 4.2.0:

Given a directory /tmp/a/ that contains Hurl files and a directory /tmp/b/ that does not contains Hurl files:

$ hurl --glob '/tmp/a/*.hurl' --glob '/tmp/b/*.hurl'
# ...
# => test in /tmp/a/ executed
# ...

Reversing the two globs, we have an error:

$ hurl --glob '/tmp/b/*.hurl' --glob '/tmp/a/*.hurl' 
error: hurl: cannot access '/tmp/b/*.hurl': No such file or directory
@jcamiel jcamiel added the bug Something isn't working label Mar 13, 2024
@jcamiel jcamiel added this to the 4.3.0 milestone Mar 14, 2024
@jcamiel jcamiel self-assigned this Mar 17, 2024
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