diff options
| author | 2026-09-16 11:43:01 -0700 | |
|---|---|---|
| committer | 2026-09-21 11:01:22 +0200 | |
| commit | 48dafeead17e96ee5a63816580a0b92732ea32f6 (patch) | |
| tree | c414403c907915e824f6904e9bae85173d705fd6 /scripts/Makefile.thinlto | |
| parent | objtool/klp: Give each run one working directory, one per test inside it (diff) | |
objtool/klp: Run the klp tests under set -u
Most of these assertions end in a grep, and an empty pattern matches
anything. So a mistyped variable name in a test does not fail: it expands
to nothing, the grep succeeds, and the test reports a pass having checked
nothing. assert_section "$sectoin_nmae" becomes a search for two adjacent
spaces, which readelf's column padding satisfies on every line.
Refuse unset variables. lib.sh guards the few genuinely optional
expansions it has with ${x:-}.
Signed-off-by: Song Liu <song@kernel.org>
Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Assisted-by: Claude:claude-opus-5
Link: https://patch.msgid.link/20260916184351.2720310-9-song@kernel.org
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
