QA output created by 660

=== pmwebd default startup  ===
"context":

=== pmwebd security constraints, file service ===
+++ should fail due to -N
PMWEBD error, XXX

+++ should fail due to nonexistent context#
PMWEBD error, XXX

+++ should fail with a different error (insufficient elements; ie pmFetch failed)
> GET /pmapi/2222/_fetch?names= HTTP/1.1
> Host: LOCALHOST:PORT
> Accept: */*
>
< HTTP/1.1 400 Bad Request
< Content-Length: 56
< Access-Control-Allow-Origin: *
< Content-Type: text/plain
< Date: DATE
<
{ [data not shown]
* Connection #### to host LOCALHOST left intact
PMWEBD error, XXX

+++ should fail with a different error (insufficient elements; ie pmFetch failed)
PMWEBD error, XXX

+++ should fail due to suspicious pmresapi path name
> GET /etc/passwd HTTP/1.1
> Host: LOCALHOST:PORT
> Accept: */*
>
< HTTP/1.1 400 Bad Request
< Content-Length: 40
< Access-Control-Allow-Origin: *
< Content-Type: text/plain
< Date: DATE
<
{ [data not shown]
* Connection #### to host LOCALHOST left intact
PMWEBD error, XXX

+++ should fail due to non-enablement of graphite
> GET /graphite/render?target=* HTTP/1.1
> Host: LOCALHOST:PORT
> Accept: */*
>
< HTTP/1.1 400 Bad Request
< Content-Length: 40
< Access-Control-Allow-Origin: *
< Content-Type: text/plain
< Date: DATE
<
{ [data not shown]
* Connection #### to host LOCALHOST left intact
PMWEBD error, XXX

+++ should pass, feed this very script
file service ok
+++ should not fail after patch from GH PR594
> GET /pmapi/1/metrics HTTP/1.1
> Host: LOCALHOST:PORT
> Accept: */*
>
< HTTP/1.1 400 Bad Request
< Content-Length: 60
< Access-Control-Allow-Origin: *
< Content-Type: text/plain
< Date: DATE
<
{ [data not shown]
* Connection #### to host LOCALHOST left intact
PMWEBD error, XXX

+++ should fail with incomplete pmapi request url.size=2
> GET /pmapi HTTP/1.1
> Host: LOCALHOST:PORT
> Accept: */*
>
< HTTP/1.1 400 Bad Request
< Content-Length: 40
< Access-Control-Allow-Origin: *
< Content-Type: text/plain
< Date: DATE
<
{ [data not shown]
* Connection #### to host LOCALHOST left intact
PMWEBD error, XXX
[DATE] pmwebd(PID): [HOST:PORT] url.size() 2 not 4 url[1]="pmapi", new_contexts_p=0

+++ should fail with incomplete pmapi request url.size=3
> GET /pmapi/12345 HTTP/1.1
> Host: LOCALHOST:PORT
> Accept: */*
>
< HTTP/1.1 400 Bad Request
< Content-Length: 40
< Access-Control-Allow-Origin: *
< Content-Type: text/plain
< Date: DATE
<
{ [data not shown]
* Connection #### to host LOCALHOST left intact
PMWEBD error, XXX
[DATE] pmwebd(PID): [HOST:PORT] url.size() 3 not 4 url[1]="pmapi" url[2]="12345", new_contexts_p=0

no fd leak
redirected file ok
