diff options
author | Mark Spruiell <mes@zeroc.com> | 2009-12-18 08:29:41 -0800 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2009-12-18 08:29:41 -0800 |
commit | a0deeca18e2c62cda2ee4b7b12a12970d270d26c (patch) | |
tree | 3e376a4ebd932661a21bcb973ed63a2b3aeb1089 /cpp/demo/cookbook/compression/expect.py | |
parent | editing vsplugin text files (diff) | |
download | ice-a0deeca18e2c62cda2ee4b7b12a12970d270d26c.tar.bz2 ice-a0deeca18e2c62cda2ee4b7b12a12970d270d26c.tar.xz ice-a0deeca18e2c62cda2ee4b7b12a12970d270d26c.zip |
bug 4510 - remove cookbook demos
Diffstat (limited to 'cpp/demo/cookbook/compression/expect.py')
-rwxr-xr-x | cpp/demo/cookbook/compression/expect.py | 35 |
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" |