3 if [ $(uname -m) = "i686" ]; then
10 echo '------------- Execute the edaggregation example under PSG -------------';
12 java -Xmx1024m -cp lib.jar:classes:../../simgrid.jar peersim.Simulator configs/edaggregationPSG.txt
14 echo '------------- Execute the edaggregation example under PS -------------';
16 java -Xmx1024m -cp lib.jar:classes:../../simgrid.jar peersim.Simulator configs/edaggregation.txt
18 echo '------------- Execute the chord example under PSG -------------';
20 java -Xmx1024m -cp lib.jar:classes:../../simgrid.jar peersim.Simulator configs/chordPSG.txt
22 echo '------------- Execute the chord example under PS -------------';
24 java -Xmx1024m -cp lib.jar:classes:../../simgrid.jar peersim.Simulator configs/chord.txt
26 echo '------------- Compare the 2 results PS and PSG -------------';
31 ListeRep="$(find * -type d -prune)" # liste des repertoires
32 for Rep in ${ListeRep}; do
34 VAR=$(diff ps.txt psg.txt)
37 echo The results of diff "for" the $Rep example is '.............:)';
39 echo The results of diff "for" the $Rep example is '.............:(';