Changeset 1077 for trunk/libIGCM/libIGCM_card/libIGCM_card.ksh
- Timestamp:
- 10/01/14 12:16:07 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libIGCM/libIGCM_card/libIGCM_card.ksh
r931 r1077 14 14 #================================================== 15 15 # The documentation of this file can be automatically generated 16 # if you use the prefix #D- for comments to be extracted. 16 # if you use the prefix #D- for comments to be extracted. 17 17 # Extract with command: cat lib* | grep "^#D-" | cut -c "4-" 18 18 #================================================== 19 19 20 20 #D-#================================================================== 21 21 #D-libIGCM_card … … 29 29 #D-Option2= "Hello Mars" 30 30 #D- 31 #D-# My comments 31 #D-# My comments 32 32 #D-[Recipes] 33 #D-Cake= "file1.doc" 34 #D-Starter= "file2.doc" 33 #D-Cake= "file1.doc" 34 #D-Starter= "file2.doc" 35 35 #D- 36 36 #D-[ColorValues] 37 37 #D-Red= 120 38 #D-Blue= 230 39 #D-Green= 178 38 #D-Blue= 230 39 #D-Green= 178 40 40 #D- 41 41 #D-[Couples] … … 211 211 \rm ${tmpfile} 212 212 213 # The tmpfile uses now the real path of the card to be modified, 213 # The tmpfile uses now the real path of the card to be modified, 214 214 # not just a local tmpfile with PID. 215 215 tmpfile=$1_mutex_$$ … … 241 241 set +A tmpfiles -- $( ls $1_mutex_[0-9]* 2>/dev/null ) 242 242 ((isleep=0)) 243 while [ ${#tmpfiles[@]} -gt 0 ] ; do 243 while [ ${#tmpfiles[@]} -gt 0 ] ; do 244 244 echo "Conflict between two processes working on " $1 "!!!" ${tmpfiles[@]} 245 245 sleep 1 … … 294 294 function IGCM_card_Check 295 295 { 296 IGCM_debug_PushStack "IGCM_card_Check" 296 IGCM_debug_PushStack "IGCM_card_Check" 297 297 #--------------------- 298 298 if [ ! -n "${libIGCM}" ] ; then … … 314 314 sleep 2 315 315 316 if diff /tmp/IGCM_card_Test.$$.ref.failed ${libIGCM}/libIGCM_card/IGCM_card_Test.ref > /dev/null 2>&1 ; then 316 if diff /tmp/IGCM_card_Test.$$.ref.failed ${libIGCM}/libIGCM_card/IGCM_card_Test.ref > /dev/null 2>&1 ; then 317 317 echo "Check libIGCM_card ...............................................[ OK ]" 318 318 rm -f /tmp/IGCM_card_Test.$$.ref.failed 319 else 319 else 320 320 echo "Check libIGCM_card ...........................................[ FAILED ]" 321 321 echo "--Error--> Execution of ${libIGCM}/libIGCM_card/IGCM_card_Test.ksh" … … 329 329 330 330 #--------------------- 331 IGCM_debug_PopStack "IGCM_card_Check" 332 } 331 IGCM_debug_PopStack "IGCM_card_Check" 332 }
Note: See TracChangeset
for help on using the changeset viewer.