diff options
Diffstat (limited to 'demoscript/Ice/optional.py')
-rw-r--r-- | demoscript/Ice/optional.py | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/demoscript/Ice/optional.py b/demoscript/Ice/optional.py new file mode 100644 index 00000000000..bc348f36b6d --- /dev/null +++ b/demoscript/Ice/optional.py @@ -0,0 +1,24 @@ +#!/usr/bin/env python +# ********************************************************************** +# +# Copyright (c) 2003-2012 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 + +def run(client, server): + sys.stdout.write("testing... ") + sys.stdout.flush() + + client.expect('Checking john... ok') + client.expect('Checking steve... ok') + client.expect('Checking frank... ok') + client.expect('Checking anne... ok') + + server.waitTestSuccess() + client.waitTestSuccess() + print("ok") |