couchbaselabs/couchstore — Issue #6: Large files don't work.
Author: dustin
Created: 2012-03-06 10:08:22+00:00
State: open

The following test fails on my mac. I do not believe it should. (still waiting for my FreeBSD box to return -- taking forever):

```lua
package.path = package.path .. ";tests/?.lua"
local testlib = require("testlib")

function bigdb(dbname)
local db = couch.open(dbname, true)
db:truncate(5 * 1024 * 1024 * 1024)
db:close()

db = couch.open(dbname)
testlib.assert_no_doc(db, "k")

db:save("k", "a value", 1)
db:commit()
db:close()

db = couch.open(dbname)
testlib.check_doc(db, "k", "a value")
end

testlib.run_test("A Big Database", bigdb)
```