action #111584
Updated by tinita over 2 years ago
# Observation Calling `upload_logs` upload_log with a filename like `/root/result/screenshots/first_visit/login.js/Trento login page -- remain here if wrong password (failed).png` It result in an error like ~~~ c bash: syntax error near unexpected token `(' ~~~ http://1c242.qa.suse.de/tests/203#step/test_trento_web/57 # Steps to reproduce ~~~ perl use Mojo::Base 'publiccloud::basetest'; use base 'consoletest'; use strict; use testapi; sub run { my ($self, $args) = @_; $self->select_serial_terminal; assert_script_run 'echo "Hello World!" > echo.log'; assert_script_run 'echo "Hello Space!" > "echo\ space.log"'; upload_logs('echo.log'); upload_logs('echo space.log'); } ~~~ # Expected result both `echo.log` and `echo space.log` available in the Log&Asset page