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

Fix GRUB_CMDLINE_LINUX_DEFAULT #14

Merged
merged 1 commit into from
Feb 18, 2016
Merged

Conversation

trevor-vaughan
Copy link
Contributor

  • Ensure that any missing element is created before attemping to be
    modified. This prevents Augeas failures.
  • Copy GRUB_CMDLINE_LINUX to GRUB_CMDLINE_LINUX_DEFAULT if the latter
    does not exist.
  • Added Beaker tests to cover these two cases and allow for further
    practical expansion.

Fixes #11

* Ensure that any missing element is created before attemping to be
  modified. This prevents Augeas failures.

* Copy GRUB_CMDLINE_LINUX to GRUB_CMDLINE_LINUX_DEFAULT if the latter
  does not exist.

* Added Beaker tests to cover these two cases and allow for further
  practical expansion.

Fixes voxpupuli#11
@raphink
Copy link
Member

raphink commented Jan 11, 2016

What is the added value of acceptance tests in this case?

@trevor-vaughan
Copy link
Contributor Author

The main value of the acceptance tests is that it's testing the actuality of the system. If there is a change in Grub that would cause an issue in the future, then this can be caught early instead of discovering the issue in the field.

Also, frankly, we're finding acceptance tests to be more accurate and easier for most people to maintain than traditional spec tests.

raphink added a commit that referenced this pull request Feb 18, 2016
Fix GRUB_CMDLINE_LINUX_DEFAULT
@raphink raphink merged commit 45428a2 into voxpupuli:master Feb 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants