Commit a6eedd4e authored by intrigeri's avatar intrigeri
Browse files

Test suite: restore Journal artifact extension

The Journal saved on failure has been called *.journal for years.

Let's not require developers to change their habits,
and let's not break tooling that may rely on this.
parent bbf79292
......@@ -120,8 +120,8 @@ rescue Exception => e
"#{}: #{e}")
def save_vm_command_output(command:, id:, desc: nil)
basename = "artifact.cmd_output_#{id}"
def save_vm_command_output(command:, id:, basename: nil, desc: nil)
basename ||= "artifact.cmd_output_#{id}"
$vm.execute("#{command} > /tmp/#{basename} 2>&1")
file: "/tmp/#{basename}",
......@@ -134,6 +134,7 @@ def save_journal
command: 'journalctl -a --no-pager',
id: 'journal',
basename: 'artifact.journal',
desc: 'systemd Journal'
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment