From 42e67f4fa286f63456cba3cc4f0a08abc41a76ec Mon Sep 17 00:00:00 2001 From: Nathaniel Wesley Filardo Date: Thu, 31 Dec 2020 02:22:02 +0000 Subject: [PATCH] tests: preflight-dut scripting Will use this to set RCRs and such as part of the test environment run --- tests/preflight-dut.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 tests/preflight-dut.lua diff --git a/tests/preflight-dut.lua b/tests/preflight-dut.lua new file mode 100644 index 00000000..2c079fb6 --- /dev/null +++ b/tests/preflight-dut.lua @@ -0,0 +1,10 @@ +print("\nTAP: 1..1\n") + +-- On-DUT configuration of RCRs. +-- XXX NOT YET +-- node.startup{command = '!_init'} + +-- Do this in the future so the prompt from dofile gets emitted +tmr.create():alarm(1, tmr.ALARM_SINGLE, function() + print("\nTAP: ok 1 # preflight-dut completed\n") +end)