diff options
author | Roman Smrž <roman.smrz@seznam.cz> | 2025-06-02 19:50:40 +0200 |
---|---|---|
committer | Roman Smrž <roman.smrz@seznam.cz> | 2025-06-04 21:44:21 +0200 |
commit | 255e8baa916f9103dc703447474ca38ba118abe8 (patch) | |
tree | 3cd01833b36a6df6309bcfefee117b91d0992cc7 /test/script | |
parent | 23a5528e2b5a6008b3572a172e5f1671a13d28b8 (diff) |
Diffstat (limited to 'test/script')
-rw-r--r-- | test/script/run.et | 18 |
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/ |