Skip to content
projects
/
linux
·
blob
master ·
refs
linux
tools
objtool
tests
generic
test-new-function.sh
…
History
History
·
Raw
Raw
·
Diff
Diff
·
Blob
Blob
16 lines · 351 B
1
#
!/bin/bash
2
#
SPDX-License-Identifier: GPL-2.0
3
#
4
#
A function added by the patch has no original to correlate against and must
5
#
still be carried into the livepatch.
6
7
.
"
$
(
dirname
"
$
0
"
)
/../lib.sh
"
8
9
setup
10
build_pair
new_function.c
11
run_diff
12
13
assert_patched
target
14
assert_symbol
klp_new_helper
15
16
pass
"
new function carried into the patch with its caller
"