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

Path not found #21

Closed
vch9 opened this issue Oct 5, 2021 · 2 comments
Closed

Path not found #21

vch9 opened this issue Oct 5, 2021 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@vch9
Copy link
Owner

vch9 commented Oct 5, 2021

If the path directory/path given is not found, Osnap raises:
(Sys_error ".osnap/exponentiation: No such file or directory").

We should either:

@vch9 vch9 added the bug Something isn't working label Oct 5, 2021
@vch9 vch9 self-assigned this Oct 6, 2021
@vch9
Copy link
Owner Author

vch9 commented Oct 6, 2021

Actually both should be done:

  • W/R errors should display the full path: $pwd/.osnap/[test_name]
  • Write a snapshot should create the file and directory (therefore, fix Allows optional path #11 first)

@vch9
Copy link
Owner Author

vch9 commented Oct 6, 2021

  • Creation of directory/file was done in e54bdd1
  • W/R errors are not much better handled. At least when runner mode is Error, the path is fully displayed when the precedent snapshot does not exist.

@vch9 vch9 closed this as completed Oct 6, 2021
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

No branches or pull requests

1 participant