From 896ad29e06f1f1d769f0329840ecdd7be693f9ee Mon Sep 17 00:00:00 2001 From: Wook Song Date: Fri, 26 Jul 2019 13:17:10 +0900 Subject: [PATCH] [Tests/Filter/Caffe2] bugfix: Fix a typo 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 --- tests/nnstreamer_filter_caffe2/runTest.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/nnstreamer_filter_caffe2/runTest.sh b/tests/nnstreamer_filter_caffe2/runTest.sh index a7a6166..139e799 100755 --- a/tests/nnstreamer_filter_caffe2/runTest.sh +++ b/tests/nnstreamer_filter_caffe2/runTest.sh @@ -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##*=} -- 2.7.4