~ubuntu-branches/ubuntu/quantal/libbonobo/quantal-201207170711

« back to all changes in this revision

Viewing changes to tests/test-activation/test.sh

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2005-02-18 14:40:51 UTC
  • mto: (3.1.1 etch) (1.1.25 upstream)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20050218144051-fo4h9qh2gim8x3wt
Tags: upstream-2.8.1
ImportĀ upstreamĀ versionĀ 2.8.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
# This is a generic script for firing up a server, waiting for it to write
 
4
# its stringified IOR to a file, then firing up a server
 
5
 
 
6
if test "z$ORBIT_TMPDIR" = "z"; then
 
7
        ORBIT_TMPDIR="/tmp/orbit-$USER/tst"
 
8
        rm -Rf $ORBIT_TMPDIR
 
9
        mkdir -p $ORBIT_TMPDIR
 
10
fi
 
11
TMPDIR=$ORBIT_TMPDIR;
 
12
export TMPDIR;
 
13
 
 
14
BONOBO_ACTIVATION_SERVER="../../activation-server/bonobo-activation-server";
 
15
BONOBO_ACTIVATION_DEBUG_OUTPUT="1";
 
16
PATH=".:$PATH";
 
17
LD_LIBRARY_PATH="./.libs:$LD_LIBRARY_PATH";
 
18
 
 
19
export BONOBO_ACTIVATION_SERVER BONOBO_ACTIVATION_DEBUG_OUTPUT BONOBO_ACTIVATION_PATH PATH LD_LIBRARY_PATH
 
20
 
 
21
if ./bonobo-activation-test; then
 
22
    exit 0;
 
23
else
 
24
    exit 1;
 
25
fi