Browse Source

integration: alphabetize

Tamir Duberstein 3 months ago
parent
commit
2e4650e5a5
2 changed files with 29 additions and 29 deletions
  1. 22 22
      test/integration-ebpf/Cargo.toml
  2. 7 7
      test/integration-test/src/lib.rs

+ 22 - 22
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"

+ 7 - 7
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;