Changeset 878 for trunk/Monitoring


Ignore:
Timestamp:
06/13/13 06:31:36 (11 years ago)
Author:
jripsl
Message:

Remove blank line from scenarios.

Location:
trunk/Monitoring/libIGCM_mock
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Monitoring/libIGCM_mock/libIGCM_mock.sh

    r876 r878  
    6464   $0 -m stackfile -f ../sample/stack_light 
    6565 
     66 
    6667   To list scenarios, do: 
    6768 
    6869   $0 -l 
    6970 
    70    To run scenario <scenario>, do: 
    71  
    72    $0 -s <scenario> 
     71 
     72   To run a scenario, do: 
     73 
     74   $0 -s <scenario_filename> 
     75 
     76 
     77   To remove tests data from the backend, do: 
     78 
     79   $0 -m cleanup 
    7380EOF 
    7481        exit 2 
     
    115122  s)    l__scenariofile="$OPTARG" 
    116123 
    117                 if [[ "$l__scenariofile" =~ "*/*" ]]; then 
     124                if [[ "$l__scenariofile" =~ "/" ]]; then 
    118125                        # full/relative path was given with the filename 
    119126 
     
    139146                exit 1 
    140147        fi 
     148 
     149        #send_cleanup_msg # cleanup any previous tests on the backend side 
    141150 
    142151        while read LINE <&3; do 
     
    228237 
    229238                if [ "$g__confirm" = "1" ]; then 
    230                         read -p "<<< $l__JSON_msg_buf >>>> sent. Press enter for next message" bla 
     239                        read -p "<<< $( echo $l__JSON_msg_buf | cut -c 0-70 ) >>>> sent. Press enter for next message" bla 
    231240                else 
    232                         echo "<<< $l__JSON_msg_buf .>>>>" 
     241                        echo "<<< $( echo $l__JSON_msg_buf | cut -c 0-70 ) >>>> sent." 
    233242                        sleep $g__delay 
    234243                fi 
  • trunk/Monitoring/libIGCM_mock/scenario/start_simu__fatal_error__stop_simu

    r876 r878  
    44simuid=BIGBRO.clim.TEST.LMDZOR.p86denv.TGCC.CURIE jobid=BIGBRO.clim.TEST.LMDZOR.p86denv.TGCC.CURIE.1 code=9000 timestamp=2013-06-11-15:26:28 
    55simuid=BIGBRO.clim.TEST.LMDZOR.p86denv.TGCC.CURIE jobid=BIGBRO.clim.TEST.LMDZOR.p86denv.TGCC.CURIE.1 code=9999 timestamp=2013-06-11-15:26:28 
    6  
  • trunk/Monitoring/libIGCM_mock/scenario/start_simu__simu_segfault

    r876 r878  
    44simuid=BIGBRO.clim.TEST.LMDZOR.p86denv.TGCC.CURIE jobid=BIGBRO.clim.TEST.LMDZOR.p86denv.TGCC.CURIE.1 code=9000 timestamp=2013-06-11-15:26:28 
    55simuid=BIGBRO.clim.TEST.LMDZOR.p86denv.TGCC.CURIE jobid=BIGBRO.clim.TEST.LMDZOR.p86denv.TGCC.CURIE.1 code=9999 timestamp=2013-06-11-15:26:28 
    6  
Note: See TracChangeset for help on using the changeset viewer.