about summary refs log tree commit homepage
path: root/t/t0000.ru
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-10-05 18:13:12 -0700
committerEric Wong <normalperson@yhbt.net>2009-10-05 18:16:04 -0700
commit112fe9265b4f5b3504504a1a36cafad9c6ceffeb (patch)
tree4eee5d524c9bc1d98f829f43221f9731acc55ac2 /t/t0000.ru
parentd7f1ced710864fd743c605cb85aa35208bf518b3 (diff)
downloadrainbows-112fe9265b4f5b3504504a1a36cafad9c6ceffeb.tar.gz
mktemp(1) requires files to end with "XXXXXXXX", not just have
that template anywhere.  Also, add pid files to the TEST_RM_LIST
since test failures can leave a pid file dangling.  Lastly,
since the config.ru files are 100% static, just check them
as standalone files in instead of allocating a tempfile on them
for easier maintenance.
Diffstat (limited to 't/t0000.ru')
-rw-r--r--t/t0000.ru3
1 files changed, 3 insertions, 0 deletions
diff --git a/t/t0000.ru b/t/t0000.ru
new file mode 100644
index 0000000..c2355da
--- /dev/null
+++ b/t/t0000.ru
@@ -0,0 +1,3 @@
+use Rack::ContentLength
+use Rack::ContentType
+run lambda { |env| [ 200, {}, [ env.inspect << "\n" ] ] }