eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}'
    & eval 'exec perl -S $0 $argv:q'
    if 0;

# run_test.pl,v 1.6 2002/06/25 22:35:49 irfan Exp
# -*- perl -*-

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

print STDERR "\n********** RTCORBA Collocation Unit Test **********\n\n";

$T = new PerlACE::Process ("Collocation");

$test = $T->SpawnWaitKill(60);
if ($test == 2) {
  print STDOUT "Could not change priority levels.  Check user permissions.  Exiting...\n";
  # Mark as no longer running to avoid errors on exit.
  $T->{RUNNING} = 0;
} else {
  if ($test != 0) {
    print STDERR "ERROR: test returned $test\n";
    exit 1;
  }
}

exit 0;
