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
b311b5e0
Commit
b311b5e0
authored
Apr 22, 2019
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
e7cc46b7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
3 deletions
+12
-3
wcfs/test.sh
wcfs/test.sh
+1
-1
wcfs/wcfs.go
wcfs/wcfs.go
+11
-2
No files found.
wcfs/test.sh
View file @
b311b5e0
...
...
@@ -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.go
View file @
b311b5e0
...
...
@@ -425,6 +425,7 @@ import (
stdlog
"log"
"os"
// "runtime"
"sort"
"strings"
"sync"
"sync/atomic"
...
...
@@ -806,8 +807,16 @@ retry:
δF
:=
bfdir
.
δFtail
.
Update
(
δZ
,
zhead
)
fmt
.
Printf
(
"
\n\n
zδhandle: δF (#%d):
\n
"
,
len
(
δF
.
Change
))
for
file
:=
range
δF
.
Change
{
fmt
.
Printf
(
"
\t
- %s
\n
"
,
file
.
zfile
.
POid
())
for
file
,
δfile
:=
range
δF
.
Change
{
blkv
:=
δfile
.
Blocks
.
Elements
()
sort
.
Slice
(
blkv
,
func
(
i
,
j
int
)
bool
{
return
blkv
[
i
]
<
blkv
[
j
]
})
size
:=
" "
if
δfile
.
Size
{
size
=
"S"
}
fmt
.
Printf
(
"
\t
- %s
\t
%s %v
\n
"
,
file
.
zfile
.
POid
(),
size
,
blkv
)
}
time
.
Sleep
(
1
*
time
.
Second
)
fmt
.
Printf
(
"
\n\n
"
)
...
...
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