summaryrefslogtreecommitdiff
path: root/test/script
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2025-06-02 19:50:40 +0200
committerRoman Smrž <roman.smrz@seznam.cz>2025-06-04 21:44:21 +0200
commit255e8baa916f9103dc703447474ca38ba118abe8 (patch)
tree3cd01833b36a6df6309bcfefee117b91d0992cc7 /test/script
parent23a5528e2b5a6008b3572a172e5f1671a13d28b8 (diff)
Replace 'ip netns exec' with direct setns syscallHEADmaster
Diffstat (limited to 'test/script')
-rw-r--r--test/script/run.et18
1 files changed, 18 insertions, 0 deletions
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/