aboutsummaryrefslogtreecommitdiff
path: root/tests/agent/testscript
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-04-10 13:16:11 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-04-10 13:16:11 +0200
commit810df40a0625835ad17a0a5bf3232a8d1a68e680 (patch)
tree1dc320fd821ce30a0a037b7fae151e1f027d0bbd /tests/agent/testscript
parent36e0c88e7a3912c8a2e6594841172adb9c14525b (diff)
Implement vm startup and shutdown
Diffstat (limited to 'tests/agent/testscript')
-rw-r--r--tests/agent/testscript26
1 files changed, 26 insertions, 0 deletions
diff --git a/tests/agent/testscript b/tests/agent/testscript
index fa465a4..55f9d7f 100644
--- a/tests/agent/testscript
+++ b/tests/agent/testscript
@@ -110,3 +110,29 @@ rm = $src_base/btrfs-rmdir /build/machines
-$rm
}
+
+#\
+: bootstrap
+:
+{
+ m = /build/machines/default/linux-gcc
+
+ test.options += --dump-machines
+
+ +$cp
+
+ ln -T -s linux-gcc-1.0 $m/linux-gcc-1
+
+ : bootstrap
+ :
+ $* 123 >>EOO 2>>EOE #2>>~"%EOE%d"
+ : 1
+ id: linux-gcc-1.0
+ name: linux-gcc
+ summary: Linux with GCC
+ EOO
+ EOE
+
+ -$rm
+}
+#\