summaryrefslogtreecommitdiff
path: root/TAO/tests/Queued_Message_Test/run_test.pl
blob: 20eafcf51bd83c5b896f35e56085ffca1423b8d9 (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
eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}'
    & eval 'exec perl -S $0 $argv:q'
    if 0;

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

use lib '../../../bin';
use PerlACE::Run_Test;

$status = 0;

if (PerlACE::is_vxworks_test()) {
    $T = new PerlACE::ProcessVX ("Queued_Message_Test");
}
else {
    $T = new PerlACE::Process ("Queued_Message_Test");
}

$test = $T->SpawnWaitKill (60);

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

exit $status;