Skip to content

Conversation

@mbland
Copy link
Owner

@mbland mbland commented Apr 4, 2017

Closes #148. This is the last bit of functionality migrated from https://github.com/mbland/certbot-webroot-setup, providing a standard means of checking for file and command existence and reporting errors.

Also removes and documents an unreachable failure case in demo-core prompt, fixes the load environment line for new --test for tests created at the top level of _GO_TEST_DIR, and updates a misnamed test case in tests/new.bats.

mbland added 3 commits April 4, 2017 16:50
All tests still pass, as the `return 1` case wasn't reachable given that
the call to `@go.prompt_for_yes_or_no` was supplied with a default
value.
Previously tests created at the top-level of `_GO_TEST_DIR` would
contain the line `load ../environment` when it should've been `load
environment`.

Also updates a misnamed test case in the same file.
Closes #148. This is the last bit of functionality migrated from
https://github.com/mbland/certbot-webroot-setup, providing a standard
means of checking for file and command existence and reporting errors.
@mbland mbland added this to the v1.5.0 milestone Apr 4, 2017
@mbland mbland self-assigned this Apr 4, 2017
@coveralls
Copy link

Coverage Status

Coverage increased (+0.07%) to 94.603% when pulling f495845 on existence into 1513428 on master.

Thought I'd make the test more hermetic by setting `PATH` explicitly,
but forgot that Bash is installed under `/usr/local/bin` on FreeBSD.
Hopefully no one will have any actual programs named foo, bar, or baz on
their system.
@coveralls
Copy link

Coverage Status

Coverage increased (+0.07%) to 94.603% when pulling 5ba9f30 on existence into 1513428 on master.

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.

Import functions from mbland/certbot-webroot-setup

2 participants