GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > PBS / V2-10-14

Constituent: test_pbsinit     Tag: linux-gcc


Interface   Data Structures   File List   Data Fields   Globals  

test_pbsinit.c File Reference

Unit test of the PBS initialize/shutdown and reinitialization sequence. More...

#include <stdio.h>
#include "PBS/PBS.h"

Include dependency graph for test_pbsinit.c:


Detailed Description

Unit test of the PBS initialize/shutdown and reinitialization sequence.

Author:
JJRussell - russell@slac.stanford.edu
   CVS $Id

This tests that PBS initialization and shutdown procedure. This is really a bare bones test, since many of the possible gotcha's have to do with cleaning up user context.
The main issue is to test the initialization. The shutdown is largely a convenience for debugging. Making it work 100% correctly in all circumstances (read here user misuse, like leaving timers outstanding while doing a shutdown), would impose a great runtime penalty.
Running the test
This test can be run from the command line of VxWorks prompt with:
   $ test_pbsinit

Generated on Wed Feb 14 16:45:32 2007 by  doxygen 1.4.4