[Tests/CustomFilter] Fix a bug in code for checking existence of OpenCV
authorWook Song <wook16.song@samsung.com>
Thu, 25 Jul 2019 02:45:48 +0000 (11:45 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Thu, 25 Jul 2019 08:17:23 +0000 (17:17 +0900)
This patch fixes a minor bug in the code for checking existence of
OpenCV libraries.

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

index 2d47113..d524cd9 100644 (file)
@@ -22,7 +22,7 @@ PATH_TO_PLUGIN="../../build"
 
 # Test for opencv installed, enable OPENCV test if opencv is found
 TEST_OPENCV="NO"
-ldconfig -p | grep opencv > /dev/null 2>&1
+/sbin/ldconfig -p | grep opencv > /dev/null 2>&1
 if [[ "$?" == 0 ]]
 then
   TEST_OPENCV="YES"