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

Invalid test name can be set. #68

Open
gildor478 opened this issue Oct 24, 2020 · 1 comment
Open

Invalid test name can be set. #68

gildor478 opened this issue Oct 24, 2020 · 1 comment
Labels

Comments

@gildor478
Copy link
Owner

This bug has been migrated from artifact #1455 on forge.ocamlcore.org. It was assigned to user102.

user20074 posted on 2015-02-19 12:37:03:

It is possible to add a TestLabel to a test, but if we have a '/' in our TestLabel, we have this kind of error :

Fatal error: exception Sys_error("/home/gregoire/Work/my_projet/_build/oUnit-Test toto/tata -suze#00.log: No such file or directory")

This error is probably simply due to the fact that it try to create/read in a file that will have the name of the test, and so see this name as directories/file instead of file.

user102 replied on 2015-02-19 14:52:58:

Good point.

@gildor478 gildor478 added the bug label Oct 24, 2020
@bolives-hax
Copy link

i also ran into this unintentionally. Played around with it a little, inserting \ doesn't work like

"testname bla bla bla that does stuff \/"

but i still feel like this is honestly not something that should happen. While I see somehwhat limited potential in abusing that
for anything its still misleading. I don't have time to look into it properly and prolly wont just saying I can reproduce this and thought id be the first one to open an issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants