Skip to content

Instantly share code, notes, and snippets.

@bmizerany
Created November 10, 2009 04:44
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save bmizerany/aa8df88d2a4572a4bd90 to your computer and use it in GitHub Desktop.
6659/0x144227: open_nocancel("sinatra/.git/refs/tags\0", 0x120004, 0x0) = 5 0
6659/0x144227: fcntl_nocancel(0x5, 0x2, 0x1) = 0 0
6659/0x144227: fstatfs(0x5, 0xBFFFEC40, 0x1) = 0 0
6659/0x144227: getdirentries(0x5, 0x801400, 0x1000) = 232 0
6659/0x144227: stat("sinatra/.git/refs/tags/0.2.0\0", 0xBFFFEDE4, 0x1000) = 0 0
6659/0x144227: lstat("sinatra/.git/refs/tags/0.2.0\0", 0xBFFFEC3C, 0x1000) = 0 0
6659/0x144227: open_nocancel("sinatra/.git/refs/tags/0.2.0\0", 0x20000, 0x0) = 6 0
6659/0x144227: read_nocancel(0x6, "ca9ac7b5aeb3d5adc1a4c7fb86e21b0dc688e55b\n\0", 0xFF) = 41 0
6659/0x144227: read_nocancel(0x6, "\0", 0xD6) = 0 0
6659/0x144227: close_nocancel(0x6) = 0 0
6659/0x144227: stat("sinatra/.git/refs/tags/0.2.2\0", 0xBFFFEDE4, 0xD6) = 0 0
6659/0x144227: lstat("sinatra/.git/refs/tags/0.2.2\0", 0xBFFFEC3C, 0xD6) = 0 0
6659/0x144227: open_nocancel("sinatra/.git/refs/tags/0.2.2\0", 0x20000, 0x0) = 6 0
6659/0x144227: read_nocancel(0x6, "d7032a0c91ca962aee6f25dbf5d5c3228658a9f1\n\0", 0xFF) = 41 0
6659/0x144227: read_nocancel(0x6, "\0", 0xD6) = 0 0
6659/0x144227: close_nocancel(0x6) = 0 0
6659/0x144227: stat("sinatra/.git/refs/tags/0.3.0\0", 0xBFFFEDE4, 0xD6) = 0 0
6659/0x144227: lstat("sinatra/.git/refs/tags/0.3.0\0", 0xBFFFEC3C, 0xD6) = 0 0
6659/0x144227: open_nocancel("sinatra/.git/refs/tags/0.3.0\0", 0x20000, 0x0) = 6 0
6659/0x144227: read_nocancel(0x6, "55221fc8c9737600320928387a995d65ada14710\n\0", 0xFF) = 41 0
6659/0x144227: read_nocancel(0x6, "\0", 0xD6) = 0 0
6659/0x144227: close_nocancel(0x6) = 0 0
6659/0x144227: stat("sinatra/.git/refs/tags/0.3.1\0", 0xBFFFEDE4, 0xD6) = 0 0
6659/0x144227: lstat("sinatra/.git/refs/tags/0.3.1\0", 0xBFFFEC3C, 0xD6) = 0 0
6659/0x144227: open_nocancel("sinatra/.git/refs/tags/0.3.1\0", 0x20000, 0x0) = 6 0
6659/0x144227: read_nocancel(0x6, "c09025efc5c5e5aca8b26eb22d76ab0b7943ac49\n\0", 0xFF) = 41 0
6659/0x144227: read_nocancel(0x6, "\0", 0xD6) = 0 0
6659/0x144227: close_nocancel(0x6) = 0 0
6659/0x144227: stat("sinatra/.git/refs/tags/0.3.2\0", 0xBFFFEDE4, 0xD6) = 0 0
6659/0x144227: lstat("sinatra/.git/refs/tags/0.3.2\0", 0xBFFFEC3C, 0xD6) = 0 0
6659/0x144227: open_nocancel("sinatra/.git/refs/tags/0.3.2\0", 0x20000, 0x0) = 6 0
6659/0x144227: read_nocancel(0x6, "cdf1abbadd80040d4a88041b50fa8c5cf891b871\n\0", 0xFF) = 41 0
6659/0x144227: read_nocancel(0x6, "\0", 0xD6) = 0 0
6659/0x144227: close_nocancel(0x6) = 0 0
6659/0x144227: stat("sinatra/.git/refs/tags/0.3.3\0", 0xBFFFEDE4, 0xD6) = 0 0
6659/0x144227: lstat("sinatra/.git/refs/tags/0.3.3\0", 0xBFFFEC3C, 0xD6) = 0 0
6659/0x144227: open_nocancel("sinatra/.git/refs/tags/0.3.3\0", 0x20000, 0x0) = 6 0
6659/0x144227: read_nocancel(0x6, "4aefc7d024837e4a947fa978d621b4f019aeda1d\n\0", 0xFF) = 41 0
6659/0x144227: read_nocancel(0x6, "\0", 0xD6) = 0 0
6659/0x144227: close_nocancel(0x6) = 0 0
6659/0x144227: stat("sinatra/.git/refs/tags/0.9.0.1\0", 0xBFFFEDE4, 0xD6) = 0 0
6659/0x144227: lstat("sinatra/.git/refs/tags/0.9.0.1\0", 0xBFFFEC3C, 0xD6) = 0 0
6659/0x144227: open_nocancel("sinatra/.git/refs/tags/0.9.0.1\0", 0x20000, 0x0) = 6 0
6659/0x144227: read_nocancel(0x6, "611442f30f221a7f3db9a2009b19192d8a351386\n\0", 0xFF) = 41 0
6659/0x144227: read_nocancel(0x6, "\0", 0xD6) = 0 0
6659/0x144227: close_nocancel(0x6) = 0 0
6659/0x144227: stat("sinatra/.git/refs/tags/0.9.0.2\0", 0xBFFFEDE4, 0xD6) = 0 0
6659/0x144227: lstat("sinatra/.git/refs/tags/0.9.0.2\0", 0xBFFFEC3C, 0xD6) = 0 0
6659/0x144227: open_nocancel("sinatra/.git/refs/tags/0.9.0.2\0", 0x20000, 0x0) = 6 0
6659/0x144227: read_nocancel(0x6, "5e3d80c3d1d2311741d55cdbba186484ebd7829c\n\0", 0xFF) = 41 0
6659/0x144227: read_nocancel(0x6, "\0", 0xD6) = 0 0
6659/0x144227: close_nocancel(0x6) = 0 0
6659/0x144227: stat("sinatra/.git/refs/tags/0.9.1\0", 0xBFFFEDE4, 0xD6) = 0 0
6659/0x144227: lstat("sinatra/.git/refs/tags/0.9.1\0", 0xBFFFEC3C, 0xD6) = 0 0
6659/0x144227: open_nocancel("sinatra/.git/refs/tags/0.9.1\0", 0x20000, 0x0) = 6 0
6659/0x144227: read_nocancel(0x6, "01b1f4945e6e43aa670b7a68e6759fe1cb61b94a\n\0", 0xFF) = 41 0
6659/0x144227: read_nocancel(0x6, "\0", 0xD6) = 0 0
6659/0x144227: close_nocancel(0x6) = 0 0
6659/0x144227: stat("sinatra/.git/refs/tags/0.9.1.1\0", 0xBFFFEDE4, 0xD6) = 0 0
6659/0x144227: lstat("sinatra/.git/refs/tags/0.9.1.1\0", 0xBFFFEC3C, 0xD6) = 0 0
6659/0x144227: open_nocancel("sinatra/.git/refs/tags/0.9.1.1\0", 0x20000, 0x0) = 6 0
6659/0x144227: read_nocancel(0x6, "0f02bafe86f8dd9bba9ab425468cb1067caa83ff\n\0", 0xFF) = 41 0
6659/0x144227: read_nocancel(0x6, "\0", 0xD6) = 0 0
6659/0x144227: close_nocancel(0x6) = 0 0
6659/0x144227: stat("sinatra/.git/refs/tags/0.9.2\0", 0xBFFFEDE4, 0xD6) = 0 0
6659/0x144227: lstat("sinatra/.git/refs/tags/0.9.2\0", 0xBFFFEC3C, 0xD6) = 0 0
6659/0x144227: open_nocancel("sinatra/.git/refs/tags/0.9.2\0", 0x20000, 0x0) = 6 0
6659/0x144227: read_nocancel(0x6, "f49a515ebfc72bb8af65e6cf6712f0f8279cb6ce\n\0", 0xFF) = 41 0
6659/0x144227: read_nocancel(0x6, "\0", 0xD6) = 0 0
6659/0x144227: close_nocancel(0x6) = 0 0
6659/0x144227: stat("sinatra/.git/refs/tags/0.9.3\0", 0xBFFFEDE4, 0xD6) = 0 0
6659/0x144227: lstat("sinatra/.git/refs/tags/0.9.3\0", 0xBFFFEC3C, 0xD6) = 0 0
6659/0x144227: open_nocancel("sinatra/.git/refs/tags/0.9.3\0", 0x20000, 0x0) = 6 0
6659/0x144227: read_nocancel(0x6, "798ca32d2410477774fe6e1576ebd6b5f7d8517e\n\0", 0xFF) = 41 0
6659/0x144227: read_nocancel(0x6, "\0", 0xD6) = 0 0
6659/0x144227: close_nocancel(0x6) = 0 0
6659/0x144227: stat("sinatra/.git/refs/tags/0.9.4\0", 0xBFFFEDE4, 0xD6) = 0 0
6659/0x144227: lstat("sinatra/.git/refs/tags/0.9.4\0", 0xBFFFEC3C, 0xD6) = 0 0
6659/0x144227: open_nocancel("sinatra/.git/refs/tags/0.9.4\0", 0x20000, 0x0) = 6 0
6659/0x144227: read_nocancel(0x6, "e0ee682740d194e956a6936dcd89512944d891a3\n\0", 0xFF) = 41 0
6659/0x144227: read_nocancel(0x6, "\0", 0xD6) = 0 0
6659/0x144227: close_nocancel(0x6) = 0 0
6659/0x144227: getdirentries(0x5, 0x801400, 0x1000) = 0 0
6659/0x144227: lseek(0x5, 0x0, 0x0) = 0 0
6659/0x144227: close_nocancel(0x5) = 0 0
6659/0x144227: getdirentries(0x4, 0x800400, 0x1000) = 0 0
6659/0x144227: lseek(0x4, 0x0, 0x0) = 0 0
6659/0x144227: close_nocancel(0x4) = 0 0
6659/0x144227: open_nocancel("sinatra/.git/objects/pack\0", 0x120004, 0x0) = 4 0
6659/0x144227: fcntl_nocancel(0x4, 0x2, 0x1) = 0 0
6659/0x144227: fstatfs(0x4, 0xBFFFE940, 0x1) = 0 0
6659/0x144227: getdirentries(0x4, 0x800400, 0x1000) = 144 0
6659/0x144227: access("sinatra/.git/objects/pack/pack-31a7912de802defcbc2911816e72e08c9d16d509.keep\0", 0x0, 0x1000) = -1 Err#2
6659/0x144227: stat("sinatra/.git/objects/pack/pack-31a7912de802defcbc2911816e72e08c9d16d509.pack\0", 0xBFFFEA4C, 0x1000) = 0 0
6659/0x144227: getdirentries(0x4, 0x800400, 0x1000) = 0 0
6659/0x144227: lseek(0x4, 0x0, 0x0) = 0 0
6659/0x144227: close_nocancel(0x4) = 0 0
6659/0x144227: open_nocancel("sinatra/.git/objects/info/alternates\0", 0x20000, 0x0) = -1 Err#2
6659/0x144227: open_nocancel("sinatra/.git/objects/pack/pack-31a7912de802defcbc2911816e72e08c9d16d509.idx\0", 0x20000, 0x0) = 4 0
6659/0x144227: fstat(0x4, 0xBFFFEDC8, 0x0) = 0 0
6659/0x144227: mmap(0x0, 0x1C9A8, 0x1, 0x2, 0x4, 0x100000000) = 0x275000 0
6659/0x144227: close_nocancel(0x4) = 0 0
6659/0x144227: open_nocancel("sinatra/.git/objects/pack/pack-31a7912de802defcbc2911816e72e08c9d16d509.pack\0", 0x20000, 0x0) = 4 0
6659/0x144227: fstat(0x4, 0xBFFFEE60, 0x0) = 0 0
6659/0x144227: fcntl_nocancel(0x4, 0x1, 0x0) = 0 0
6659/0x144227: fcntl_nocancel(0x4, 0x2, 0x1) = 0 0
6659/0x144227: read_nocancel(0x4, "PACK\0", 0xC) = 12 0
6659/0x144227: lseek(0x4, 0xBA698, 0x0) = 763544 0
6659/0x144227: read_nocancel(0x4, "(x)a{e\260\310\265\241\360\323\031J\3307\300\016\362H\0", 0x14) = 20 0
6659/0x144227: mmap(0x0, 0xBA6AC, 0x1, 0x2, 0x4, 0x100000000) = 0x500000 0
6659/0x144227: open_nocancel("sinatra/.git/info/grafts\0", 0x20000, 0x0) = -1 Err#2
6659/0x144227: open_nocancel("sinatra/.git/shallow\0", 0x20000, 0x0) = -1 Err#2
6659/0x144227: stat("sinatra/.git\0", 0xBFFFEC20, 0x0) = 0 0
6659/0x144227: open_nocancel(".\0", 0x0, 0x80) = 5 0
6659/0x144227: fstat64(0x5, 0xBFFFEAF0, 0x80) = 0 0
6659/0x144227: fcntl_nocancel(0x5, 0x32, 0xFFFFFFFFBFFFED08) = 0 0
6659/0x144227: close_nocancel(0x5) = 0 0
6659/0x144227: stat64("/Users/blake/code/fido\0", 0xBFFFEA84, 0xFFFFFFFFBFFFED08) = 0 0
6659/0x144227: chdir("sinatra/.git\0", 0xBFFFEA84, 0xFFFFFFFFBFFFED08) = 0 0
6659/0x144227: open_nocancel(".\0", 0x0, 0xBFFFED08) = 5 0
6659/0x144227: fstat64(0x5, 0xBFFFEAF0, 0xBFFFED08) = 0 0
6659/0x144227: fcntl_nocancel(0x5, 0x32, 0x1094C0) = 0 0
6659/0x144227: close_nocancel(0x5) = 0 0
6659/0x144227: stat64("/Users/blake/code/fido/sinatra/.git\0", 0xBFFFEA84, 0x1094C0) = 0 0
6659/0x144227: lstat("/Users/blake/code/fido/sinatra/.git\0", 0xBFFFECA8, 0x1094C0) = 0 0
6659/0x144227: chdir("/Users/blake/code/fido\0", 0xBFFFECA8, 0x1094C0) = 0 0
6659/0x144227: chdir("/Users/blake/code/fido/sinatra\0", 0xBFFFECA8, 0x1094C0) = 0 0
6659/0x144227: sigaction(0xE, 0xBFFFF010, 0x0) = 0 0
6659/0x144227: setitimer(0x0, 0xBFFFF044, 0x0) = 0 0
6659/0x144227: lstat(".gitignore\0", 0xBFFFF038, 0x0) = -1 Err#2
6659/0x144227: access("/usr/local/git/etc/gitconfig\0", 0x4, 0x0) = -1 Err#2
6659/0x144227: access("/Users/blake/.gitconfig\0", 0x4, 0x0) = 0 0
6659/0x144227: open_nocancel("/Users/blake/.gitconfig\0", 0x20000, 0x0) = 5 0
6659/0x144227: fstat64(0x5, 0xBFFFEC94, 0x0) = 0 0
6659/0x144227: read_nocancel(0x5, "[user]\n\tname = Blake Mizerany\n\temail = blake.mizerany@gmail.com\n[color]\n\tdiff = auto\n\tstatus = auto\n\tbranch = auto\n[github]\n\tuser = bmizerany\n\ttoken = e89dc53759008a8db9677f7714178517\n\0", 0x1000) = 184 0
6659/0x144227: read_nocancel(0x5, "\0", 0x1000) = 0 0
6659/0x144227: close_nocancel(0x5) = 0 0
6659/0x144227: access(".git/config\0", 0x4, 0x1000) = 0 0
6659/0x144227: open_nocancel(".git/config\0", 0x20000, 0x0) = 5 0
6659/0x144227: fstat64(0x5, 0xBFFFEC94, 0x0) = 0 0
6659/0x144227: read_nocancel(0x5, "[core]\n\trepositoryformatversion = 0\n\tfilemode = true\n\tbare = false\n\tlogallrefupdates = true\n\tignorecase = true\n[remote \"origin\"]\n\turl = git://github.com/sinatra/sinatra.git\n\tfetch = +refs/heads/*:refs/remotes/origin/*\n\0", 0x1000) = 218 0
6659/0x144227: read_nocancel(0x5, "\0", 0x1000) = 0 0
6659/0x144227: close_nocancel(0x5) = 0 0
6659/0x144227: open_nocancel(".gitattributes\0", 0x20000, 0x0) = -1 Err#2
6659/0x144227: open_nocancel(".git/info/attributes\0", 0x20000, 0x0) = -1 Err#2
6659/0x144227: open_nocancel(".gitignore\0", 0x20A01, 0x1B6) = 5 0
6659/0x144227: write_nocancel(0x5, "*.log\n.DS_Store\n/dist\n/book\n/doc/api\n/doc/*.html\n\0", 0x31) = 49 0
6659/0x144227: fstat(0x5, 0xBFFFEF74, 0x31) = 0 0
6659/0x144227: close_nocancel(0x5) = 0 0
6659/0x144227: lstat("ChangeLog\0", 0xBFFFF038, 0x31) = -1 Err#2
6659/0x144227: open_nocancel("ChangeLog\0", 0x20A01, 0x1B6) = 5 0
6659/0x144227: write_nocancel(0x5, "= 0.3.3 / 2009-01-06\n\n * Pin to Rack 0.4.0 (this is the last release on Rack 0.4)\n\n * Log unhandled exception backtraces to rack.errors.\n\n * Use RACK_ENV environment variable to establish Sinatra\n environment when given. Thin sets this when started w", 0xBC7) = 3015 0
6659/0x144227: fstat(0x5, 0xBFFFEF74, 0xBC7) = 0 0
6659/0x144227: open_nocancel("LICENSE\0", 0x20A01, 0x1B6) = 5 0
6659/0x144227: write_nocancel(0x5, "Copyright (c) 2007 Blake Mizerany\n\nPermission is hereby granted, free of charge, to any person\nobtaining a copy of this software and associated documentation\nfiles (the \"Software\"), to deal in the Software without\nrestriction, including without limitation ", 0x421) = 1057 0
6659/0x144227: fstat(0x5, 0xBFFFEF74, 0x421) = 0 0
6659/0x144227: close_nocancel(0x5) = 0 0
6659/0x144227: lstat("README.rdoc\0", 0xBFFFF038, 0x421) = -1 Err#2
6659/0x144227: open_nocancel("README.rdoc\0", 0x20A01, 0x1B6) = 5 0
6659/0x144227: write_nocancel(0x5, "= Sinatra\n\nSinatra is a DSL for quickly creating web-applications in Ruby with minimal\neffort.\n\n== Sample App\n\n # myapp.rb\n require 'rubygems'\n require 'sinatra'\n get '/' do\n 'Hello world!'\n end\n\nRun with <tt>ruby myapp.rb</tt> and view at <tt>http", 0x2B04) = 11012 0
6659/0x144227: fstat(0x5, 0xBFFFEF74, 0x2B04) = 0 0
6659/0x144227: close_nocancel(0x5) = 0 0
6659/0x144227: lstat("Rakefile\0", 0xBFFFF038, 0x2B04) = -1 Err#2
6659/0x144227: open_nocancel("Rakefile\0", 0x20A01, 0x1B6) = 5 0
6658/0x144226: fork() = 6659 0
6659/0x144227: fork() = 0 0
6659/0x144227: thread_selfid(0x0, 0x0, 0x0) = 1327655 0
6659/0x144227: getpid(0x0, 0x0, 0x0) = 6659 0
6659/0x144227: execve(0xBFFFEA6C, 0x3005D0, 0x400010) = 0 0
6659/0x144227: getpid(0xBFFFEA6C, 0x3005D0, 0x400010) = 6659 0
6659/0x144227: open_nocancel("/dev/urandom\0", 0x0, 0x0) = 3 0
6659/0x144227: read_nocancel(0x3, "`<\206Y\373\322\267\317\202\233G\377\345\253/g\370\213L9^\266f\\\336qm\351\350sS\n\250\223&\213\\\315\254\357\211I.F\270_o;w\356\177\325t~ax,\\K\246\373b\221[\323\246\3742\342!\342A\343\264CN\310\326\266\"\210C\366\355\037'\310I\031\207\030\261_u\312\0", 0x74) = 116 0
6659/0x144227: close_nocancel(0x3) = 0 0
6659/0x144227: __sysctl(0xBFFFD34C, 0x3, 0xBFFFD35C) = 0 0
6659/0x144227: issetugid(0xBFFFD34C, 0x3, 0xBFFFD35C) = 0 0
6659/0x144227: geteuid(0xBFFFD34C, 0x3, 0xBFFFD35C) = 0 0
6659/0x144227: __sysctl(0xBFFFD314, 0x2, 0xBFFFD2DC) = 0 0
6659/0x144227: __sysctl(0xBFFFD2DC, 0x2, 0xBFFFD35C) = 0 0
6659/0x144227: shared_region_check_np(0xBFFFD530, 0x2, 0xBFFFD35C) = 0 0
6659/0x144227: stat64("/usr/lib/libz.1.dylib\0", 0xBFFFC67C, 0xBFFFD35C) = 0 0
6659/0x144227: stat64("/usr/lib/libiconv.2.dylib\0", 0xBFFFC67C, 0xBFFFD35C) = 0 0
6659/0x144227: stat64("/usr/lib/libcrypto.0.9.7.dylib\0", 0xBFFFC67C, 0xBFFFD35C) = 0 0
6659/0x144227: open("/usr/lib/libcrypto.0.9.7.dylib\0", 0x0, 0x0) = 3 0
6659/0x144227: pread(0x3, "\312\376\272\276\0", 0x1000, 0x0) = 4096 0
6659/0x144227: pread(0x3, "\316\372\355\376\a\0", 0x1000, 0x13C000) = 4096 0
6659/0x144227: mmap(0x11E000, 0xB6000, 0x5, 0x12, 0x3, 0x1FFFFFFFF) = 0x11E000 0
6659/0x144227: mmap(0x1D4000, 0x10000, 0x3, 0x12, 0x3, 0x1FFFFFFFF) = 0x1D4000 0
6659/0x144227: mmap(0x1E7000, 0x31EA0, 0x1, 0x12, 0x3, 0x1FFFFFFFF) = 0x1E7000 0
6659/0x144227: fcntl(0x3, 0x2C, 0xFFFFFFFFBFFFAA44) = 0 0
6659/0x144227: madvise(0x1E7000, 0x2000, 0x2) = 0 0
6659/0x144227: close(0x3) = 0 0
6659/0x144227: stat64("/usr/lib/libssl.0.9.7.dylib\0", 0xBFFFC67C, 0x2) = 0 0
6659/0x144227: open("/usr/lib/libssl.0.9.7.dylib\0", 0x0, 0x0) = 3 0
6659/0x144227: pread(0x3, "\312\376\272\276\0", 0x1000, 0x0) = 4096 0
6659/0x144227: pread(0x3, "\316\372\355\376\a\0", 0x1000, 0x3E000) = 4096 0
6659/0x144227: mmap(0x219000, 0x27000, 0x5, 0x12, 0x3, 0x1FFFFFFFF) = 0x219000 0
6659/0x144227: mmap(0x240000, 0x3000, 0x3, 0x12, 0x3, 0x1FFFFFFFF) = 0x240000 0
6659/0x144227: mmap(0x243000, 0xA3A0, 0x1, 0x12, 0x3, 0x1FFFFFFFF) = 0x243000 0
6659/0x144227: fcntl(0x3, 0x2C, 0xFFFFFFFFBFFFAA14) = 0 0
6659/0x144227: close(0x3) = 0 0
6659/0x144227: stat64("/usr/lib/libgcc_s.1.dylib\0", 0xBFFFC67C, 0xFFFFFFFFBFFFAA14) = 0 0
6659/0x144227: stat64("/usr/lib/libSystem.B.dylib\0", 0xBFFFC610, 0xFFFFFFFFBFFFAA14) = 0 0
6659/0x144227: stat64("/usr/lib/system/libmathCommon.A.dylib\0", 0xBFFFC45C, 0xFFFFFFFFBFFFAA14) = 0 0
6659/0x144227: madvise(0x99836000, 0x2000, 0x5) = 0 0
6659/0x144227: madvise(0x1E7000, 0x2000, 0x5) = 0 0
6659/0x144227: open("/dev/dtracehelper\0", 0x2, 0xBFFFD2F4) = 3 0
6659/0x144227: close_nocancel(0x5) = 0 0
6659/0x144227: lstat("LICENSE\0", 0xBFFFF038, 0xBC7) = -1 Err#2
6659/0x144227: write_nocancel(0x5, "require 'rubygems'\nrequire 'rake/clean'\nrequire 'fileutils'\n\ntask :default => :test\n\n# SPECS ===============================================================\n\ndesc 'Run specs with story style output'\ntask :spec do\n sh 'specrb --specdox -Ilib:test test/*_te", 0x1245) = 4677 0
6659/0x144227: fstat(0x5, 0xBFFFEF74, 0x1245) = 0 0
6659/0x144227: close_nocancel(0x5) = 0 0
6659/0x144227: lstat("doc\0", 0xBFFFEEFC, 0x1245) = -1 Err#2
6659/0x144227: lstat("doc\0", 0xBFFFEF0C, 0x1245) = -1 Err#2
6659/0x144227: mkdir("doc\0", 0x1FF, 0x1245) = 0 0
6659/0x144227: open_nocancel("doc/.gitattributes\0", 0x20000, 0x0) = -1 Err#2
6659/0x144227: open_nocancel("doc/favicon.ico\0", 0x20A01, 0x1FF) = 5 0
6659/0x144227: fstat(0x5, 0xBFFFEF74, 0x1FF) = 0 0
6659/0x144227: close_nocancel(0x5) = 0 0
6659/0x144227: lstat("doc\0", 0xBFFFEEFC, 0x1FF) = 0 0
6659/0x144227: lstat("doc/sinatra-logo.gif\0", 0xBFFFF038, 0x1FF) = -1 Err#2
6659/0x144227: open_nocancel("doc/sinatra-logo.gif\0", 0x20A01, 0x1B6) = 5 0
6659/0x144227: write_nocancel(0x5, "GIF89a\234\0", 0x14D9) = 5337 0
6659/0x144227: fstat(0x5, 0xBFFFEF74, 0x14D9) = 0 0
6659/0x144227: close_nocancel(0x5) = 0 0
6659/0x144227: lstat("doc/sinatra.css\0", 0xBFFFF038, 0x14D9) = -1 Err#2
6659/0x144227: open_nocancel("doc/sinatra.css\0", 0x20A01, 0x1B6) = 5 0
6659/0x144227: write_nocancel(0x5, "body {\n font-size: 100%;\n font-family: Helvetica, Arial, sans-serif;\n margin: auto 10em; }\n\nbody\n { color: #222;\n background: #fafafa;\n font-family: Helvetica, Arial, sans-serif;\n margin: auto 8em;\n padding: 0; }\n\na {\n\tcolor: #1177DD;\n\ttext", 0x804) = 2052 0
6659/0x144227: fstat(0x5, 0xBFFFEF74, 0x804) = 0 0
6659/0x144227: close_nocancel(0x5) = 0 0
6659/0x144227: lstat("doc/template.haml\0", 0xBFFFF038, 0x804) = -1 Err#2
6659/0x144227: open_nocancel("doc/template.haml\0", 0x20A01, 0x1B6) = 5 0
6659/0x144227: write_nocancel(0x5, "!!! strict\n%html\n %head\n %title= title\n %link{ :media => 'screen', :type => 'text/css', :href => 'sinatra.css', :rel => 'stylesheet' }\n %body\n #content\n %a{ :href => './'}\n %img{ :src => \"sinatra-logo.gif\", :width => 156, :height => ", 0x25B) = 603 0
6659/0x144227: fstat(0x5, 0xBFFFEF74, 0x25B) = 0 0
6659/0x144227: close_nocancel(0x5) = 0 0
6659/0x144227: lstat("images\0", 0xBFFFEEFC, 0x25B) = -1 Err#2
6659/0x144227: lstat("images\0", 0xBFFFEF0C, 0x25B) = -1 Err#2
6659/0x144227: mkdir("images\0", 0x1FF, 0x25B) = 0 0
6659/0x144227: open_nocancel("images/.gitattributes\0", 0x20000, 0x0) = -1 Err#2
6659/0x144227: open_nocancel("images/404.png\0", 0x20A01, 0x1B6) = 5 0
6659/0x144227: write_nocancel(0x5, "\211PNG\r\n\032\n\0", 0x5B09) = 23305 0
6659/0x144227: fstat(0x5, 0xBFFFEF74, 0x5B09) = 0 0
6659/0x144227: close_nocancel(0x5) = 0 0
6659/0x144227: lstat("images\0", 0xBFFFEEFC, 0x5B09) = 0 0
6659/0x144227: lstat("images/500.png\0", 0xBFFFF038, 0x5B09) = -1 Err#2
6659/0x144227: open_nocancel("images/500.png\0", 0x20A01, 0x1B6) = 5 0
6659/0x144227: write_nocancel(0x5, "\211PNG\r\n\032\n\0", 0x7950) = 31056 0
6659/0x144227: fstat(0x5, 0xBFFFEF74, 0x7950) = 0 0
6659/0x144227: close_nocancel(0x5) = 0 0
6659/0x144227: lstat("lib\0", 0xBFFFEEFC, 0x7950) = -1 Err#2
6659/0x144227: lstat("lib\0", 0xBFFFEF0C, 0x7950) = -1 Err#2
6659/0x144227: mkdir("lib\0", 0x1FF, 0x7950) = 0 0
6659/0x144227: open_nocancel("lib/.gitattributes\0", 0x20000, 0x0) = -1 Err#2
6659/0x144227: open_nocancel("lib/sinatra.rb\0", 0x20A01, 0x1FF) = 5 0
6659/0x144227: write_nocancel(0x5, "require 'time'\nrequire 'ostruct'\nrequire 'uri'\nrequire 'rack'\n\nif ENV['SWIFT']\n require 'swiftcore/swiftiplied_mongrel'\n puts \"Using Swiftiplied Mongrel\"\nelsif ENV['EVENT']\n require 'swiftcore/evented_mongrel'\n puts \"Using Evented Mongrel\"\nend\n\nunless de", 0xB31F) = 45855 0
6659/0x144227: fstat(0x5, 0xBFFFEF74, 0xB31F) = 0 0
6659/0x144227: close_nocancel(0x5) = 0 0
6659/0x144227: lstat("lib\0", 0xBFFFEEFC, 0xB31F) = 0 0
6659/0x144227: lstat("lib/sinatra\0", 0xBFFFEEFC, 0xB31F) = -1 Err#2
6659/0x144227: lstat("lib/sinatra\0", 0xBFFFEF0C, 0xB31F) = -1 Err#2
6659/0x144227: mkdir("lib/sinatra\0", 0x1FF, 0xB31F) = 0 0
6659/0x144227: lstat("lib/sinatra\0", 0xBFFFEF0C, 0xB31F) = 0 0
6659/0x144227: lstat("lib/sinatra/test\0", 0xBFFFEF0C, 0xB31F) = -1 Err#2
6659/0x144227: mkdir("lib/sinatra/test\0", 0x1FF, 0xB31F) = 0 0
6659/0x144227: open_nocancel("lib/sinatra/.gitattributes\0", 0x20000, 0x0) = -1 Err#2
6659/0x144227: open_nocancel("lib/sinatra/test/.gitattributes\0", 0x20000, 0x0) = -1 Err#2
6659/0x144227: open_nocancel("lib/sinatra/test/methods.rb\0", 0x20A01, 0x1B6) = 5 0
6659/0x144227: write_nocancel(0x5, "module Sinatra\n\n module Test\n\n module Methods\n include Rack::Utils\n\n ENV_KEY_NAMES = {\n :accept => \"HTTP_ACCEPT\",\n :agent => \"HTTP_USER_AGENT\",\n :host => \"HTTP_HOST\",\n :session => \"HTTP_COOKIE\",\n :cookies =>", 0x799) = 1945 0
6659/0x144227: fstat(0x5, 0xBFFFEF74, 0x799) = 0 0
6659/0x144227: close_nocancel(0x5) = 0 0
6659/0x144227: lstat("lib/sinatra/test\0", 0xBFFFEEFC, 0x799) = 0 0
6659/0x144227: lstat("lib/sinatra/test/rspec.rb\0", 0xBFFFF038, 0x799) = -1 Err#2
6659/0x144227: open_nocancel("lib/sinatra/test/rspec.rb\0", 0x20A01, 0x1B6) = 5 0
6659/0x144227: write_nocancel(0x5, "require File.dirname(__FILE__) + '/unit'\nrequire 'spec/interop/test'\n\nclass Test::Unit::TestCase\n\n def should\n @response.should\n end\n\nend\nsing the\n # optional hash argument:\n #\n # get '/foo.html' do\n # content_type 'text/html', :char", 0x8F) = 143 0
6659/0x144227: fstat(0x5, 0xBFFFEF74, 0x8F) = 0 0
6659/0x144227: close_nocancel(0x5) = 0 0
6659/0x144227: lstat("lib/sinatra/test/spec.rb\0", 0xBFFFF038, 0x8F) = -1 Err#2
6659/0x144227: open_nocancel("lib/sinatra/test/spec.rb\0", 0x20A01, 0x1B6) = 5 0
6659/0x144227: write_nocancel(0x5, "require File.dirname(__FILE__) + '/unit'\nrequire 'test/spec'\n\nclass Test::Unit::TestCase\n\n def should\n @response.should\n end\n\nend\n def determine_layout(renderer, template, options)\n return if options[:layout] == false\n layout_from_options", 0x87) = 135 0
6659/0x144227: fstat(0x5, 0xBFFFEF74, 0x87) = 0 0
6659/0x144227: close_nocancel(0x5) = 0 0
6659/0x144227: lstat("lib/sinatra/test/unit.rb\0", 0xBFFFF038, 0x87) = -1 Err#2
6659/0x144227: open_nocancel("lib/sinatra/test/unit.rb\0", 0x20A01, 0x1B6) = 5 0
6659/0x144227: write_nocancel(0x5, "require 'test/unit'\nrequire File.dirname(__FILE__) + '/methods'\n\nTest::Unit::TestCase.send(:include, Sinatra::Test::Methods)\n\nSinatra::Application.default_options.merge!(\n :env => :test,\n :run => false,\n :raise_errors => true,\n :logging => false\n)\n\nSin", 0x117) = 279 0
6659/0x144227: fstat(0x5, 0xBFFFEF74, 0x117) = 0 0
6659/0x144227: close_nocancel(0x5) = 0 0
6659/0x144227: lstat("sinatra.gemspec\0", 0xBFFFF038, 0x117) = -1 Err#2
6659/0x144227: open_nocancel("sinatra.gemspec\0", 0x20A01, 0x1B6) = 5 0
6659/0x144227: write_nocancel(0x5, "Gem::Specification.new do |s|\n s.specification_version = 2 if s.respond_to? :specification_version=\n s.required_rubygems_version = Gem::Requirement.new(\">= 0\") if s.respond_to? :required_rubygems_version=\n\n s.name = 'sinatra'\n s.version = '0.3.3'\n s.d", 0x899) = 2201 0
6659/0x144227: fstat(0x5, 0xBFFFEF74, 0x899) = 0 0
6659/0x144227: close_nocancel(0x5) = 0 0
6659/0x144227: lstat("test\0", 0xBFFFEEFC, 0x899) = -1 Err#2
6659/0x144227: lstat("test\0", 0xBFFFEF0C, 0x899) = -1 Err#2
6659/0x144227: mkdir("test\0", 0x1FF, 0x899) = 0 0
6659/0x144227: open_nocancel("test/.gitattributes\0", 0x20000, 0x0) = -1 Err#2
6659/0x144227: open_nocancel("test/app_test.rb\0", 0x20A01, 0x1B6) = 5 0
6659/0x144227: write_nocancel(0x5, "require File.dirname(__FILE__) + '/helper'\n\ncontext \"Sinatra\" do\n\n setup do\n Sinatra.application = nil\n end\n\n specify \"should put all DSL methods on (main)\" do\n object = Object.new\n Sinatra::Application::FORWARD_METHODS.each do |method|\n o", 0x18F3) = 6387 0
6659/0x144227: fstat(0x5, 0xBFFFEF74, 0x18F3) = 0 0
6659/0x144227: close_nocancel(0x5) = 0 0
6659/0x144227: lstat("test\0", 0xBFFFEEFC, 0x18F3) = 0 0
6659/0x144227: lstat("test/application_test.rb\0", 0xBFFFF038, 0x18F3) = -1 Err#2
6637/0x14420f: wait4(0xFFFFFFFF, 0xBFFFEA4C, 0x0) = 6658 0
6637/0x14420f: sigprocmask(0x3, 0xBFFFEAA8, 0x0) = 0x0 0
6637/0x14420f: sigaction(0x2, 0xBFFFEA10, 0xBFFFEA48) = 0 0
6637/0x14420f: sigprocmask(0x3, 0xBFFFEA9C, 0x0) = 0x0 0
6637/0x14420f: sigreturn(0x0, 0x80000000, 0x0) = 0 0
6659/0x144227: open_nocancel("test/application_test.rb\0", 0x20A01, 0x1B6) = 5 0
6659/0x144227: write_nocancel(0x5, "require File.dirname(__FILE__) + '/helper'\n\nrequire 'uri'\n\nclass TesterWithEach\n def each\n yield 'foo'\n yield 'bar'\n yield 'baz'\n end\nend\n\ncontext \"Looking up a request\" do\n\n setup do\n Sinatra.application = nil\n end\n\n specify \"returns what", 0x19DA) = 6618 0
6659/0x144227: fstat(0x5, 0xBFFFEF74, 0x19DA) = 0 0
6659/0x144227: close_nocancel(0x5) = 0 0
6659/0x144227: lstat("test/builder_test.rb\0", 0xBFFFF038, 0x19DA) = -1 Err#2
6659/0x144227: open_nocancel("test/builder_test.rb\0", 0x20A01, 0x1B6) = 5 0
6659/0x144227: write_nocancel(0x5, "require File.dirname(__FILE__) + '/helper'\n\ncontext \"Builder\" do\n\n setup do\n Sinatra.application = nil\n end\n\n context \"without layouts\" do\n\n setup do\n Sinatra.application = nil\n end\n\n specify \"should render\" do\n\n get '/no_layout' d", 0x751) = 1873 0
6659/0x144227: fstat(0x5, 0xBFFFEF74, 0x751) = 0 0
6659/0x144227: close_nocancel(0x5) = 0 0
6659/0x144227: lstat("test/custom_error_test.rb\0", 0xBFFFF038, 0x751) = -1 Err#2
6659/0x144227: open_nocancel("test/custom_error_test.rb\0", 0x20A01, 0x1B6) = 5 0
6659/0x144227: write_nocancel(0x5, "require File.dirname(__FILE__) + '/helper'\n\ncontext \"Custom Errors\" do\n\n setup do\n Sinatra.application = nil\n end\n\n specify \"override the default 404\" do\n\n get_it '/'\n should.be.not_found\n body.should.equal '<h1>Not Found</h1>'\n\n error Si", 0x44E) = 1102 0
6659/0x144227: fstat(0x5, 0xBFFFEF74, 0x44E) = 0 0
6659/0x144227: close_nocancel(0x5) = 0 0
6659/0x144227: lstat("test/erb_test.rb\0", 0xBFFFF038, 0x44E) = -1 Err#2
6659/0x144227: open_nocancel("test/erb_test.rb\0", 0x20A01, 0x1B6) = 5 0
6659/0x144227: write_nocancel(0x5, "require File.dirname(__FILE__) + '/helper'\n\ncontext \"Erb\" do\n\n setup do\n Sinatra.application = nil\n end\n\n context \"without layouts\" do\n\n setup do\n Sinatra.application = nil\n end\n\n specify \"should render\" do\n\n get '/no_layout' do\n ", 0x9FF) = 2559 0
6659/0x144227: fstat(0x5, 0xBFFFEF74, 0x9FF) = 0 0
6659/0x144227: close_nocancel(0x5) = 0 0
6659/0x144227: lstat("test/event_context_test.rb\0", 0xBFFFF038, 0x9FF) = -1 Err#2
6659/0x144227: open_nocancel("test/event_context_test.rb\0", 0x20A01, 0x1B6) = 5 0
6659/0x144227: write_nocancel(0x5, "require File.dirname(__FILE__) + '/helper'\n\ncontext \"EventContext\" do\n\n specify \"DSLified setters\" do\n\n cx = Sinatra::EventContext.new(stub_everything, Rack::Response.new, {})\n lambda {\n cx.status 404\n }.should.not.raise(ArgumentError)\n\n en", 0x108) = 264 0
6659/0x144227: fstat(0x5, 0xBFFFEF74, 0x108) = 0 0
6659/0x144227: close_nocancel(0x5) = 0 0
6659/0x144227: lstat("test/events_test.rb\0", 0xBFFFF038, 0x108) = -1 Err#2
6659/0x144227: open_nocancel("test/events_test.rb\0", 0x20A01, 0x1B6) = 5 0
6659/0x144227: write_nocancel(0x5, "require File.dirname(__FILE__) + '/helper'\n\ncontext \"Simple Events\" do\n\n def simple_request_hash(method, path)\n Rack::Request.new({\n 'REQUEST_METHOD' => method.to_s.upcase,\n 'PATH_INFO' => path\n })\n end\n\n def invoke_simple(path, request_", 0x769) = 1897 0
6659/0x144227: fstat(0x5, 0xBFFFEF74, 0x769) = 0 0
6659/0x144227: close_nocancel(0x5) = 0 0
6659/0x144227: lstat("test/filter_test.rb\0", 0xBFFFF038, 0x769) = -1 Err#2
6659/0x144227: open_nocancel("test/filter_test.rb\0", 0x20A01, 0x1B6) = 5 0
6659/0x144227: write_nocancel(0x5, "require File.dirname(__FILE__) + '/helper'\n\ncontext \"before filters\" do\n\n setup do\n Sinatra.application = nil\n @app = Sinatra.application\n end\n\n specify \"should be executed in the order defined\" do\n invoked = 0x0\n @app.before { invoked = 0x0", 0x2A6) = 678 0
6659/0x144227: fstat(0x5, 0xBFFFEF74, 0x2A6) = 0 0
6659/0x144227: close_nocancel(0x5) = 0 0
6659/0x144227: lstat("test/haml_test.rb\0", 0xBFFFF038, 0x2A6) = -1 Err#2
6659/0x144227: open_nocancel("test/haml_test.rb\0", 0x20A01, 0x1B6) = 5 0
6659/0x144227: write_nocancel(0x5, "require File.dirname(__FILE__) + '/helper'\n\ncontext \"Haml\" do\n\n setup do\n Sinatra.application = nil\n end\n\n context \"without layouts\" do\n\n setup do\n Sinatra.application = nil\n end\n\n specify \"should render\" do\n\n get '/no_layout' do\n ", 0x10B6) = 4278 0
6659/0x144227: fstat(0x5, 0xBFFFEF74, 0x10B6) = 0 0
6659/0x144227: close_nocancel(0x5) = 0 0
6659/0x144227: lstat("test/helper.rb\0", 0xBFFFF038, 0x10B6) = -1 Err#2
6659/0x144227: open_nocancel("test/helper.rb\0", 0x20A01, 0x1B6) = 5 0
6659/0x144227: write_nocancel(0x5, "require 'rubygems'\nrequire 'mocha'\n\ngem 'rack', '~> 0.4.0'\n\n$:.unshift File.dirname(File.dirname(__FILE__)) + \"/lib\"\n\nrequire 'sinatra'\nrequire 'sinatra/test/spec'\nxpects(:new).with('foo', {:format => :html4}).returns(stub(:render => 'foo'))\n\n get_it ", 0xA4) = 164 0
6659/0x144227: fstat(0x5, 0xBFFFEF74, 0xA4) = 0 0
6659/0x144227: close_nocancel(0x5) = 0 0
6659/0x144227: lstat("test/mapped_error_test.rb\0", 0xBFFFF038, 0xA4) = -1 Err#2
6659/0x144227: open_nocancel("test/mapped_error_test.rb\0", 0x20A01, 0x1B6) = 5 0
6659/0x144227: write_nocancel(0x5, "require File.dirname(__FILE__) + '/helper'\n\nclass FooError < RuntimeError; end\n\ncontext \"Mapped errors\" do\n\n setup do\n Sinatra.application = nil\n Sinatra.application.options.raise_errors = false\n end\n\n specify \"are rescued and run in context\" do\n\n", 0x443) = 1091 0
6659/0x144227: fstat(0x5, 0xBFFFEF74, 0x443) = 0 0
6659/0x144227: close_nocancel(0x5) = 0 0
6659/0x144227: lstat("test/pipeline_test.rb\0", 0xBFFFF038, 0x443) = -1 Err#2
6659/0x144227: open_nocancel("test/pipeline_test.rb\0", 0x20A01, 0x1B6) = 5 0
6659/0x144227: write_nocancel(0x5, "require File.dirname(__FILE__) + '/helper'\n\nclass UpcaseMiddleware\n def initialize(app, *args, &block)\n @app = app\n @args = args\n @block = block\n end\n def call(env)\n env['PATH_INFO'] = env['PATH_INFO'].to_s.upcase\n @app.call(env)\n end\nen", 0x7EF) = 2031 0
6659/0x144227: fstat(0x5, 0xBFFFEF74, 0x7EF) = 0 0
6659/0x144227: close_nocancel(0x5) = 0 0
6659/0x144227: lstat("test/public\0", 0xBFFFEEFC, 0x7EF) = -1 Err#2
6659/0x144227: lstat("test/public\0", 0xBFFFEF0C, 0x7EF) = -1 Err#2
6659/0x144227: mkdir("test/public\0", 0x1FF, 0x7EF) = 0 0
6659/0x144227: open_nocancel("test/public/.gitattributes\0", 0x20000, 0x0) = -1 Err#2
6659/0x144227: open_nocancel("test/public/foo.xml\0", 0x20A01, 0x1B6) = 5 0
6659/0x144227: write_nocancel(0x5, "<foo></foo>\n\0", 0xC) = 12 0
6659/0x144227: fstat(0x5, 0xBFFFEF74, 0xC) = 0 0
6659/0x144227: close_nocancel(0x5) = 0 0
6659/0x144227: lstat("test/sass_test.rb\0", 0xBFFFF038, 0xC) = -1 Err#2
6659/0x144227: open_nocancel("test/sass_test.rb\0", 0x20A01, 0x1B6) = 5 0
6659/0x144227: write_nocancel(0x5, "require File.dirname(__FILE__) + '/helper'\n\ncontext \"Sass\" do\n\n setup do\n Sinatra.application = nil\n end\n\n context \"Templates (in general)\" do\n\n setup do\n Sinatra.application = nil\n end\n\n specify \"are read from files if Symbols\" do\n\n ", 0x4E5) = 1253 0
6659/0x144227: fstat(0x5, 0xBFFFEF74, 0x4E5) = 0 0
6659/0x144227: close_nocancel(0x5) = 0 0
6659/0x144227: lstat("test/sessions_test.rb\0", 0xBFFFF038, 0x4E5) = -1 Err#2
6659/0x144227: open_nocancel("test/sessions_test.rb\0", 0x20A01, 0x1B6) = 5 0
6659/0x144227: write_nocancel(0x5, "require File.dirname(__FILE__) + '/helper'\n\ncontext \"Sessions\" do\n\n setup { Sinatra.application = nil }\n\n specify \"should be off by default\" do\n get '/asdf' do\n session[:test] = true\n \"asdf\"\n end\n\n get '/test' do\n session[:test] =", 0x2FB) = 763 0
6659/0x144227: fstat(0x5, 0xBFFFEF74, 0x2FB) = 0 0
6659/0x144227: close_nocancel(0x5) = 0 0
6659/0x144227: lstat("test/streaming_test.rb\0", 0xBFFFF038, 0x2FB) = -1 Err#2
6659/0x144227: open_nocancel("test/streaming_test.rb\0", 0x20A01, 0x1B6) = 5 0
6659/0x144227: write_nocancel(0x5, "require File.dirname(__FILE__) + '/helper'\n\ncontext \"Static files (by default)\" do\n\n setup do\n Sinatra.application = nil\n Sinatra.application.options.public = File.dirname(__FILE__) + '/public'\n end\n\n specify \"are served from root/public\" do\n g", 0xC1B) = 3099 0
6659/0x144227: fstat(0x5, 0xBFFFEF74, 0xC1B) = 0 0
6659/0x144227: close_nocancel(0x5) = 0 0
6659/0x144227: lstat("test/sym_params_test.rb\0", 0xBFFFF038, 0xC1B) = -1 Err#2
6659/0x144227: open_nocancel("test/sym_params_test.rb\0", 0x20A01, 0x1B6) = 5 0
6659/0x144227: write_nocancel(0x5, "require File.dirname(__FILE__) + '/helper'\n\ncontext \"Symbol Params\" do\n\n setup do\n Sinatra.application = nil\n end\n\n specify \"should be accessable as Strings or Symbols\" do\n get '/' do\n params[:foo] + params['foo']\n end\n\n get_it '/', :fo", 0x132) = 306 0
6659/0x144227: fstat(0x5, 0xBFFFEF74, 0x132) = 0 0
6659/0x144227: close_nocancel(0x5) = 0 0
6659/0x144227: lstat("test/template_test.rb\0", 0xBFFFF038, 0x132) = -1 Err#2
6659/0x144227: open_nocancel("test/template_test.rb\0", 0x20A01, 0x1B6) = 5 0
6659/0x144227: write_nocancel(0x5, "require File.dirname(__FILE__) + '/helper'\n\ncontext \"Templates\" do\n\n specify \"are read from files if Symbols\" do\n\n get '/from_file' do\n @name = 'Alena'\n erb :foo, :views_directory => File.dirname(__FILE__) + \"/views\"\n end\n\n get_it '/fro", 0x252) = 594 0
6659/0x144227: fstat(0x5, 0xBFFFEF74, 0x252) = 0 0
6659/0x144227: close_nocancel(0x5) = 0 0
6659/0x144227: lstat("test/use_in_file_templates_test.rb\0", 0xBFFFF038, 0x252) = -1 Err#2
6659/0x144227: open_nocancel("test/use_in_file_templates_test.rb\0", 0x20A01, 0x1B6) = 5 0
6659/0x144227: write_nocancel(0x5, "require File.dirname(__FILE__) + '/helper'\n\ncontext \"Rendering in file templates\" do\n\n setup do\n Sinatra.application = nil\n use_in_file_templates!\n end\n\n specify \"should set template\" do\n assert Sinatra.application.templates[:foo]\n end\n\n spec", 0x2DE) = 734 0
6659/0x144227: fstat(0x5, 0xBFFFEF74, 0x2DE) = 0 0
6659/0x144227: close_nocancel(0x5) = 0 0
6659/0x144227: lstat("test/views\0", 0xBFFFEEFC, 0x2DE) = -1 Err#2
6659/0x144227: lstat("test/views\0", 0xBFFFEF0C, 0x2DE) = -1 Err#2
6659/0x144227: mkdir("test/views\0", 0x1FF, 0x2DE) = 0 0
6659/0x144227: open_nocancel("test/views/.gitattributes\0", 0x20000, 0x0) = -1 Err#2
6659/0x144227: open_nocancel("test/views/foo.builder\0", 0x20A01, 0x1B6) = 5 0
6659/0x144227: write_nocancel(0x5, "xml.exclaim \"You rock #{@name}!\"\n\006\0", 0x21) = 33 0
6659/0x144227: fstat(0x5, 0xBFFFEF74, 0x21) = 0 0
6659/0x144227: close_nocancel(0x5) = 0 0
6659/0x144227: lstat("test/views\0", 0xBFFFEEFC, 0x21) = 0 0
6659/0x144227: lstat("test/views/foo.erb\0", 0xBFFFF038, 0x21) = -1 Err#2
6659/0x144227: open_nocancel("test/views/foo.erb\0", 0x20A01, 0x1B6) = 5 0
6659/0x144227: write_nocancel(0x5, "You rock <%= @name %>!\330\223+\230\023x\234\215\216Mn\2030\020\205\367>\305H]'\330\3300&\252\242\236!jWU\027\266\031\003*\306\310\f\225r\373R5\335w\367\364\364\275\037.D\340\214\355j\217&\206&\312he+\025z\027<\021\312\266\221\016)\022\326\326\210\325\025Z\030\272\236\002\032\322\275\265\235\363\315\001EDOQ\305@G\201\361\3306:\366A\270\235\307\\\340vw\v\274\346\344\356\237\031\236\v\377\252\227!\271i>\207\234\256\240j\215\326ji\024\234$J)\0167M\314\364\337p\327\030\255\352GX\334(\345/\202m_\327\\\030\342\361a\313{\t\004q\232\t\n\315\331\365\3232\300\373\223j\333\017!\336\266\203\0363\017\373r\201\221y\275T\325\337\324y\230x\334\375\317V\365`*\361\r\304\271d\303\231\016x\234\235\313AJC1", 0x16) = 22 0
6659/0x144227: fstat(0x5, 0xBFFFEF74, 0x16) = 0 0
6659/0x144227: close_nocancel(0x5) = 0 0
6659/0x144227: lstat("test/views/foo.haml\0", 0xBFFFF038, 0x16) = -1 Err#2
6659/0x144227: open_nocancel("test/views/foo.haml\0", 0x20A01, 0x1B6) = 5 0
6659/0x144227: write_nocancel(0x5, "== You rock #{@name}!\0", 0x15) = 21 0
6659/0x144227: fstat(0x5, 0xBFFFEF74, 0x15) = 0 0
6659/0x144227: close_nocancel(0x5) = 0 0
6659/0x144227: lstat("test/views/foo.sass\0", 0xBFFFF038, 0x15) = -1 Err#2
6659/0x144227: open_nocancel("test/views/foo.sass\0", 0x20A01, 0x1B6) = 5 0
6659/0x144227: write_nocancel(0x5, "#sass\n :background_color #FFF\0", 0x1E) = 30 0
6659/0x144227: fstat(0x5, 0xBFFFEF74, 0x1E) = 0 0
6659/0x144227: close_nocancel(0x5) = 0 0
6659/0x144227: lstat("test/views/foo_layout.erb\0", 0xBFFFF038, 0x1E) = -1 Err#2
6659/0x144227: open_nocancel("test/views/foo_layout.erb\0", 0x20A01, 0x1B6) = 5 0
6659/0x144227: write_nocancel(0x5, "<%= @title %>\nHi <%= yield %>\n\0", 0x1E) = 30 0
6659/0x144227: fstat(0x5, 0xBFFFEF74, 0x1E) = 0 0
6659/0x144227: close_nocancel(0x5) = 0 0
6659/0x144227: lstat("test/views/foo_layout.haml\0", 0xBFFFF038, 0x1E) = -1 Err#2
6659/0x144227: open_nocancel("test/views/foo_layout.haml\0", 0x20A01, 0x1B6) = 5 0
6659/0x144227: write_nocancel(0x5, "== #{@title}\n== Hi #{yield}\n\0", 0x1C) = 28 0
6659/0x144227: fstat(0x5, 0xBFFFEF74, 0x1C) = 0 0
6659/0x144227: close_nocancel(0x5) = 0 0
6659/0x144227: lstat("test/views/layout_test\0", 0xBFFFEEFC, 0x1C) = -1 Err#2
6659/0x144227: lstat("test/views/layout_test\0", 0xBFFFEF0C, 0x1C) = -1 Err#2
6659/0x144227: mkdir("test/views/layout_test\0", 0x1FF, 0x1C) = 0 0
6659/0x144227: open_nocancel("test/views/layout_test/.gitattributes\0", 0x20000, 0x0) = -1 Err#2
6659/0x144227: open_nocancel("test/views/layout_test/foo.builder\0", 0x20A01, 0x1B6) = 5 0
6659/0x144227: write_nocancel(0x5, "xml.this \"is foo!\"\n\0", 0x13) = 19 0
6659/0x144227: fstat(0x5, 0xBFFFEF74, 0x13) = 0 0
6659/0x144227: close_nocancel(0x5) = 0 0
6659/0x144227: lstat("test/views/layout_test\0", 0xBFFFEEFC, 0x13) = 0 0
6659/0x144227: lstat("test/views/layout_test/foo.erb\0", 0xBFFFF038, 0x13) = -1 Err#2
6659/0x144227: open_nocancel("test/views/layout_test/foo.erb\0", 0x20A01, 0x1B6) = 5 0
6659/0x144227: write_nocancel(0x5, "This is foo!!\277\223\004\244\330\212\330'\037\324\r\334\334\334i\a\233\311\0203\205\356\336\202n\300\267\303\a\2477f@\343\214\324\216\210B\236\024{\234R\3661\214\024\225\262\221\306\204\222\214\315^\254\330\004\0", 0xC) = 12 0
6659/0x144227: fstat(0x5, 0xBFFFEF74, 0xC) = 0 0
6659/0x144227: close_nocancel(0x5) = 0 0
6659/0x144227: lstat("test/views/layout_test/foo.haml\0", 0xBFFFF038, 0xC) = -1 Err#2
6659/0x144227: open_nocancel("test/views/layout_test/foo.haml\0", 0x20A01, 0x1B6) = 5 0
6659/0x144227: write_nocancel(0x5, "This is foo!\0", 0xC) = 12 0
6659/0x144227: fstat(0x5, 0xBFFFEF74, 0xC) = 0 0
6659/0x144227: close_nocancel(0x5) = 0 0
6659/0x144227: lstat("test/views/layout_test/foo.sass\0", 0xBFFFF038, 0xC) = -1 Err#2
6659/0x144227: open_nocancel("test/views/layout_test/foo.sass\0", 0x20A01, 0x1B6) = 5 0
6659/0x144227: write_nocancel(0x5, "#sass\n :background_color #FFFbjects/99/52b8d4efa584b4d575cc3b33dc14b09f802362\0", 0x1E) = 30 0
6659/0x144227: fstat(0x5, 0xBFFFEF74, 0x1E) = 0 0
6659/0x144227: close_nocancel(0x5) = 0 0
6659/0x144227: lstat("test/views/layout_test/layout.builder\0", 0xBFFFF038, 0x1E) = -1 Err#2
6659/0x144227: open_nocancel("test/views/layout_test/layout.builder\0", 0x20A01, 0x1B6) = 5 0
6659/0x144227: write_nocancel(0x5, "xml.layout do\n xml << yield\nend\n\0", 0x21) = 33 0
6659/0x144227: fstat(0x5, 0xBFFFEF74, 0x21) = 0 0
6659/0x144227: close_nocancel(0x5) = 0 0
6659/0x144227: lstat("test/views/layout_test/layout.erb\0", 0xBFFFF038, 0x21) = -1 Err#2
6659/0x144227: open_nocancel("test/views/layout_test/layout.erb\0", 0x20A01, 0x1B6) = 5 0
6659/0x144227: write_nocancel(0x5, "x <%= yield %> x \n\0", 0x12) = 18 0
6659/0x144227: fstat(0x5, 0xBFFFEF74, 0x12) = 0 0
6659/0x144227: close_nocancel(0x5) = 0 0
6659/0x144227: lstat("test/views/layout_test/layout.haml\0", 0xBFFFF038, 0x12) = -1 Err#2
6659/0x144227: open_nocancel("test/views/layout_test/layout.haml\0", 0x20A01, 0x1B6) = 5 0
6659/0x144227: write_nocancel(0x5, "== x #{yield} x\n\0", 0x10) = 16 0
6659/0x144227: fstat(0x5, 0xBFFFEF74, 0x10) = 0 0
6659/0x144227: close_nocancel(0x5) = 0 0
6659/0x144227: lstat("test/views/layout_test/layout.sass\0", 0xBFFFF038, 0x10) = -1 Err#2
6659/0x144227: open_nocancel("test/views/layout_test/layout.sass\0", 0x20A01, 0x1B6) = 5 0
6659/0x144227: write_nocancel(0x5, "b0rked!\n= yield\0", 0xF) = 15 0
6659/0x144227: fstat(0x5, 0xBFFFEF74, 0xF) = 0 0
6659/0x144227: close_nocancel(0x5) = 0 0
6659/0x144227: lstat("test/views/no_layout\0", 0xBFFFEEFC, 0xF) = -1 Err#2
6659/0x144227: lstat("test/views/no_layout\0", 0xBFFFEF0C, 0xF) = -1 Err#2
6659/0x144227: mkdir("test/views/no_layout\0", 0x1FF, 0xF) = 0 0
6659/0x144227: open_nocancel("test/views/no_layout/.gitattributes\0", 0x20000, 0x0) = -1 Err#2
6659/0x144227: open_nocancel("test/views/no_layout/no_layout.builder\0", 0x20A01, 0x1B6) = 5 0
6659/0x144227: write_nocancel(0x5, "xml.foo \"No Layout!\"\n\0", 0x15) = 21 0
6659/0x144227: fstat(0x5, 0xBFFFEF74, 0x15) = 0 0
6659/0x144227: close_nocancel(0x5) = 0 0
6659/0x144227: lstat("test/views/no_layout\0", 0xBFFFEEFC, 0x15) = 0 0
6659/0x144227: lstat("test/views/no_layout/no_layout.haml\0", 0xBFFFF038, 0x15) = -1 Err#2
6659/0x144227: open_nocancel("test/views/no_layout/no_layout.haml\0", 0x20A01, 0x1B6) = 5 0
6659/0x144227: write_nocancel(0x5, "%h1 No Layout!\0", 0xE) = 14 0
6659/0x144227: fstat(0x5, 0xBFFFEF74, 0xE) = 0 0
6659/0x144227: close_nocancel(0x5) = 0 0
6659/0x144227: setitimer(0x0, 0xBFFFEF90, 0x0) = 0 0
6659/0x144227: sigaction(0xE, 0xBFFFEF10, 0xBFFFEF48) = 0 0
6659/0x144227: write_nocancel(0x3, "DIRC\0", 0x1360) = 4960 0
6659/0x144227: fstat(0x3, 0xBFFFF05C, 0x1360) = 0 0
6659/0x144227: close_nocancel(0x3) = 0 0
6659/0x144227: rename("sinatra/.git/index.lock\0", "sinatra/.git/index\0") = -1 Err#2
6659/0x144227: write_nocancel(0x2, "fatal: unable to write new index file\nplates_test.rb\0", 0x26) = 38 0
6659/0x144227: unlink("sinatra/.git/index.lock\0", 0xBFFFE76C, 0x26) = -1 Err#2
6658/0x144226: wait4_nocancel(0x1A03, 0xBFFFEF00, 0x0) = 6659 0
6658/0x144226: write_nocancel(0x2, "fatal: Could not reset index file to revision 'remotes/origin/0.3.x'.\n\0", 0x46) = 70 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment