[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [OSSTEST PATCH 1/5] daemonlib: Provide a "noop" command
From: Ian Jackson <ian.jackson@xxxxxxxxxxxxx> We are going to want clients to speak before waiting for the server banner. A noop command is useful for that. Putting this here makes it apply to both ownerdaemon and queuedaemon. Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx> --- tcl/daemonlib.tcl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tcl/daemonlib.tcl b/tcl/daemonlib.tcl index 1e86d5f4..747deab1 100644 --- a/tcl/daemonlib.tcl +++ b/tcl/daemonlib.tcl @@ -124,6 +124,10 @@ proc puts-chan {chan m} { puts $chan $m } +proc cmd/noop {chan desc} { + puts-chan $chan "OK noop" +} + #---------- data ---------- proc puts-chan-data {chan m data} { -- 2.20.1
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |