projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f114040
)
ktest: Use make -s kernelrelease
author
Michal Marek
<mmarek@suse.cz>
Wed, 22 Oct 2014 19:25:39 +0000
(21:25 +0200)
committer
Steven Rostedt
<rostedt@goodmis.org>
Sat, 22 Nov 2014 00:37:56 +0000
(19:37 -0500)
The previous tail -1 broke with commit
7ff525712acf
("kbuild: fake the
"Entering directory ..." message more simply")
Link:
http://lkml.kernel.org/r/20141022194408.GA20989@pobox.suse.cz
Reported-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
tools/testing/ktest/ktest.pl
patch
|
blob
|
history
diff --git
a/tools/testing/ktest/ktest.pl
b/tools/testing/ktest/ktest.pl
index bf1398180785777a671b52199f60d5c128c00ee2..60fe020a6e80072f7b5d1370f6b9c34471bce0bb 100755
(executable)
--- a/
tools/testing/ktest/ktest.pl
+++ b/
tools/testing/ktest/ktest.pl
@@
-2005,7
+2005,7
@@
sub get_version {
# get the release name
return if ($have_version);
doprint "$make kernelrelease ... ";
- $version = `$make
kernelrelease | tail -1
`;
+ $version = `$make
-s kernelrelease
`;
chomp($version);
doprint "$version\n";
$have_version = 1;