blob: b0b7f6443110755c0fb794516e3043db2fad0a8f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/bin/bash
# SPDX-License-Identifier: GPL-2.0
#
# A function added by the patch has no original to correlate against and must
# still be carried into the livepatch.
. "$(dirname "$0")/../lib.sh"
setup
build_pair new_function.c
run_diff
assert_patched target
assert_symbol klp_new_helper
pass "new function carried into the patch with its caller"
|