Make the self-test script importable
authorJeremy Stanley <fungi@yuggoth.org>
Mon, 2 Jan 2017 06:06:41 +0000 (06:06 +0000)
committerJeremy Stanley <fungi@yuggoth.org>
Mon, 2 Jan 2017 06:06:41 +0000 (06:06 +0000)
commit085c2ad304d6aa56525eac426fb66a6078008957
tree7c5e04df83dec91fd4917c566fd2a71208b09ec9
parentdb3bce05e04d294ec906cb38ac099a42fb02d6ad
Make the self-test script importable

In preparation for moving the self-test script to a more standard
entrypoint, make it safely importable and give it a separate
conditional main() execution.
bin/test