From 9d80b009a3cb795530ad23263f4eb525880e79dc Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 8 Dec 2010 23:53:25 +0000 Subject: configurator: ensure examples in FAQ still work This has been broken since 2.0.x Internal cleanups sometimes have unintended consequences :< --- t/t0015-configurator-internals.sh | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100755 t/t0015-configurator-internals.sh (limited to 't') diff --git a/t/t0015-configurator-internals.sh b/t/t0015-configurator-internals.sh new file mode 100755 index 0000000..4e3acbe --- /dev/null +++ b/t/t0015-configurator-internals.sh @@ -0,0 +1,25 @@ +#!/bin/sh +. ./test-lib.sh +t_plan 4 "configurator internals tests (from FAQ)" + +t_begin "setup and start" && { + unicorn_setup + cat >> $unicorn_config <"https"' +} + +t_begin "killing succeeds" && { + kill $unicorn_pid +} + +t_begin "no errors" && check_stderr + +t_done -- cgit v1.2.3-24-ge0c7