Actions
action #160820
openopenqa-cli: Do not read from STDIN unless explicitly requested
Start date:
Due date:
% Done:
0%
Estimated time:
Description
Observation¶
See https://progress.opensuse.org/issues/160628#note-9
A shell script called via bash < ...
called openqa-cli, and that was reading STDIN, making it empty, and the rest of the bash script was skipped because bash didn't get any more input lines.
In some cases it might be handy to read from STDIN unrequested, e.g. linters, where it's obvious that they either take a file / dir or STDIN.
But for openqa-cli it was a bit unexpected, and in a context where that data from STDIN wasn't actually used.
It might break things, but still a good idea to add an explicit flag to read from STDIN.
Updated by tinita about 2 months ago
- Copied from action #160628: periodic multi-machine OSD test in https://gitlab.suse.de/openqa/scripts-ci/ does not trigger any jobs size:S added
Updated by okurz about 1 month ago
- Target version changed from Ready to Tools - Next
Updated by okurz about 1 month ago
- Target version changed from Tools - Next to Ready
Updated by okurz about 1 month ago
- Target version changed from Ready to Tools - Next
Actions