瀏覽代碼

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