diff options
| author | Ricardo B. Marliere <[email protected]> | 2024-12-05 20:50:35 +0000 |
|---|---|---|
| committer | Steven Rostedt <[email protected]> | 2024-12-18 21:51:38 +0000 |
| commit | a4e17a8f239a545c463f8ec27db4ed6e74b31841 (patch) | |
| tree | 5a10719e0a7946f42a8a84cd08aa9b99f6e92995 /drivers/platform/x86/intel/pmt/class.c | |
| parent | Linux 6.13-rc3 (diff) | |
| download | kernel-a4e17a8f239a545c463f8ec27db4ed6e74b31841.tar.gz kernel-a4e17a8f239a545c463f8ec27db4ed6e74b31841.zip | |
ktest.pl: Check kernelrelease return in get_version
In the case of a test that uses the special option ${KERNEL_VERSION} in one
of its settings but has no configuration available in ${OUTPUT_DIR}, for
example if it's a new empty directory, then the `make kernelrelease` call
will fail and the subroutine will chomp an empty string, silently. Fix that
by adding an empty configuration and retrying.
Cc: [email protected]
Cc: John Hawley <[email protected]>
Fixes: 5f9b6ced04a4e ("ktest: Bisecting, install modules, add logging")
Link: https://lore.kernel.org/[email protected]
Signed-off-by: Ricardo B. Marliere <[email protected]>
Signed-off-by: Steven Rostedt <[email protected]>
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions
