From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.openvz.org (mail.openvz.org [69.168.225.77]) by lore.virtuozzo.com (Postfix) with ESMTPS id E899A80027 for ; Thu, 19 Nov 2026 08:18:30 +0000 (UTC) Received: from mail.openvz.org (localhost [127.0.0.1]) by mail.openvz.org (8.14.4/8.14.4) with ESMTP id 6AJ8HIZw003947; Thu, 19 Nov 2026 11:17:20 +0300 DKIM-Filter: OpenDKIM Filter v2.11.0 mail.openvz.org 6AJ8HIZw003947 Authentication-Results: mail.openvz.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=virtuozzo.com header.i=@virtuozzo.com header.b="HWM/O3N1" Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) by mail.openvz.org (8.14.4/8.14.4) with ESMTP id 6AJ8H1qX003913 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=FAIL) for ; Thu, 19 Nov 2026 11:17:02 +0300 DKIM-Filter: OpenDKIM Filter v2.11.0 mail.openvz.org 6AJ8H1qX003913 Received: by mail-wr1-f69.google.com with SMTP id ffacd0b85a97d-4915ba023d4so1316386f8f.0 for ; Thu, 19 Nov 2026 00:17:02 -0800 (PST) X-Gm-Message-State: APuU4Z9/Y4oC3k4BgpDLhw1arOjEibrM1ytJJdgk+flnJH2j+sJneNx/ cTEZIh94B61SSJgJZz9RcytS4CozlSRrXZByT1YKDblPTGKVEzvGXfNt1xdM/mnX6ae0rKQAY9t aIBMb4UOXSmbRJF7MuqBIk1E3sgj7UnwDa+ZMdxWXBap1G0ycAPxKtw== X-Gm-Gg: AZFdTZeEDMZRUnpcgJdCw+opVik5lgsHV6QHcbrzi8U10E9e5gQEQi7UXvRj4ownwMR yXwA9bCXSKcXa3uwMn9F1He3GBlRB0cMRmviYSarVJSMS9JMT8wQUw5cjThBiyqyFqeZyEs+kp5 OxcP4RzIitcgA6E3rrFeTsa7IvF4wETcjIrKWFjJy7POtGbJrAP1cwYR2zJmUt94RU7F4PMBjCU SdML48ztODv4t9yEKJzysjwN8OudKwr+yRlE2bgvb1ZpLIVNRl6qxbO85X0ZA/U4d3JzXyyCjYZ P8GSMlnCc1ohF5Lu8YPSNEe/d9YL3m0tjW81GLzoP2hF9HHvZMk18Z67zyFhmQ1PWSE4ibsBxYc WE5vB4El0grTVEgdxljDADt2eQPADzw== X-Received: by 2002:a05:6000:2382:b0:4a6:bc53:2466 with SMTP id ffacd0b85a97d-4a6bc626983mr9300123f8f.16.1795076221679; Thu, 19 Nov 2026 00:17:01 -0800 (PST) X-Received: by 2002:a05:6000:2382:b0:4a6:bc53:2466 with SMTP id ffacd0b85a97d-4a6bc626983mr9300076f8f.16.1795076221084; Thu, 19 Nov 2026 00:17:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1795076221; cv=none; d=google.com; s=arc-20260327; b=Srqnk3KSSHiIrihWjRUeskSLSoYtwnyuU56QsPesGvpsR/JNZZ99og6z1FH82enGYG JtJqiRuCf6z8UDmd8nNWakJ3zRWw+f5xzhs7EO5ROulXbeysQzf9H2HMHLyrRTEAhlH+ bb/JHy8cKechZF6XcPLLEs5NZPumvqToxBCN5IFXIo7W/uVKJbIarIYzpcJgK1ISp3dI T/EpfSBgy0Xr2poJWoGdT/tGxASYy3CUxJif5eQVaEzCLN/Inc5kTtiPNr5oHPT9AeB9 QwPVtW5RrqG8NqUx5c/ycSLE9E4jNPgBW91Z+8pWQL5rMK/Mf4d9Yfyte2ZXQjZI+wGZ ethg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=YJmRHsv8dOnmQsOYZzgAw96Y2t/cLiCq5qLIkYwe2jA=; fh=DyeaEZPHV4v28duuFe2DGUlI2E+s+GAoStNDx0CyIL0=; b=JWAEk1ORP5hxmCEbRtHMa0PR1Kl1a+8mo7Q8klb56vyHE87YlXmk8GvUFE8LhSVml7 jjfF85StG2Z5LPBn8z7wXBBL5xcaC38Kuh17hH8VFPpJUBjK2wHZ8FOv0hqT3O2S2GqN xWwq36h2XQrXlToB5QLb1F+0LjNOqgv2TpRiAaODqljccYuHtbsP898jEoMFSfhLKTDw 3vVsOMPkNtzZReVU1tm9CxGB9E0TMhai3mQYFLWzuW70oUYZm8HpSe2dTJfY9RbhWP89 m0O28B5ATZkJ06mwiKCdjhqr5RLzulgl5+ZVqc5+keFrAwnQLrRtLakKkGR2OQohFIsj xI+w==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@virtuozzo.com header.s=relay header.b="HWM/O3N1"; spf=pass (google.com: domain of mirian.shilakadze@virtuozzo.com designates 130.117.225.111 as permitted sender) smtp.mailfrom=mirian.shilakadze@virtuozzo.com; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=virtuozzo.com Received: from relay.virtuozzo.com (relay.virtuozzo.com. [130.117.225.111]) by mx.google.com with ESMTPS id ffacd0b85a97d-4a659cf12bcsi10458314f8f.340.2026.11.19.00.17.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Nov 2026 00:17:01 -0800 (PST) Received-SPF: pass (google.com: domain of mirian.shilakadze@virtuozzo.com designates 130.117.225.111 as permitted sender) client-ip=130.117.225.111; Authentication-Results: mx.google.com; dkim=pass header.i=@virtuozzo.com header.s=relay header.b="HWM/O3N1"; spf=pass (google.com: domain of mirian.shilakadze@virtuozzo.com designates 130.117.225.111 as permitted sender) smtp.mailfrom=mirian.shilakadze@virtuozzo.com; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=virtuozzo.com DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=virtuozzo.com; s=relay; h=MIME-Version:Message-ID:Date:Subject:From: Content-Type; bh=YJmRHsv8dOnmQsOYZzgAw96Y2t/cLiCq5qLIkYwe2jA=; b=HWM/O3N1Iv1g hgtqurqs7eDxNv9lQ5rRgLntSBsDMIYuS5OmONMFN9N53QQqzFOhcngqec4tXd/RFFqOkOKX8Am9+ Un2VIWpNQmZ8I8z1TfWrpRxFfBlck7kfRZ2HRgX7ptZfHxBnWXD8SMP964x3UIi7rfB+zCSRgEYVj ncJjmEk5aYStkriBgbDAipYntYFwLC5+w+wrySVHT2dl8oATaLkgYNP/TLdLVzykIgxKCJQy4/jVH GYi0yfrXOxbYsupTw2orNaCfxPRrlD3Kvmwno4FILre6axwtgTqXFMLoSpem8gJXqd7VzPbsrUmJY Apcx3T6VDZ39V3MpZhKi1w==; Received: from ch-demo-asa.virtuozzo.com ([130.117.225.8] helo=localhost.localdomain) by relay.virtuozzo.com with esmtp (Exim 4.96) (envelope-from ) id 1xTxFx-008ys0-14; Thu, 19 Nov 2026 09:16:58 +0100 From: Mirian Shilakadze To: khorenko@virtuozzo.com, vladimir.riabchun@virtuozzo.com Date: Thu, 19 Nov 2026 12:16:28 +0400 Message-ID: <20261119081654.484107-4-mirian.shilakadze@virtuozzo.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20261119081654.484107-1-mirian.shilakadze@virtuozzo.com> References: <20261119081654.484107-1-mirian.shilakadze@virtuozzo.com> MIME-Version: 1.0 X-OZ-Fwd: true Cc: devel@openvz.org Subject: [Devel] [PATCH hci-8.2 v2 3/3] selftests/ve: move ve_printk into ve/ and reuse ve_selftest.h X-BeenThere: devel@openvz.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: OpenVZ development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: devel-bounces@openvz.org Errors-To: devel-bounces@openvz.org ve_printk lives in its own selftests directory and drives the cgroup side of its fixture by hand: it looks the cgroup2 mount up in /proc/mounts, writes the control files through system("echo ..."), searches the free ctid itself and has a path based enter_cgroup. The openat based form of all of that is in ve_selftest.h, used by the other ve tests. Move the test and its two helper programs into tools/testing/selftests/ve/, include ve_selftest.h and drop the local copies. The fixture holds the fd of the host cgroup2 mount from open_cg2_fd() instead of a path, creates its VE cgroup with make_ve and removes it with destroy_ve, and the container child writes ve.state through write_file_at on that fd. The vz.slice removal in the teardown stays, since the kernel creates that cgroup when the container is started. The includes that lose their last user with the local helpers go too, together with the unused __STACK_SIZE define and time.h include next to them. The -I../../../../usr/include flag is dropped: the ve Makefile already passes the same headers through KHDR_INCLUDES. Like the other ve tests, the fixture now needs the host cgroup2 mount at /sys/fs/cgroup instead of looking one up in /proc/mounts. The test cases are unchanged. Feature: fix selftests https://virtuozzo.atlassian.net/browse/VSTOR-139515 Signed-off-by: Mirian Shilakadze --- tools/testing/selftests/Makefile | 1 - tools/testing/selftests/ve/.gitignore | 3 + tools/testing/selftests/ve/Makefile | 2 + .../selftests/{ve_printk => ve}/test_segf.c | 0 .../selftests/{ve_printk => ve}/test_trap.c | 0 .../{ve_printk => ve}/ve_printk_test.c | 176 ++++-------------- tools/testing/selftests/ve_printk/.gitignore | 3 - tools/testing/selftests/ve_printk/Makefile | 8 - 8 files changed, 43 insertions(+), 150 deletions(-) rename tools/testing/selftests/{ve_printk => ve}/test_segf.c (100%) rename tools/testing/selftests/{ve_printk => ve}/test_trap.c (100%) rename tools/testing/selftests/{ve_printk => ve}/ve_printk_test.c (77%) delete mode 100644 tools/testing/selftests/ve_printk/.gitignore delete mode 100644 tools/testing/selftests/ve_printk/Makefile diff --git a/tools/testing/selftests/Makefile b/tools/testing/selftests/Makefile index 9f820344c16c..7f458f1bcb5c 100644 --- a/tools/testing/selftests/Makefile +++ b/tools/testing/selftests/Makefile @@ -118,7 +118,6 @@ TARGETS += uevent TARGETS += user_events TARGETS += vDSO TARGETS += ve -TARGETS += ve_printk TARGETS += mm TARGETS += vfio TARGETS += x86 diff --git a/tools/testing/selftests/ve/.gitignore b/tools/testing/selftests/ve/.gitignore index 9b1a8911b4cf..9f0f4832326e 100644 --- a/tools/testing/selftests/ve/.gitignore +++ b/tools/testing/selftests/ve/.gitignore @@ -8,3 +8,6 @@ ve_aio_ring_test ve_numa_syscalls_prohibited_test ve_tmpfs_mpol_test ve_devcg_bpf_test +ve_printk_test +test_segf +test_trap diff --git a/tools/testing/selftests/ve/Makefile b/tools/testing/selftests/ve/Makefile index 38d92eecc3c8..36c068b4bb66 100644 --- a/tools/testing/selftests/ve/Makefile +++ b/tools/testing/selftests/ve/Makefile @@ -11,6 +11,8 @@ TEST_GEN_PROGS += ve_aio_ring_test TEST_GEN_PROGS += ve_numa_syscalls_prohibited_test TEST_GEN_PROGS += ve_tmpfs_mpol_test TEST_GEN_PROGS += ve_devcg_bpf_test +TEST_GEN_PROGS += ve_printk_test +TEST_GEN_FILES += test_segf test_trap # CPUID faulting is x86-64 only. ARCH says "x86" for 32-bit too and lib.mk # picks the clang target by its emptiness, so decide by the compiler. diff --git a/tools/testing/selftests/ve_printk/test_segf.c b/tools/testing/selftests/ve/test_segf.c similarity index 100% rename from tools/testing/selftests/ve_printk/test_segf.c rename to tools/testing/selftests/ve/test_segf.c diff --git a/tools/testing/selftests/ve_printk/test_trap.c b/tools/testing/selftests/ve/test_trap.c similarity index 100% rename from tools/testing/selftests/ve_printk/test_trap.c rename to tools/testing/selftests/ve/test_trap.c diff --git a/tools/testing/selftests/ve_printk/ve_printk_test.c b/tools/testing/selftests/ve/ve_printk_test.c similarity index 77% rename from tools/testing/selftests/ve_printk/ve_printk_test.c rename to tools/testing/selftests/ve/ve_printk_test.c index 020df691e5d5..fa8403da089f 100644 --- a/tools/testing/selftests/ve_printk/ve_printk_test.c +++ b/tools/testing/selftests/ve/ve_printk_test.c @@ -22,7 +22,6 @@ */ #define _GNU_SOURCE #include -#include #include #include #include @@ -31,119 +30,56 @@ #include #include #include -#include #include -#include -#include #include "../kselftest_harness.h" +#include "ve_selftest.h" -#define __STACK_SIZE (8 * 1024 * 1024) -#define CTID_MIN 108 -#define CTID_MAX 200 #define SEGFAULT_PROG "test_segf" #define TRAP_PROG "test_trap" #define TEST_RATELIMIT_BURST 10 #define TEST_RATELIMIT 5 -static int has_substr(char *buf, const char *str) -{ - char *token; - char *str_ptr = buf; - - while ((token = strsep(&str_ptr, ",")) != NULL) { - if (!strcmp(token, str)) - return 1; - } - return 0; -} - -static int get_mount_path(const char *fstype, const char *subsys, char *out, int size) -{ - FILE *fp; - int n; - char buf[PATH_MAX]; - char target[4096]; - char ops[4096]; - char format[4096]; - int ret = 1; - - snprintf(format, sizeof(format), "%%*s %%4095s %s %%4095s", fstype); - - fp = fopen("/proc/mounts", "r"); - if (fp == NULL) - return -1; - - while (fgets(buf, sizeof(buf), fp)) { - n = sscanf(buf, format, target, ops); - if (n != 2) - continue; - if (subsys == NULL || has_substr(ops, subsys)) { - strncpy(out, target, size); - out[size-1] = '\0'; - ret = 0; - break; - } - } - fclose(fp); - - return ret; -} - FIXTURE(ve_printk) { - char cgv2_path[PATH_MAX]; + int cgv2_fd; int ctid; }; FIXTURE_SETUP(ve_printk) { - char path[PATH_MAX * 2]; - - ASSERT_EQ(get_mount_path("cgroup2", NULL, self->cgv2_path, sizeof(self->cgv2_path)), 0); + char ctid_str[16]; + char path[64]; - snprintf(path, sizeof(path), "echo \"+cpuset +cpu +cpuacct +io +memory +hugetlb +pids +rdma +misc +ve\"" - " > %s/cgroup.subtree_control 2>/dev/null", self->cgv2_path); - ASSERT_EQ(system(path), 0); + self->cgv2_fd = open_cg2_fd(); + ASSERT_GE(self->cgv2_fd, 0); - snprintf(path, sizeof(path), "echo \"/ rx\" > %s/ve.default_sysfs_permissions 2>/dev/null", self->cgv2_path); - ASSERT_EQ(system(path), 0); - - snprintf(path, sizeof(path), "echo \"fs rx\" > %s/ve.default_sysfs_permissions 2>/dev/null", self->cgv2_path); - ASSERT_EQ(system(path), 0); - - snprintf(path, sizeof(path), "echo \"fs/cgroup rw\" > %s/ve.default_sysfs_permissions 2>/dev/null", self->cgv2_path); - ASSERT_EQ(system(path), 0); - - self->ctid = CTID_MIN; - while (self->ctid < CTID_MAX) { - snprintf(path, sizeof(path), "%s/%d", self->cgv2_path, self->ctid); - if (access(path, F_OK) != 0 && errno == ENOENT) { - break; - } - self->ctid++; - } - ASSERT_LT(self->ctid, CTID_MAX); + ASSERT_EQ(write_file_at(self->cgv2_fd, "cgroup.subtree_control", + VE_CONTROLLERS), 0); - ASSERT_EQ(mkdir(path, 0755), 0); + ASSERT_EQ(write_file_at(self->cgv2_fd, + "ve.default_sysfs_permissions", "/ rx"), 0); + ASSERT_EQ(write_file_at(self->cgv2_fd, + "ve.default_sysfs_permissions", "fs rx"), 0); + ASSERT_EQ(write_file_at(self->cgv2_fd, + "ve.default_sysfs_permissions", "fs/cgroup rw"), 0); - snprintf(path, sizeof(path), "echo -ve > %s/%d/cgroup.controllers_hidden", - self->cgv2_path, self->ctid); - ASSERT_EQ(system(path), 0); + self->ctid = make_ve(self->cgv2_fd, CTID_MIN); + ASSERT_GE(self->ctid, 0); - snprintf(path, sizeof(path), "echo %d > %s/%d/ve.veid", - self->ctid, self->cgv2_path, self->ctid); - ASSERT_EQ(system(path), 0); + snprintf(ctid_str, sizeof(ctid_str), "%d", self->ctid); + snprintf(path, sizeof(path), "%d/ve.veid", self->ctid); + ASSERT_EQ(write_file_at(self->cgv2_fd, path, ctid_str), 0); }; FIXTURE_TEARDOWN(ve_printk) { - char path[PATH_MAX * 2]; + char path[64]; - snprintf(path, sizeof(path), "%s/%d/vz.slice", self->cgv2_path, self->ctid); - rmdir(path); - snprintf(path, sizeof(path), "%s/%d", self->cgv2_path, self->ctid); - rmdir(path); + snprintf(path, sizeof(path), "%d/vz.slice", self->ctid); + unlinkat(self->cgv2_fd, path, AT_REMOVEDIR); + destroy_ve(self->cgv2_fd, self->ctid); + close(self->cgv2_fd); } int setup_timens(void) @@ -169,7 +105,7 @@ int setup_timens(void) } struct fargs { - char *cgve; + int cgv2_fd; int ctid; int test; }; @@ -371,14 +307,12 @@ int child_func(void *arg) int ret; int fd; struct fargs *args = (struct fargs *)arg; - char cg_state[PATH_MAX]; + char path[64]; ret = setup_timens(); if (ret) return ret; - snprintf(cg_state, sizeof(cg_state), "%s/%d/ve.state", args->cgve, args->ctid); - (void)umount2("/proc", MNT_DETACH); ret = mount("proc", "/proc", "proc", 0, NULL); if (ret < 0) @@ -394,18 +328,10 @@ int child_func(void *arg) } close(fd); - fd = open(cg_state, O_WRONLY); - if (fd < 0) { - return 1; - } - - ret = write(fd, "START", strlen("START")); - if (ret < 0 || ret != strlen("START")) { - close(fd); + snprintf(path, sizeof(path), "%d/ve.state", args->ctid); + ret = write_file_at(args->cgv2_fd, path, "START"); + if (ret < 0) return 1; - } - - close(fd); switch (args->test) { case TEST_LOG: @@ -429,37 +355,11 @@ int child_func(void *arg) return ret; } -int enter_cgroup(const char *cgroup, int ctid) -{ - char cg_path[PATH_MAX]; - char pid_str[64]; - int fd; - int ret = 0; - - if (ctid) - snprintf(cg_path, sizeof(cg_path), "%s/%d/cgroup.procs", cgroup, ctid); - else - snprintf(cg_path, sizeof(cg_path), "%s/cgroup.procs", cgroup); - snprintf(pid_str, sizeof(pid_str), "%d", getpid()); - fd = open(cg_path, O_WRONLY); - if (fd < 0) { - return -1; - } - - ret = write(fd, pid_str, strlen(pid_str)); - if (ret < 0 || ret != strlen(pid_str)) { - ret = -1; - } - - close(fd); - return ret; -} - -int run_vzct(char *cgv2, int ctid, int testid) +int run_vzct(int cgv2_fd, int ctid, int testid) { pid_t pid; struct fargs args = { - .cgve = cgv2, + .cgv2_fd = cgv2_fd, .ctid = ctid, .test = testid, }; @@ -472,7 +372,7 @@ int run_vzct(char *cgv2, int ctid, int testid) int status; int ret; - ret = enter_cgroup(cgv2, ctid); + ret = enter_cgroup(cgv2_fd, ctid); if (ret < 0) return -1; @@ -489,7 +389,7 @@ int run_vzct(char *cgv2, int ctid, int testid) if (WIFEXITED(status)) { ret = WEXITSTATUS(status); } - enter_cgroup(cgv2, 0); + enter_cgroup(cgv2_fd, 0); return ret; } @@ -566,7 +466,7 @@ TEST_F(ve_printk, ve_log) fdmesg = open_dmesg(); ASSERT_NE(fdmesg, NULL); - ret = run_vzct(self->cgv2_path, self->ctid, TEST_LOG); + ret = run_vzct(self->cgv2_fd, self->ctid, TEST_LOG); ASSERT_EQ(ret, 0); while (fgets(buf, sizeof(buf), fdmesg)) { @@ -595,7 +495,7 @@ TEST_F(ve_printk, ve0_log) fdmesg = open_dmesg(); ASSERT_NE(fdmesg, NULL); - ret = run_vzct(self->cgv2_path, self->ctid, TEST_LOGV0); + ret = run_vzct(self->cgv2_fd, self->ctid, TEST_LOGV0); ASSERT_EQ(ret, 0); while (fgets(buf, sizeof(buf), fdmesg)) { @@ -631,7 +531,7 @@ TEST_F(ve_printk, ve_log_both) fdmesg = open_dmesg(); ASSERT_NE(fdmesg, NULL); - ret = run_vzct(self->cgv2_path, self->ctid, TEST_LOGBOTH); + ret = run_vzct(self->cgv2_fd, self->ctid, TEST_LOGBOTH); ASSERT_EQ(ret, 0); while (fgets(buf, sizeof(buf), fdmesg)) { @@ -667,7 +567,7 @@ TEST_F(ve_printk, ve_printk_ratelimited) fdmesg = open_dmesg(); ASSERT_NE(fdmesg, NULL); - ret = run_vzct(self->cgv2_path, self->ctid, TEST_PR_RATELIMIT); + ret = run_vzct(self->cgv2_fd, self->ctid, TEST_PR_RATELIMIT); ASSERT_EQ(ret, 0); while (fgets(buf, sizeof(buf), fdmesg)) { @@ -693,7 +593,7 @@ TEST_F(ve_printk, ve_printk_overflow) ASSERT_EQ(set_param("/proc/sys/debug/exception-trace", 1, &ex_trace), 0); - ret = run_vzct(self->cgv2_path, self->ctid, TEST_OVERFLOW); + ret = run_vzct(self->cgv2_fd, self->ctid, TEST_OVERFLOW); ASSERT_EQ(ret, 0); restore_param("/proc/sys/debug/exception-trace", ex_trace); diff --git a/tools/testing/selftests/ve_printk/.gitignore b/tools/testing/selftests/ve_printk/.gitignore deleted file mode 100644 index a4ad6620b803..000000000000 --- a/tools/testing/selftests/ve_printk/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -ve_printk_test -test_segf -test_trap diff --git a/tools/testing/selftests/ve_printk/Makefile b/tools/testing/selftests/ve_printk/Makefile deleted file mode 100644 index e3edcbacda1e..000000000000 --- a/tools/testing/selftests/ve_printk/Makefile +++ /dev/null @@ -1,8 +0,0 @@ -# SPDX-License-Identifier: GPL-2.0 -# Makefile for ve_printk selftests. -CFLAGS = -g -I../../../../usr/include/ -Wall -O2 - -TEST_GEN_PROGS += ve_printk_test -TEST_GEN_FILES += test_segf test_trap - -include ../lib.mk -- 2.47.3 _______________________________________________ Devel mailing list Devel@openvz.org https://lists.openvz.org/mailman/listinfo/devel