From 112fe9265b4f5b3504504a1a36cafad9c6ceffeb Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 5 Oct 2009 18:13:12 -0700 Subject: cleanup temporary file usage in tests 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. --- t/t0000.ru | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 t/t0000.ru (limited to 't/t0000.ru') 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" ] ] } -- cgit v1.2.3-24-ge0c7