The error message doesn't actually print the filename of the offending file: Incorrect line wrapping in %file Signed-off-by: Peter Krempa <pkrempa@xxxxxxxxxx> --- scripts/test-wrap-argv.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/test-wrap-argv.py b/scripts/test-wrap-argv.py index 6b0d3511f3..9ec572b479 100755 --- a/scripts/test-wrap-argv.py +++ b/scripts/test-wrap-argv.py @@ -137,8 +137,8 @@ def rewrap(filename, in_place, check): stdin=subprocess.PIPE) diff.communicate(input=new.encode('utf-8')) - print("Incorrect line wrapping in $file", - file=sys.stderr) + print("Incorrect line wrapping in '%s'" % + filename, file=sys.stderr) print("Use test-wrap-argv.py to wrap test data files", file=sys.stderr) return False -- 2.29.2