Commit fbc98aab authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent be3e090c
......@@ -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
......@@ -1421,15 +1421,23 @@ func (wlink *WatchLink) _serveRX() (err error) {
ctx := context.TODO() // XXX ctx = ?
fmt.Printf("S: watch: AAA\n")
if false {
err = wlink.setupWatch(ctx, foid, at)
if err != nil {
return fmt.Errorf("%d: %s", stream, err)
}
}
fmt.Printf("S: watch: BBB\n")
err = wlink.send(ctx, stream, "ok")
if err != nil {
panic(err) // XXX
}
fmt.Printf("S: watch: CCC\n")
}
}
......
......@@ -413,9 +413,10 @@ class tWatch:
if len(l) == 0:
break # closed
# <stream> ...
# <stream> ... \n
stream, msg = l.split(' ', 1)
stream = int(stream)
msg = msg.rstrip('\n')
reply = bool(stream % 2)
if reply:
......
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