This patch fixes a critical typo and wrong if-logic in order to make the
test cases properly run when the '/etc/nnstreamer.ini' is used.
Signed-off-by: Wook Song <wook16.song@samsung.com>
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##*=}
report
exit
fi
- fi
- echo "Cannot identify nnstreamer.ini"
- report
- exit
+ else
+ echo "Cannot identify nnstreamer.ini"
+ report
+ exit
+ fi
fi
# Test with mnist model