Commit fbc98aab authored by Kirill Smelkov's avatar Kirill Smelkov

.

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