ktest: Use make -s kernelrelease

The previous tail -1 broke with commit 7ff525712a ("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>
This commit is contained in:
Michal Marek 2014-10-22 21:25:39 +02:00 committed by Steven Rostedt
parent f114040e3e
commit 52d21580b3
1 changed files with 1 additions and 1 deletions

View File

@ -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;