summaryrefslogtreecommitdiff
path: root/trunk/CIAO/tests/IDL3/Events/Any/run_test.pl
blob: f13f9726b5b9077d08a07e49c94dffe954fc7f53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}'
    & eval 'exec perl -S $0 $argv:q'
    if 0;

# $Id$
# -*- perl -*-

# The first three lines above let this script run without specifying the
# full path to perl, as long as it is in the user's PATH.
# Taken from perlrun man page.

# Do not use environment variables here since not all platforms use ACE_ROOT
use lib "$ENV{ACE_ROOT}/bin";
use PerlACE::Run_Test;
use English;

$status = 0;
$exflags = "";

# Run the test

$EX = new PerlACE::Process ("EventAny");
$EX->Arguments ($exflags);
$test = $EX->SpawnWaitKill (10);

if ($test != 0) {
    print STDERR "ERROR: test error status $test\n";
    $status = 1;
}

exit $status;