-
Notifications
You must be signed in to change notification settings - Fork 48
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
Add a step for checking file existence (and properties) #323
Comments
not sure, but probably easier would be to use |
Well, it's always possible to call bash commands directly, however, it imho breaks the purpose of the behavioral framework. I needed it when checking results of dnf download. |
yeah, when talking about dnf-download it is perfectly valid use-case. Mind sending PR for checking that file exists? |
I propose to implement step like
where the table part would be optional and we could add support for various file characteristics |
Add a step into file_steps.py that will enable to check whether a file exists (and possibly has some properties like permissions, size, etc.).
The text was updated successfully, but these errors were encountered: