about summary refs log tree commit homepage
path: root/t/times.ru
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2010-12-27 13:10:56 -0800
committerEric Wong <normalperson@yhbt.net>2010-12-27 21:11:29 +0000
commit0766c1eb631190ee514a90e4d20a941f0a310054 (patch)
tree80e24a53af54a628d08cc43a904473f9af2817b4 /t/times.ru
parentd430bc3a481f897b4f515d5b7d0a0e239f8d2bb2 (diff)
downloadrainbows-0766c1eb631190ee514a90e4d20a941f0a310054.tar.gz
This requires manual verification :<
Diffstat (limited to 't/times.ru')
-rw-r--r--t/times.ru6
1 files changed, 6 insertions, 0 deletions
diff --git a/t/times.ru b/t/times.ru
new file mode 100644
index 0000000..8be3ed4
--- /dev/null
+++ b/t/times.ru
@@ -0,0 +1,6 @@
+use Rack::ContentLength
+use Rack::ContentType, "text/plain"
+run lambda { |env|
+  t = Process.times
+  [ 200, {}, [ "utime=#{t.utime} stime=#{t.stime}" ] ]
+}