test-bpf: rename to test-bpf-firewall
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 8 Nov 2019 10:58:55 +0000 (11:58 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 10 Nov 2019 22:22:15 +0000 (23:22 +0100)
Let's make the name better reflect its scope.

src/test/meson.build
src/test/test-bpf-firewall.c [moved from src/test/test-bpf.c with 98% similarity]

index 6179607..16050f0 100644 (file)
@@ -428,7 +428,7 @@ tests += [
          [libbasic],
          []],
 
-        [['src/test/test-bpf.c',
+        [['src/test/test-bpf-firewall.c',
           'src/test/test-helper.c'],
          [libcore,
           libshared],
similarity index 98%
rename from src/test/test-bpf.c
rename to src/test/test-bpf-firewall.c
index 49dc0b7..3155cd2 100644 (file)
@@ -61,7 +61,7 @@ int main(int argc, char *argv[]) {
         test_setup_logging(LOG_DEBUG);
 
         if (detect_container() > 0)
-                return log_tests_skipped("test-bpf fails inside LXC and Docker containers: https://github.com/systemd/systemd/issues/9666");
+                return log_tests_skipped("test-bpf-firewall fails inside LXC and Docker containers: https://github.com/systemd/systemd/issues/9666");
 
         assert_se(getrlimit(RLIMIT_MEMLOCK, &rl) >= 0);
         rl.rlim_cur = rl.rlim_max = MAX3(rl.rlim_cur, rl.rlim_max, CAN_MEMLOCK_SIZE);