Closed khromenokroman closed 1 month ago
@olofhagsand Made the function more versatile
@olofhagsand I don't really understand the project yet, I wanted to clarify, I need to look at why the Error in test failed test_restconf_callhome.sh errcode=255 and Error in test_restconf_ssl_certs.sh errcode=255 I have not made any changes to the restconf functionality
@olofhagsand When I check in, I'm fine
I did it on my computer according to the documentation https://github.com/clicon/clixon/blob/master/test/README.md Getting started
@olofhagsand I don't really understand the project yet, I wanted to clarify, I need to look at why the Error in test failed test_restconf_callhome.sh errcode=255 and Error in test_restconf_ssl_certs.sh errcode=255 I have not made any changes to the restconf functionality
No, its something with the regression test context, maybe alpine libssl or curl upgraded to something where some ssl operations fail. Looking into it, not related to this, other tests fail as well.
@olofhagsand I don't really understand the project yet, I wanted to clarify, I need to look at why the Error in test failed test_restconf_callhome.sh errcode=255 and Error in test_restconf_ssl_certs.sh errcode=255 I have not made any changes to the restconf functionality
No, its something with the regression test context, maybe alpine libssl or curl upgraded to something where some ssl operations fail. Looking into it, not related to this, other tests fail as well.
This should work now, please rebase
@olofhagsand I made changes, but I can't somehow run CI at home to check the correctness of the changes made, and not to bother you
@olofhagsand I made changes, but I can't somehow run CI at home to check the correctness of the changes made, and not to bother you Just run 'make test' on the top-level.
@olofhagsand I made changes, but I can't somehow run CI at home to check the correctness of the changes made, and not to bother you Just run 'make test' on the top-level.
Thanks
But it still opens a way to run a random program from the CLI, ie as a user of the CLI which is probably not a good idea for a product.
and how can the user run any program, the cli-spec is available only to the administrator, only he can add a call to which script there, the user can only select the pre-defined scripts that the administrator has set, or do I not understand something?
@olofhagsand @dima1308 work is done?
Related: could one do something along the lines with: https://github.com/MontaVista-OpenSourceTechnology/clixon-backend-helper for CLI python scripts?
Related: could one do something along the lines with: https://github.com/MontaVista-OpenSourceTechnology/clixon-backend-helper for CLI python scripts?
I'm not as well versed in the project as you are, as well as python and C to give an answer, but I'll read about it :)
I fixed the code and took into account your comments