summaryrefslogtreecommitdiff
path: root/src/Run.hs
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2024-08-07 20:59:18 +0200
committerRoman Smrž <roman.smrz@seznam.cz>2024-08-07 21:51:10 +0200
commitdc2202f36f8ee220293cc6f230be604a19be8cbb (patch)
tree5201a7751ad655460d48d5e6456f8546179c25b5 /src/Run.hs
parent18ced99f826746a19aa6c0b351673d132f86421a (diff)
Replace first command (wait) with a builtin
Diffstat (limited to 'src/Run.hs')
-rw-r--r--src/Run.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Run.hs b/src/Run.hs
index a69ba75..2bee6ec 100644
--- a/src/Run.hs
+++ b/src/Run.hs
@@ -32,6 +32,7 @@ import Output
import Process
import Run.Monad
import Test
+import Test.Builtins
runTest :: Output -> TestOptions -> Test -> IO Bool
runTest out opts test = do
@@ -60,7 +61,7 @@ runTest out opts test = do
}
tstate = TestState
{ tsNetwork = error "network not initialized"
- , tsVars = []
+ , tsVars = builtins
, tsNodePacketLoss = M.empty
, tsDisconnectedUp = S.empty
, tsDisconnectedBridge = S.empty