From 683a1433966d8d57e341a7761e3c2c816e2ce2f0 Mon Sep 17 00:00:00 2001 From: Tie Liu Date: Wed, 21 Jun 2023 10:34:58 +0800 Subject: [PATCH] add test_config for auto read lib --- tests/test_config/Makefile | 3 ++- tests/test_config/app3.toml | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 tests/test_config/app3.toml diff --git a/tests/test_config/Makefile b/tests/test_config/Makefile index eaa8704..3c82f34 100644 --- a/tests/test_config/Makefile +++ b/tests/test_config/Makefile @@ -6,7 +6,8 @@ all: test test: clear + rm -rf /etc/sysboost.d mkdir -p /etc/sysboost.d - cp -f app1.toml app2.toml bash.toml /etc/sysboost.d/ + cp -f app1.toml app2.toml app3.toml bash.toml /etc/sysboost.d/ @echo ====== $(SYSBOOSTD) diff --git a/tests/test_config/app3.toml b/tests/test_config/app3.toml new file mode 100644 index 0000000..f60391c --- /dev/null +++ b/tests/test_config/app3.toml @@ -0,0 +1,4 @@ +elf_path = "/usr/bin/app1" +mode = "static" +libs = "/usr/lib64/lib1.so /usr/lib64/lib2.so /usr/lib64/lib3.so" +PATH = "/usr/lib64:/usr/bin" \ No newline at end of file -- Gitee