瀏覽代碼

Fix static analysis failures

Bob Mottram 7 年之前
父節點
當前提交
3f4c390a5d
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      src/freedombone-tests

+ 2
- 2
src/freedombone-tests 查看文件

@@ -123,7 +123,7 @@ function test_app_functions {
123 123
         # for each expected interface function
124 124
         for f in "${interface_functions[@]}"
125 125
         do
126
-            test_app_function_type ${filename} "$f"
126
+            test_app_function_type "${filename}" "$f"
127 127
         done
128 128
     done
129 129
 }
@@ -1305,7 +1305,7 @@ freedombone-pass --test yes
1305 1305
 fix_stig
1306 1306
 test_stig
1307 1307
 
1308
-if [ ! $RUN_STIG ]; then
1308
+if [ ! "$RUN_STIG" ]; then
1309 1309
     echo $'All tests passed'
1310 1310
 fi
1311 1311