summaryrefslogtreecommitdiff
path: root/demoscript/Ice/callback.py
diff options
context:
space:
mode:
Diffstat (limited to 'demoscript/Ice/callback.py')
-rw-r--r--demoscript/Ice/callback.py31
1 files changed, 0 insertions, 31 deletions
diff --git a/demoscript/Ice/callback.py b/demoscript/Ice/callback.py
deleted file mode 100644
index a8ce299a754..00000000000
--- a/demoscript/Ice/callback.py
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/usr/bin/env python
-# **********************************************************************
-#
-# Copyright (c) 2003-2015 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.sendline('t')
- server.expect('initiating callback')
- client.expect('received callback')
-
- client.sendline('t')
- server.expect('initiating callback')
- client.expect('received callback')
-
- print("ok")
-
- client.sendline('s')
- server.waitTestSuccess()
-
- client.sendline('x')
- client.waitTestSuccess()