[Tests/Filter/Caffe2] bugfix: Fix a typo
authorWook Song <wook16.song@samsung.com>
Fri, 26 Jul 2019 04:17:10 +0000 (13:17 +0900)
committerjaeyun-jung <39614140+jaeyun-jung@users.noreply.github.com>
Fri, 26 Jul 2019 14:12:38 +0000 (23:12 +0900)
This patch fixes a critical typo in the runTest script. In order to run
test cases using '/etc/nnstreamer.ini', 'ini_path' should be replaced
with 'ini_file'.

Signed-off-by: Wook Song <wook16.song@samsung.com>
tests/nnstreamer_filter_caffe2/runTest.sh

index a7a6166..139e799 100755 (executable)
@@ -36,7 +36,7 @@ if [[ -d $PATH_TO_PLUGIN ]]; then
 else
     ini_file="/etc/nnstreamer.ini"
     if [[ -f ${ini_file} ]]; then
-       path=$(grep "^filters" ${ini_path})
+       path=$(grep "^filters" ${ini_file})
        key=${path%=*}
        value=${path##*=}