summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMichal Marek <mmarek@suse.cz>2014-10-22 21:25:39 +0200
committerSteven Rostedt <rostedt@goodmis.org>2014-11-21 19:37:56 -0500
commit52d21580b3623e0b5f0b8de5d67b5431507720e5 (patch)
treea61b65182b9b4749ab5a5797a25fcc330e91fc6b /tools
parentf114040e3ea6e07372334ade75d1ee0775c355e1 (diff)
downloadop-kernel-dev-52d21580b3623e0b5f0b8de5d67b5431507720e5.zip
op-kernel-dev-52d21580b3623e0b5f0b8de5d67b5431507720e5.tar.gz
ktest: Use make -s kernelrelease
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>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/testing/ktest/ktest.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/ktest/ktest.pl b/tools/testing/ktest/ktest.pl
index bf13981..60fe020 100755
--- 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;
OpenPOWER on IntegriCloud