From 255e8baa916f9103dc703447474ca38ba118abe8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Smr=C5=BE?= Date: Mon, 2 Jun 2025 19:50:40 +0200 Subject: Replace 'ip netns exec' with direct setns syscall --- test/script/run.et | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'test/script') diff --git a/test/script/run.et b/test/script/run.et index 103a3e1..973a786 100644 --- a/test/script/run.et +++ b/test/script/run.et @@ -45,3 +45,21 @@ test RunConfig: expect /match p abcdef/ expect /run-test-result ExpectEcho done/ expect /run-all-done/ + + +test GetSysInfo: + node n + shell on n: + cp ${scripts.path}/erebos-tester.yaml . + mkdir tools + cp ${scripts.path}/tools/sysinfo.sh ./tools/tool + mkdir scripts + cp ${scripts.path}/sysinfo.et ./scripts/ + + spawn as p on n + + with p: + send "load-config" + expect /load-config-done/ + send "run SysInfo" + expect /run-done/ -- cgit v1.2.3