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

Adding tests for default upstart configuration #132

Merged
merged 1 commit into from
Jan 21, 2014
Merged

Adding tests for default upstart configuration #132

merged 1 commit into from
Jan 21, 2014

Conversation

muuki88
Copy link
Contributor

@muuki88 muuki88 commented Jan 17, 2014

Not much, but a start.

val debian = target / "debian-test-0.1.0" / "DEBIAN"
val postinst = IO.read(debian / "postinst")
val prerm = IO.read(debian / "prerm")
assert(postinst contains "initctl reload-configuration", "postinst misses initctl: " + postinst)
Copy link
Member

Choose a reason for hiding this comment

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

Nice. This is the next best thing to ensuring that we have a functioning deb file.

@jsuereth
Copy link
Member

LGTM! Thanks much for better tests.

jsuereth added a commit that referenced this pull request Jan 21, 2014
Adding tests for default upstart configuration
@jsuereth jsuereth merged commit 2397fc5 into sbt:master Jan 21, 2014
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