diff options
author | Omar Polo <op@omarpolo.com> | 2021-01-23 15:32:38 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2021-01-23 15:32:38 +0000 |
commit | 3309ef975cf570aeb5c1dbf568af323c19bbb3c0 (patch) | |
tree | 1759df81e1fa4c4fe8fa483285366e7ce71cb7ce /regress/runtime | |
parent | 45b4aa6e57740fca189b4a2fd2ed9ed7ba3bf879 (diff) |
accumulate the whole response line for CGI scripts
Diffstat (limited to 'regress/runtime')
-rwxr-xr-x | regress/runtime | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/regress/runtime b/regress/runtime index e9f193c..edfcf74 100755 --- a/regress/runtime +++ b/regress/runtime @@ -159,5 +159,9 @@ eq "$(head /err)" "" "Unexpected head for /err" eq "$(get /err)" "" "Unexpected body for /err" echo OK GET /err with cgi +eq "$(head /invalid | wc -c | xargs)" 2049 "Unexpected body for /invalid" +eq "$(get /invalid)" "" "Unexpected body for /invalid" +echo OK GET /invalid with cgi + check "should be running" quit |