From: MyungJoo Ham Date: Thu, 31 Jan 2019 01:47:35 +0000 (+0900) Subject: [Test] runTest.sh typo X-Git-Tag: v0.1.1~57 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=95e6161ddae81d620228e3bb0b8ce6c50d295629;p=platform%2Fupstream%2Fnnstreamer.git [Test] runTest.sh typo If statements of bash uses ==, not =, for equal-comparison Signed-off-by: MyungJoo Ham --- diff --git a/tests/nnstreamer_decoder_image_labeling/runTest.sh b/tests/nnstreamer_decoder_image_labeling/runTest.sh index cb83d38..26b68d5 100644 --- a/tests/nnstreamer_decoder_image_labeling/runTest.sh +++ b/tests/nnstreamer_decoder_image_labeling/runTest.sh @@ -28,7 +28,7 @@ PATH_TO_FILE="tensordecoder.log" gstTest "--gst-plugin-path=${PATH_TO_PLUGIN} filesrc location=\"${PATH_TO_IMAGE}\" ! pngdec ! videoscale ! imagefreeze ! videoconvert ! video/x-raw, format=RGB, framerate=0/1 ! tensor_converter ! tensor_filter framework=\"tensorflow-lite\" model=\"${PATH_TO_MODEL}\" ! tensor_decoder mode=image_labeling option1=\"${PATH_TO_LABEL}\" ! filesink location=\"${PATH_TO_FILE}\"" D1 0 0 $PERFORMANCE label=$(cat "${PATH_TO_FILE}") -if [ $label = "orange" ] +if [ "$label" == "orange" ] then testResult 1 D1A "Decoding Orange" else