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
9ba6db5e
Commit
9ba6db5e
authored
Jun 10, 2019
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
b0f3b2e5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
wcfs/wcfs_test.py
wcfs/wcfs_test.py
+2
-2
No files found.
wcfs/wcfs_test.py
View file @
9ba6db5e
...
...
@@ -631,7 +631,7 @@ class tFile:
assert
t
.
cached
()[
blk
]
>
0
# XXX assert individually for every block's page? (easier debugging?)
assert
blkview
==
dataok
,
(
"#blk: %d"
%
blk
)
assert
blkview
==
dataok
# we just accessed the block - it has to be in OS cache
assert
t
.
cached
()[
blk
]
==
1
...
...
@@ -1224,7 +1224,7 @@ def test_wcfs():
f
.
assertBlk
(
2
,
'4c'
,
{
wl
:
{
2
:
at3
}})
print
(
'000'
)
# blk4 is hole @head - the same as at earlier db view XXX or do not allow hole past .size ?
#
f.assertBlk(4, '', {wl: {}})
f
.
assertBlk
(
4
,
''
,
{
wl
:
{}})
print
(
'AAA'
)
f
.
assertBlk
(
5
,
'4f'
,
{
wl
:
{
5
:
at0
}})
# XXX at0 -> ø XXX also triggers access to #4 ?
# XXX 0, {0, at3} after δbtree works
...
...
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