Age | Commit message (Collapse) | Author |
|
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
Convert from array to map, service -> reason. Printing the reason as
part of the hard skip message makes the output self-documenting.
|
|
|
|
AUTH_SKIPS is a list of services for which an HTTP 401 is an expected
response if an auth token isn't given. 401 for a service outside of the
list means a changed/broken API.
Invert the `if ! diff then fail else success` for readability.
|
|
DL_DIR/* tries to diff error logs with the test data if they exist.
|
|
|
|
Slightly different behavior based on if it's a hard skip, auth skip, or
post/download failure skip. HARD_SKIPS array to control which services
are always skipped. Add total skips and fail logs to summary.
|
|
|
|
Posts test/test.txt onto any pastebins it can. Downloads the resulting
pate into a temp dir as /tmp/wgetpaste_test.XXXXX/<service>.txt. Runs
diff(1) (ignoring trailing whitespace) to compare the download with the
test data.
|