Commit 0859188c authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent b6779fc0
......@@ -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
......@@ -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
......
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