Actions
action #50945
closed[tools][svirt] Svirt serial backend gets stalled by new lines in command passed to script_run
Status:
Resolved
Priority:
Low
Assignee:
-
Category:
Enhancement to existing tests
Target version:
-
Start date:
2019-04-30
Due date:
% Done:
0%
Estimated time:
Difficulty:
Description
Svirt serial backend gets stalled by new lines in command passed to script_run.
Workaround is to replace new line in code by new line character, see this diff
from PR#6841 found when working on #45863, but that's not a solution.
------------------------- tests/kernel/install_ltp.pm -------------------------
index c3dc476d8..de108b4cf 100644
@@ -227,19 +227,9 @@ sub install_from_repo {
sub setup_network {
my $content;
- $content = <<EOF; -# ltp specific setup -pts/1 -pts/2 -pts/3 -pts/4 -pts/5 -pts/6 -pts/7 -pts/8 -pts/9 -EOF
- assert_script_run("echo \"$content\" >> '/etc/securetty'");
- # pts in /etc/securetty
- $content = '# ltp specific setup\npts/1\npts/2\npts/3\npts/4\npts/5\npts/6\npts/7\npts/8\npts/9\n';
- assert_script_run("printf \"$content\" >> /etc/securetty");
Updated by pvorel over 5 years ago
- Related to action #45863: [s390x][svirt][ltp] Fix serial terminal console implementation for svirt backend and use it's output added
Updated by okurz over 4 years ago
- Project changed from openQA Project (public) to openQA Tests (public)
- Category changed from Feature requests to Enhancement to existing tests
- Status changed from New to Resolved
likely solved by coolgw in https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/10516 within os-autoinst-distri-opensuse
Actions