summaryrefslogtreecommitdiff
path: root/cpp/demo/cookbook/compression/expect.py
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/demo/cookbook/compression/expect.py')
-rwxr-xr-xcpp/demo/cookbook/compression/expect.py35
1 files changed, 0 insertions, 35 deletions
diff --git a/cpp/demo/cookbook/compression/expect.py b/cpp/demo/cookbook/compression/expect.py
deleted file mode 100755
index f10620a2e46..00000000000
--- a/cpp/demo/cookbook/compression/expect.py
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/usr/bin/env python
-# **********************************************************************
-#
-# Copyright (c) 2003-2009 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, os
-
-path = [ ".", "..", "../..", "../../..", "../../../.." ]
-head = os.path.dirname(sys.argv[0])
-if len(head) > 0:
- path = [os.path.join(head, p) for p in path]
-path = [os.path.abspath(p) for p in path if os.path.exists(os.path.join(p, "demoscript")) ]
-if len(path) == 0:
- raise "can't find toplevel directory!"
-sys.path.append(path[0])
-
-from demoscript import *
-import signal
-
-server = Util.spawn('./server --Ice.PrintAdapterReady')
-server.expect('.* ready')
-
-print "testing...",
-sys.stdout.flush()
-client = Util.spawn('./client Compression.cpp')
-client.expect('done')
-client.waitTestSuccess()
-server.kill(signal.SIGINT)
-server.waitTestSuccess()
-print "ok"