Re: [ALFS Trac] #1745: Problem with vim tests in LFS
"ALFS Trac" ([email protected] via alfs-discuss Mailing List) <[email protected]> Mon, 03 Feb 2025 10:07:13 -0000
| Newsgroups | gmane.linux.lfs.automated |
|---|---|
| Message-ID | <[email protected]> |
#1745: Problem with vim tests in LFS
--------------------+------------------------------
Reporter: bdubbs | Owner: Pierre Labastie
Type: defect | Status: accepted
Priority: normal | Milestone:
Component: jhalfs | Version: GIT
Severity: normal | Resolution:
Keywords: |
--------------------+------------------------------
Comment (by Pierre Labastie):
Normally, an ending backslash is tested and then nothing is added to the
line, but because of an error in logic, the test was not done for lines
containing "make".
Also if a line already contains '>>', nothing is added either. I've added
the case of '&>'. Problem is that in those cases the logs are not
conserved... I suppose we should do something like "tail -n x <logfile>"
so that at least the lines containing test summary are conserved.
Of course another possibility is to replace the log file with $TEST_LOG in
the scriptlet... But this would be specific to vim.
Now for the problem of input needed during test, I think we should use
''yes "" |'' if the test output is redirected, because there is no way to
know why the test stops in this case.
--
Ticket URL: <https://wiki.linuxfromscratch.org/alfs /ticket/1745#comment:2>
ALFS Trac <https://wiki.linuxfromscratch.org/alfs/>
Automated Linux From Scratch
--
http://lists.linuxfromscratch.org/sympa/info/alfs-discuss
Unsubscribe: See the above information page