Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Kirill Smelkov
neo
Commits
a3cb9f32
Commit
a3cb9f32
authored
Mar 15, 2021
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
6ff08620
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
go/zodb/storage/demo/demo_test.go
go/zodb/storage/demo/demo_test.go
+6
-3
No files found.
go/zodb/storage/demo/demo_test.go
View file @
a3cb9f32
...
...
@@ -34,6 +34,9 @@ import (
"lab.nexedi.com/kirr/neo/go/internal/xtesting"
"lab.nexedi.com/kirr/neo/go/zodb"
"lab.nexedi.com/kirr/neo/go/zodb/zodbtools"
// for file: scheme support
_
"lab.nexedi.com/kirr/neo/go/zodb/storage/fs1"
)
// DemoData represents data for a demo: storage.
...
...
@@ -95,14 +98,14 @@ func withDemoData(t *testing.T, f func(t *testing.T, ddat *DemoData), optv ...tO
// verify on all combinations of preload being split into base+δ
work
:=
xtempdir
(
t
)
defer
os
.
RemoveAll
(
work
)
//
defer os.RemoveAll(work)
test1
:=
func
(
δstart
zodb
.
Tid
,
zdumpBase
,
zdumpδ
string
)
{
t
.
Helper
()
t
.
Run
(
fmt
.
Sprintf
(
"δstart=%s"
,
δstart
),
func
(
t
*
testing
.
T
)
{
t
.
Helper
()
X
:=
xtesting
.
FatalIf
(
t
)
work1
:=
work
+
"/"
+
δstart
.
String
()
err
:=
os
.
Mkdir
(
work1
,
0
x
777
);
X
(
err
)
work1
:=
work
+
"/
δ
"
+
δstart
.
String
()
err
:=
os
.
Mkdir
(
work1
,
0777
);
X
(
err
)
base
:=
work1
+
"/base.fs"
δ
:=
work1
+
"/δ.fs"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment