summaryrefslogtreecommitdiff
path: root/demoscript/Ice/nrvo.py
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2009-01-02 15:16:46 -0330
committerDwayne Boone <dwayne@zeroc.com>2009-01-02 15:16:46 -0330
commit51ee7620f82e4232baf587ee052001751c23e481 (patch)
tree08baaf92bddeca3f33acfe1bb38620606de7a99b /demoscript/Ice/nrvo.py
parentThe server now accepts anonymous clients. (diff)
downloadice-51ee7620f82e4232baf587ee052001751c23e481.tar.bz2
ice-51ee7620f82e4232baf587ee052001751c23e481.tar.xz
ice-51ee7620f82e4232baf587ee052001751c23e481.zip
Merged with R3_3_branch
Diffstat (limited to 'demoscript/Ice/nrvo.py')
-rw-r--r--demoscript/Ice/nrvo.py27
1 files changed, 27 insertions, 0 deletions
diff --git a/demoscript/Ice/nrvo.py b/demoscript/Ice/nrvo.py
new file mode 100644
index 00000000000..f0446b677ec
--- /dev/null
+++ b/demoscript/Ice/nrvo.py
@@ -0,0 +1,27 @@
+#!/usr/bin/env python
+# **********************************************************************
+#
+# Copyright (c) 2003-2008 ZeroC, Inc. All rights reserved.
+#
+# This copy of Ice is licensed to you under the terms described in the
+# ICE_LICENSE file included in this distribution.
+#
+# **********************************************************************
+
+import sys
+from demoscript import *
+from scripts import Expect
+
+def run(client, server):
+ print "testing client... ",
+ sys.stdout.flush()
+ client.sendline('1')
+ client.expect('==> ', timeout=2000)
+ client.sendline('2')
+ client.expect('==> ', timeout=2000)
+ client.sendline('3')
+ client.expect('==> ', timeout=2000)
+ client.sendline('s')
+ client.expect('==> ', timeout=2000)
+ client.sendline('x')
+ print "ok"