加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0005-Fix-compile-error-that-exec-checking-need-super-priv.patch 1.30 KB
一键复制 编辑 原始数据 按行查看 历史
From 2741964850168c618aa44f7976205b2ecff1953d Mon Sep 17 00:00:00 2001
From: lihaoxiang <lihaoxiang9@huawei.com>
Date: Fri, 24 Jun 2022 19:55:34 +0800
Subject: [PATCH] Fix compile error that exec checking need super privilege
remove case 18p,19p,21.p to avoid case failed, and remove case 8p and 10p to avoid raising build error that need super privilege
Signed-off-by: lihaoxiang <lihaoxiang9@huawei.com>
---
harness/Makefile | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/harness/Makefile b/harness/Makefile
index f477737..f46c4d1 100644
--- a/harness/Makefile
+++ b/harness/Makefile
@@ -1,7 +1,8 @@
# foo.
TEST_SRCS:=$(shell find cases/ -name \*.t | sort -n -t/ -k2)
-EXTRAPROGS:=cases/8.p cases/10.p
-PARTPROGS:=$(filter-out $(EXTRAPROGS), $(patsubst %.t,%.p,$(TEST_SRCS)))
+EXTRAPROGS:=cases/8.p cases/10.p
+EXCLUPROGS:=$(EXTRAPROGS) cases/18.p cases/19.p cases/21.p
+PARTPROGS:=$(filter-out $(EXCLUPROGS), $(patsubst %.t,%.p,$(TEST_SRCS)))
PROGS:=$(PARTPROGS) $(EXTRAPROGS)
HARNESS_SRCS:=main.c
# io_queue.c
@@ -53,4 +54,4 @@ extracheck: $(EXTRAPROGS) root testdir.ext2 testdir.enospc ext2.img
mount -o loop -t ext2 ext2.img testdir.ext2
./runtests.sh cases/8.p; ret=$$?; umount testdir.ext2; exit $$ret
-check: partcheck extracheck
+check: partcheck # extracheck
--
1.8.3.1
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化