From 2e4650e5a5f443239c3c258aebcb56bb0d910194 Mon Sep 17 00:00:00 2001 From: Tamir Duberstein Date: Wed, 20 Nov 2024 15:19:08 -0500 Subject: [PATCH] integration: alphabetize --- test/integration-ebpf/Cargo.toml | 44 ++++++++++++++++---------------- test/integration-test/src/lib.rs | 14 +++++----- 2 files changed, 29 insertions(+), 29 deletions(-) diff --git a/test/integration-ebpf/Cargo.toml b/test/integration-ebpf/Cargo.toml index 2649871b..54293467 100644 --- a/test/integration-ebpf/Cargo.toml +++ b/test/integration-ebpf/Cargo.toml @@ -17,6 +17,10 @@ network-types = "0.0.7" which = { workspace = true } xtask = { path = "../../xtask" } +[[bin]] +name = "bpf_probe_read" +path = "src/bpf_probe_read.rs" + [[bin]] name = "log" path = "src/log.rs" @@ -25,6 +29,10 @@ path = "src/log.rs" name = "map_test" path = "src/map_test.rs" +[[bin]] +name = "memmove_test" +path = "src/memmove_test.rs" + [[bin]] name = "name_test" path = "src/name_test.rs" @@ -34,41 +42,33 @@ name = "pass" path = "src/pass.rs" [[bin]] -name = "test" -path = "src/test.rs" - -[[bin]] -name = "tcx" -path = "src/tcx.rs" +name = "redirect" +path = "src/redirect.rs" [[bin]] name = "relocations" path = "src/relocations.rs" [[bin]] -name = "bpf_probe_read" -path = "src/bpf_probe_read.rs" - -[[bin]] -name = "two_progs" -path = "src/two_progs.rs" +name = "ring_buf" +path = "src/ring_buf.rs" [[bin]] -name = "redirect" -path = "src/redirect.rs" +name = "simple_prog" +path = "src/simple_prog.rs" [[bin]] -name = "xdp_sec" -path = "src/xdp_sec.rs" +name = "tcx" +path = "src/tcx.rs" [[bin]] -name = "ring_buf" -path = "src/ring_buf.rs" +name = "test" +path = "src/test.rs" [[bin]] -name = "memmove_test" -path = "src/memmove_test.rs" +name = "two_progs" +path = "src/two_progs.rs" [[bin]] -name = "simple_prog" -path = "src/simple_prog.rs" +name = "xdp_sec" +path = "src/xdp_sec.rs" diff --git a/test/integration-test/src/lib.rs b/test/integration-test/src/lib.rs index ffed5dd4..c185f69d 100644 --- a/test/integration-test/src/lib.rs +++ b/test/integration-test/src/lib.rs @@ -12,21 +12,21 @@ pub const TEXT_64_64_RELOC: &[u8] = pub const VARIABLES_RELOC: &[u8] = include_bytes_aligned!(concat!(env!("OUT_DIR"), "/variables_reloc.bpf.o")); +pub const BPF_PROBE_READ: &[u8] = + include_bytes_aligned!(concat!(env!("OUT_DIR"), "/bpf_probe_read")); pub const LOG: &[u8] = include_bytes_aligned!(concat!(env!("OUT_DIR"), "/log")); pub const MAP_TEST: &[u8] = include_bytes_aligned!(concat!(env!("OUT_DIR"), "/map_test")); +pub const MEMMOVE_TEST: &[u8] = include_bytes_aligned!(concat!(env!("OUT_DIR"), "/memmove_test")); pub const NAME_TEST: &[u8] = include_bytes_aligned!(concat!(env!("OUT_DIR"), "/name_test")); pub const PASS: &[u8] = include_bytes_aligned!(concat!(env!("OUT_DIR"), "/pass")); +pub const REDIRECT: &[u8] = include_bytes_aligned!(concat!(env!("OUT_DIR"), "/redirect")); +pub const RELOCATIONS: &[u8] = include_bytes_aligned!(concat!(env!("OUT_DIR"), "/relocations")); +pub const RING_BUF: &[u8] = include_bytes_aligned!(concat!(env!("OUT_DIR"), "/ring_buf")); +pub const SIMPLE_PROG: &[u8] = include_bytes_aligned!(concat!(env!("OUT_DIR"), "/simple_prog")); pub const TCX: &[u8] = include_bytes_aligned!(concat!(env!("OUT_DIR"), "/tcx")); pub const TEST: &[u8] = include_bytes_aligned!(concat!(env!("OUT_DIR"), "/test")); -pub const RELOCATIONS: &[u8] = include_bytes_aligned!(concat!(env!("OUT_DIR"), "/relocations")); pub const TWO_PROGS: &[u8] = include_bytes_aligned!(concat!(env!("OUT_DIR"), "/two_progs")); -pub const BPF_PROBE_READ: &[u8] = - include_bytes_aligned!(concat!(env!("OUT_DIR"), "/bpf_probe_read")); -pub const REDIRECT: &[u8] = include_bytes_aligned!(concat!(env!("OUT_DIR"), "/redirect")); pub const XDP_SEC: &[u8] = include_bytes_aligned!(concat!(env!("OUT_DIR"), "/xdp_sec")); -pub const RING_BUF: &[u8] = include_bytes_aligned!(concat!(env!("OUT_DIR"), "/ring_buf")); -pub const MEMMOVE_TEST: &[u8] = include_bytes_aligned!(concat!(env!("OUT_DIR"), "/memmove_test")); -pub const SIMPLE_PROG: &[u8] = include_bytes_aligned!(concat!(env!("OUT_DIR"), "/simple_prog")); #[cfg(test)] mod tests;