Ignore:
Timestamp:
08/20/13 16:38:06 (11 years ago)
Author:
sdipsl
Message:

machine cleanup
whitespace cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/libIGCM_card/IGCM_card_Test.ksh

    r831 r929  
    1 #!/bin/ksh  
     1#!/bin/ksh 
    22 
    33#************************************************************** 
     
    1313 
    1414# This script is used to generate a reference file with command : 
    15 # IGCM_card_Test.ksh > IGCM_card_Test.ref 2>&1   
     15# IGCM_card_Test.ksh > IGCM_card_Test.ref 2>&1 
    1616# The reference file produced is used by the function IGCM_card_Check 
    1717# to verify that the libIGCM_card produce the same results 
     
    3535IGCM_card_PrintOption ${libIGCM}/libIGCM_card/TestFile.card ColorValues Red 
    3636IGCM_card_PrintOption ${libIGCM}/libIGCM_card/TestFile.card ColorValues Blue 
    37 IGCM_card_PrintOption ${libIGCM}/libIGCM_card/TestFile.card ColorValues Green  
     37IGCM_card_PrintOption ${libIGCM}/libIGCM_card/TestFile.card ColorValues Green 
    3838 
    3939#================================================= 
     
    6868# function IGCM_card_WriteOption 
    6969 
    70 #------------------------- 
    71 cp ${libIGCM}/libIGCM_card/TestFile.card NewTestFile.card 
    72 IGCM_card_WriteOption NewTestFile.card Messages Option2 '"Hello Mercure"' 
     70cp ${libIGCM}/libIGCM_card/TestFile.card /tmp/NewTestFile.card 
     71IGCM_card_WriteOption /tmp/NewTestFile.card Messages Option2 '"Hello Mercure"' 
    7372 
    74 IGCM_card_WriteOption NewTestFile.card Messages ListVal1 '( 1, 2, 3 )' 
     73IGCM_card_WriteOption /tmp/NewTestFile.card Messages ListVal1 '( 1, 2, 3 )' 
    7574listname="(Sebastien, Martial, Patrick)" 
    76 IGCM_card_WriteOption NewTestFile.card Messages ListVal2 "${listname}" 
     75IGCM_card_WriteOption /tmp/NewTestFile.card Messages ListVal2 "${listname}" 
    7776 
    7877set -A tableau one, two, three, four 
    7978echo ${tableau[*]} 
    80 IGCM_card_WriteOption NewTestFile.card Messages ListVal3 "( ${tableau[*]} )" 
     79IGCM_card_WriteOption /tmp/NewTestFile.card Messages ListVal3 "( ${tableau[*]} )" 
    8180 
    82 IGCM_card_WriteOption NewTestFile.card ColorValues Red 888 
     81IGCM_card_WriteOption /tmp/NewTestFile.card ColorValues Red 888 
    8382 
    84 diff ${libIGCM}/libIGCM_card/TestFile.card NewTestFile.card 
    85 rm -f NewTestFile.card NewTestFile.card.bak 
    86  
     83diff ${libIGCM}/libIGCM_card/TestFile.card /tmp/NewTestFile.card 
     84rm -f /tmp/NewTestFile.card /tmp/NewTestFile.card.bak 
Note: See TracChangeset for help on using the changeset viewer.