Explorar el Código

Update test suite for the new TFKit version

Alois Mahdal hace 8 años
padre
commit
f26d69f556
Se han modificado 1 ficheros con 2 adiciones y 4 borrados
  1. 2
    4
      tests/cli/TF_RUN

+ 2
- 4
tests/cli/TF_RUN Ver fichero

7
     echo usage
7
     echo usage
8
 }
8
 }
9
 
9
 
10
-tf_name2cmd() {
10
+tf_do_subtest() {
11
     local name=$1
11
     local name=$1
12
     local cmd
12
     local cmd
13
     local o_err="oracle/$name.stderr"
13
     local o_err="oracle/$name.stderr"
14
-    local o_es=0
15
     case $name in
14
     case $name in
16
-        usage)       cmd="satcmd"; o_es=2 ;;
15
+        usage)  tf_testflt -n "$name" -E "$o_err" -S 2 satcmd ;;
17
     esac
16
     esac
18
-    echo "tf_testflt -n $name -E $o_err -S $o_es $cmd"
19
 }
17
 }
20
 
18
 
21
 tf_do_subtests
19
 tf_do_subtests