Fix shared object relcations with multiple static arrays (#2121)

This commit is contained in:
jackcmay
2018-12-12 08:41:45 -08:00
committed by GitHub
parent fa98434096
commit cefbb7c27d
3 changed files with 18 additions and 2 deletions

View File

@ -299,7 +299,13 @@ fn test_program_builtin_bpf_noop() {
fn test_program_bpf_c() {
logger::setup();
let programs = ["noop", "struct_pass", "struct_ret", "noop++"];
let programs = [
"noop",
"noop++",
"struct_pass",
"struct_ret",
"multiple_static",
];
for program in programs.iter() {
println!("Test program: {:?}", program);
let mut file = File::open(create_bpf_path(program)).expect("file open failed");