9# ------------------------------------------------------------------------------------------
 
   11#                             Utility script to test JProcess
 
   13# ------------------------------------------------------------------------------------------
 
   15if [ -z $JPP_DIR ]; then
 
   16    echo "Variable JPP_DIR undefined."
 
   20source $JPP_DIR/setenv.sh $JPP_DIR
 
   22set_variable  DIR         $JPP_DIR/examples/JSystem
 
   31    echo "Test of Linux command ls -l"
 
   33    $DIR/JProcess -c "ls -l"
 
   39    echo "Test string reversed by master (hit <return> to continue)."
 
   41    $DIR/JProcess -c "$DIR/JEcho" -rC
 
   48    echo "Test string reversed by client (hit <return> to continue)."
 
   50    $DIR/JProcess -c "$DIR/JEcho -r" -C
 
   56    echo "Test string reversed by master and client (hit <return> to continue)."
 
   58    $DIR/JProcess -c "$DIR/JEcho -r" -rC