diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-10-05 18:13:12 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-10-05 18:16:04 -0700 |
commit | 112fe9265b4f5b3504504a1a36cafad9c6ceffeb (patch) | |
tree | 4eee5d524c9bc1d98f829f43221f9731acc55ac2 /t/t0000.ru | |
parent | d7f1ced710864fd743c605cb85aa35208bf518b3 (diff) | |
download | rainbows-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.ru | 3 |
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" ] ] } |