Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds+github@gmail.com>2019-11-29 12:58:58 +0100
committerAnton Hvornum <anton.feeds+github@gmail.com>2019-11-29 12:58:58 +0100
commitd89bacdf9f187c1737439ccdef53254fc84749c5 (patch)
tree287a950f645200f9c7c41495852b75d2637bc008
parentc8f31bd344187d2d1b6c4249c6ce6b9ef28c9b63 (diff)
Adding tests to default, will change this to a test template later
-rw-r--r--deployments/default.json9
1 files changed, 9 insertions, 0 deletions
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" : "<STDIN>",
"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}
+ }
}
}