Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
docker/testshell_markdown tests fail due to cascading #1773
Steps to Reproduce the Problem
When building Elektra in a Docker container (doc/docker) with CMake defaults and running
In the container all tests are run as root. Therefore when cascading, keys are written to the
Tests without annotations in the list above fail due to cascading/namespace issues (like
kdb set /examples/markdown/napalm death #> Using name user*/examples/markdown/napalm #> Create a new key user*/examples/markdown/napalm with string "death"
And add some message like "* The actual namespace used depends on the current user."
I assume rewriting most examples not to use cascading and relaxing output validation will fix most of the failed tests.
Further Log Files and Output
Thank you for reporting this problem!
Yes, its wrong to assume that keys are written to the namespace user when setting a cascading key. I like the idea of an indicator which is replaced by any namespace. Alternatively, we could use regex: