summaryrefslogtreecommitdiff
path: root/demoscript/Ice/nrvo.py
diff options
context:
space:
mode:
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"