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

Tests: Various Minor Improvements #2401

Merged
merged 4 commits into from Feb 14, 2019

Conversation

sanssecours
Copy link
Member

No description provided.

# Mount yamlcpp plugin to cascading namespace `/tests/yamlcpp`
sudo kdb mount config.yaml /tests/yamlcpp yamlcpp
# Mount yamlcpp plugin to `user/tests/yamlcpp`
sudo kdb mount config.yaml user/tests/yamlcpp yamlcpp
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why to use user instead of cascading?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I used the explicit namespace, since otherwise the output of the command kdb ls in line 86 would depend on the (root or non-root) user that executes the test.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the tip! Maybe we should write that somewhere in the shell recorder tutorial?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do not think that is necessary. The output of failing Markdown Shell Recorder tests on FreeBSD should already show the issue to someone who might not expect that behavior.

@markus2330 markus2330 merged commit c72eb08 into ElektraInitiative:master Feb 14, 2019
@markus2330
Copy link
Contributor

Thank you!

@sanssecours sanssecours deleted the 🧪 branch February 14, 2019 13:08
@kodebach kodebach mentioned this pull request Mar 19, 2019
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants