Changeset 929 for trunk/libIGCM/libIGCM_card
- Timestamp:
- 08/20/13 16:38:06 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libIGCM/libIGCM_card/IGCM_card_Test.ksh
r831 r929 1 #!/bin/ksh 1 #!/bin/ksh 2 2 3 3 #************************************************************** … … 13 13 14 14 # 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 16 16 # The reference file produced is used by the function IGCM_card_Check 17 17 # to verify that the libIGCM_card produce the same results … … 35 35 IGCM_card_PrintOption ${libIGCM}/libIGCM_card/TestFile.card ColorValues Red 36 36 IGCM_card_PrintOption ${libIGCM}/libIGCM_card/TestFile.card ColorValues Blue 37 IGCM_card_PrintOption ${libIGCM}/libIGCM_card/TestFile.card ColorValues Green 37 IGCM_card_PrintOption ${libIGCM}/libIGCM_card/TestFile.card ColorValues Green 38 38 39 39 #================================================= … … 68 68 # function IGCM_card_WriteOption 69 69 70 #------------------------- 71 cp ${libIGCM}/libIGCM_card/TestFile.card NewTestFile.card 72 IGCM_card_WriteOption NewTestFile.card Messages Option2 '"Hello Mercure"' 70 cp ${libIGCM}/libIGCM_card/TestFile.card /tmp/NewTestFile.card 71 IGCM_card_WriteOption /tmp/NewTestFile.card Messages Option2 '"Hello Mercure"' 73 72 74 IGCM_card_WriteOption NewTestFile.card Messages ListVal1 '( 1, 2, 3 )'73 IGCM_card_WriteOption /tmp/NewTestFile.card Messages ListVal1 '( 1, 2, 3 )' 75 74 listname="(Sebastien, Martial, Patrick)" 76 IGCM_card_WriteOption NewTestFile.card Messages ListVal2 "${listname}"75 IGCM_card_WriteOption /tmp/NewTestFile.card Messages ListVal2 "${listname}" 77 76 78 77 set -A tableau one, two, three, four 79 78 echo ${tableau[*]} 80 IGCM_card_WriteOption NewTestFile.card Messages ListVal3 "( ${tableau[*]} )"79 IGCM_card_WriteOption /tmp/NewTestFile.card Messages ListVal3 "( ${tableau[*]} )" 81 80 82 IGCM_card_WriteOption NewTestFile.card ColorValues Red 88881 IGCM_card_WriteOption /tmp/NewTestFile.card ColorValues Red 888 83 82 84 diff ${libIGCM}/libIGCM_card/TestFile.card NewTestFile.card 85 rm -f NewTestFile.card NewTestFile.card.bak 86 83 diff ${libIGCM}/libIGCM_card/TestFile.card /tmp/NewTestFile.card 84 rm -f /tmp/NewTestFile.card /tmp/NewTestFile.card.bak
Note: See TracChangeset
for help on using the changeset viewer.