ソースを参照

Update test suite for the new TFKit version

Alois Mahdal 8 年 前
コミット
f26d69f556
共有1 個のファイルを変更した2 個の追加4 個の削除を含む
  1. 2
    4
      tests/cli/TF_RUN

+ 2
- 4
tests/cli/TF_RUN ファイルの表示

@@ -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