File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -131,11 +131,11 @@ function validate_services() {
131131
132132 if [[ " $CONTENT_TYPE " == " multipart/form-data" ]]; then
133133 # Handle file upload
134- local HTTP_STATUS=$( curl -s -o /dev/null -w " %{http_code}" -X POST $INPUT_DATA " $URL " )
134+ local HTTP_STATUS=$( eval curl -s -o /dev/null -w " %{http_code}" -X POST $INPUT_DATA " $URL " )
135135
136136 if [ " $HTTP_STATUS " -eq 200 ]; then
137137 echo " [ $SERVICE_NAME ] HTTP status is 200. Checking content..."
138- local CONTENT=$( curl -s -X POST $INPUT_DATA " $URL " | tee ${LOG_PATH} /${SERVICE_NAME} .log)
138+ local CONTENT=$( eval curl -s -X POST $INPUT_DATA " $URL " | tee ${LOG_PATH} /${SERVICE_NAME} .log)
139139
140140 if echo " $CONTENT " | grep -q " $EXPECTED_RESULT " ; then
141141 echo " [ $SERVICE_NAME ] ✓ Content is as expected."
You can’t perform that action at this time.
0 commit comments