ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/REPOS_ERICCA/magic/cas_test/vasy
(Generate patch)

Comparing magic/cas_test/vasy (file contents):
Revision 109 by francois, Tue Jun 17 13:16:58 2008 UTC vs.
Revision 449 by francois, Tue Oct 29 12:13:27 2013 UTC

# Line 1 | Line 1
1 < #!/bin/sh
1 > #!/bin/bash
2 >
3 >
4   for rep in `ls`; do    
5      if [ -d $rep ]; then
6          echo "****************************************************";
7          echo $rep;
8          echo "****************************************************";
9          cd $rep ;
10 <        sh vasy;
10 >        ./vasy;
11 >        ST=$?;
12 >        if (( ST )) ; then tab2[${#tab2[*]}]="Fail"; else tab2[${#tab2[*]}]="Ok"; fi
13 >        tab1[${#tab1[*]}]=$rep
14          cd ..;
15      fi
16   done
17 + echo "";
18 + echo "";
19 + echo "************************";
20 + echo "   Resultat des tests   ";
21 + echo "************************";
22 + for i in ${!tab1[*]}; do
23 + echo ${tab1[$i]}   ${tab2[$i]};
24 + done
25 + echo "************************";
26 +
27 +
28  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines