Skip to content

Commit

Permalink
FIX ftest
Browse files Browse the repository at this point in the history
  • Loading branch information
fgalan committed Sep 6, 2023
1 parent 74364e2 commit c3c827d
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 29 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -336,34 +336,34 @@ Content-Length: 79
}


#09. GET /v2/entities with only whitespace in q-item (q= )
#===========================================================
#HTTP/1.1 400 Bad Request
#Date: REGEX(.*)
#Fiware-Correlator: REGEX([0-9a-f\-]{36})
#Content-Type: application/json
#Content-Length: 77
#
#{
# "description": "empty q-item (only whitespace)",
# "error": "BadRequest"
#}
#
#
#10. GET /v2/entities with trailing whitespace in q (q=a==12; )
#================================================================
#HTTP/1.1 400 Bad Request
#Date: REGEX(.*)
#Fiware-Correlator: REGEX([0-9a-f\-]{36})
#Content-Type: application/json
#Content-Length: 51
#
#{
# "description": "empty q-item",
# "error": "BadRequest"
#}
#
#
##09. GET /v2/entities with only whitespace in q-item (q= )
##===========================================================
##HTTP/1.1 400 Bad Request
##Date: REGEX(.*)
##Fiware-Correlator: REGEX([0-9a-f\-]{36})
##Content-Type: application/json
##Content-Length: 77
##
##{
## "description": "empty q-item (only whitespace)",
## "error": "BadRequest"
##}
##
##
##10. GET /v2/entities with trailing whitespace in q (q=a==12; )
##================================================================
##HTTP/1.1 400 Bad Request
##Date: REGEX(.*)
##Fiware-Correlator: REGEX([0-9a-f\-]{36})
##Content-Type: application/json
##Content-Length: 51
##
##{
## "description": "empty q-item",
## "error": "BadRequest"
##}
##
##
11. GET /v2/entities with > RANGE
=================================
HTTP/1.1 400 Bad Request
Expand Down
2 changes: 1 addition & 1 deletion test/functionalTest/testHarness.sh
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,7 @@ function fileCreation()
then
TEST_REGEXPECT=${pathWithoutExt}.regexpect
vMsg "Creating $TEST_REGEXPECT at $PWD"
sed -n '/--REGEXPECT--/,/^--/p' $path | grep -v "^--" | sed '/^#/d' > $TEST_REGEXPECT
sed -n '/--REGEXPECT--/,/^--/p' $path | grep -v "^--" | sed '/^##/d' > $TEST_REGEXPECT
else
exitFunction 5 "--REGEXPECT-- part is missing" $path "($path)" "" DIE
fi
Expand Down

0 comments on commit c3c827d

Please sign in to comment.