Bläddra i källkod

Update test suite for the new TFKit version

Alois Mahdal 8 år sedan
förälder
incheckning
f26d69f556
1 ändrade filer med 2 tillägg och 4 borttagningar
  1. 2
    4
      tests/cli/TF_RUN

+ 2
- 4
tests/cli/TF_RUN Visa fil

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