Commit cb86b9da authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent a04ad375
...@@ -72,6 +72,13 @@ func xfsopenopt(t testing.TB, path string, opt *zodb.DriverOptions) (*FileStorag ...@@ -72,6 +72,13 @@ func xfsopenopt(t testing.TB, path string, opt *zodb.DriverOptions) (*FileStorag
return fs, at0 return fs, at0
} }
func TestEmptyDB(t *testing.T) {
fs, _ := xfsopen(t, "testdata/empty.fs")
defer exc.XRun(fs.Close)
xtesting.DrvTestEmptyDB(t, fs)
}
func TestLoad(t *testing.T) { func TestLoad(t *testing.T) {
fs, _ := xfsopen(t, "testdata/1.fs") fs, _ := xfsopen(t, "testdata/1.fs")
defer exc.XRun(fs.Close) defer exc.XRun(fs.Close)
......
// Copyright (C) 2017-2020 Nexedi SA and Contributors. // Copyright (C) 2017-2021 Nexedi SA and Contributors.
// Kirill Smelkov <kirr@nexedi.com> // Kirill Smelkov <kirr@nexedi.com>
// //
// This program is free software: you can Use, Study, Modify and Redistribute // This program is free software: you can Use, Study, Modify and Redistribute
...@@ -41,7 +41,7 @@ and using path to that file with zconfig:// schema: ...@@ -41,7 +41,7 @@ and using path to that file with zconfig:// schema:
There are also following simpler ways: There are also following simpler ways:
- neo://<master>/<db> for a NEO database - neo://<master>/<db> for a NEO database XXX + neos:// ?
- zeo://<host>:<port> for a ZEO database - zeo://<host>:<port> for a ZEO database
- /path/to/file for a FileStorage database - /path/to/file for a FileStorage database
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment