• S
    ktest: Strip off '\n' when reading which files were modified · 35275685
    Steven Rostedt (Red Hat) 提交于
    The patchcheck test looks at what files are modified for each patch it
    checks and makes sure that those files do not produce any warnings.
    
    Unfortunately, when it read the diffstat, the newlines were added on the
    files and this made compares miss warnings, and commits that should not
    have passed, ktest let pass.
    
    Fix this by using the perl command "chomp" that strips off whitespace at
    the end of lines.
    Signed-off-by: NSteven Rostedt <rostedt@goodmis.org>
    35275685
ktest.pl 86.1 KB