Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wendelin.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Joshua
wendelin.core
Commits
512d593d
Commit
512d593d
authored
Aug 09, 2018
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
5be2aab9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
wcfs/testdata/zblk.fs
wcfs/testdata/zblk.fs
+0
-0
wcfs/testdata/zblk_test_gen.py
wcfs/testdata/zblk_test_gen.py
+6
-2
No files found.
wcfs/testdata/zblk.fs
View file @
512d593d
No preview for this file type
wcfs/testdata/zblk_test_gen.py
View file @
512d593d
...
...
@@ -29,12 +29,16 @@ import os, os.path, transaction
blksize
=
2
*
1024
*
1024
# XXX hardcoded
blksize32
=
blksize
//
4
def
rm_f
(
path
):
if
os
.
path
.
exists
(
path
):
os
.
remove
(
path
)
def
main
():
import
zodbtools.test.gen_testdata
# to make time predictable (XXX)
outfs
=
"testdata/zblk.fs"
if
os
.
path
.
exists
(
outfs
):
os
.
remove
(
outfs
)
rm_f
(
outfs
)
rm_f
(
outfs
+
".index"
)
db
=
DB
(
outfs
)
conn
=
db
.
open
()
root
=
conn
.
root
()
...
...
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