1
0
mirror of https://github.com/systemd/systemd.git synced 2025-02-13 01:57:42 +03:00
Frantisek Sumsal 6d13aacaac test: make sd-journal-gatewayd tests even more debug-able
Unfortunately bfd30e8af6 is not enough and the test fails, that still
occasionally occur, don't provide enough information to see what's
wrong. Let's rework the test a little to improve this, namely:

  - redirect curl's output into a temporary file instead of piping it
    directly into the "check" expression; that way we can simply dump
    the temporary file when the test fails, providing potentially
    crucial information. We don't want to always dump everything to
    stdout, as some of the tests request an entire system journal (note
    that shell redirection instead of `curl -o file` is used
    intentionally, so the output file is always nuked first)
  - by dropping the pipes in curl commands we can re-enable pipefail
  - also, split some very long commands to multiple lines to (slightly)
    improve readability

Follow-up for bfd30e8af64a0d39ad110258dca69be919f6df34.
2024-04-11 14:42:45 +02:00
..
2023-05-24 20:06:10 +09:00
2024-01-12 05:12:44 +09:00
2023-05-26 00:45:54 -04:00
2024-02-14 04:04:12 +09:00
2024-03-19 16:37:22 +01:00
2023-09-19 21:45:27 +08:00
2024-02-20 13:31:00 +01:00