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
0859188c
Commit
0859188c
authored
Apr 26, 2019
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
b6779fc0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
6 deletions
+1
-6
wcfs/test.sh
wcfs/test.sh
+1
-1
wcfs/wcfs_test.py
wcfs/wcfs_test.py
+0
-5
No files found.
wcfs/test.sh
View file @
0859188c
...
...
@@ -8,5 +8,5 @@ if test -z "$qrun_loglevel"; then
fi
# executed under qemu-runlinux
export
WENDELIN_CORE_WCFS_OPTIONS
=
"-d -alsologtostderr -v=1"
#
export WENDELIN_CORE_WCFS_OPTIONS="-d -alsologtostderr -v=1"
py.test
-vsx
-k
test_wcfs
wcfs/wcfs_test.py
View file @
0859188c
...
...
@@ -555,14 +555,11 @@ def test_wcfs():
f
.
assertCache
([
0
,
0
,
0
])
# initially not cached
f
.
assertData
([
b''
,
b''
,
b'alpha'
],
mtime
=
t
.
head
)
print
(
'000'
)
# >>> (@at2) commit again -> we can see both latest and snapshotted states
t
.
change
(
zf
,
{
2
:
b'beta'
,
3
:
b'gamma'
})
at2
=
t
.
commit
()
t
.
wcsync
()
print
(
'111'
)
# f @head
f
.
assertCache
([
1
,
1
,
0
,
0
])
...
...
@@ -575,13 +572,11 @@ def test_wcfs():
# >>> (@at3) commit again without changing zf size
print
(
'222'
)
f2
=
t
.
open
(
zf
,
at
=
at2
)
t
.
change
(
zf
,
{
2
:
b'kitty'
})
at3
=
t
.
commit
()
t
.
wcsync
()
print
(
'333'
)
f
.
assertCache
([
1
,
1
,
0
,
1
])
# f @head is opened again -> cache must not be lost
...
...
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