From d89bacdf9f187c1737439ccdef53254fc84749c5 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Fri, 29 Nov 2019 12:58:58 +0100 Subject: Adding tests to default, will change this to a test template later --- deployments/default.json | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/deployments/default.json b/deployments/default.json index 5deded3e..95870c6c 100644 --- a/deployments/default.json +++ b/deployments/default.json @@ -2,5 +2,14 @@ "args" : { "password" : "", "post" : "reboot" + }, + "post" : { + "test exit codes" : { + "exit 1" : {"ignore_errors" : true}, + "echo 'test1'; read moo; echo 'test2'; read mooo" : {"events" : { + "test1" : "something", + "test2" : "something" + }, "boot" : true} + } } } -- cgit v1.2.3-54-g00ecf