aboutsummaryrefslogtreecommitdiff
path: root/unit-tests/machine-manifest/testscript
diff options
context:
space:
mode:
Diffstat (limited to 'unit-tests/machine-manifest/testscript')
-rw-r--r--unit-tests/machine-manifest/testscript45
1 files changed, 45 insertions, 0 deletions
diff --git a/unit-tests/machine-manifest/testscript b/unit-tests/machine-manifest/testscript
index 66dedc6..e264b41 100644
--- a/unit-tests/machine-manifest/testscript
+++ b/unit-tests/machine-manifest/testscript
@@ -22,6 +22,38 @@
options: -device "virtio-scsi-pci,id=scsi" -device "scsi-hd,drive=disk0"
EOF
+ : multi-line-options
+ :
+ $* <<EOI >>EOO
+ : 1
+ id: a2b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
+ name: windows_10-msvc_14
+ summary: Windows 10 build 1607 with VC 14 update 3
+ type: kvm
+ options: \
+ -device "virtio-scsi-pci,id=scsi"
+ -device "scsi-hd,drive=disk0"
+ \
+ EOI
+ : 1
+ id: a2b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
+ name: windows_10-msvc_14
+ summary: Windows 10 build 1607 with VC 14 update 3
+ type: kvm
+ options: -device "virtio-scsi-pci,id=scsi" -device "scsi-hd,drive=disk0"
+ EOO
+
+ : no-mac
+ :
+ $* <<EOF >>EOF
+ : 1
+ id: a2b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
+ name: windows_10-msvc_14
+ summary: Windows 10 build 1607 with VC 14 update 3
+ type: nspawn
+ options: -device "virtio-scsi-pci,id=scsi" -device "scsi-hd,drive=disk0"
+ EOF
+
: no-options
:
$* <<EOF >>EOF
@@ -106,6 +138,19 @@
summary: Windows 10 build 1607 with VC 14 update 3
options: -device "virtio-scsi-pci,id=scsi
EOI
+
+ : unquoted-multi-line
+ :
+ $* <<EOI 2>'stdin:7:29: error: invalid machine options: unterminated quoted string' == 1
+ : 1
+ id: a2b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
+ name: windows_10-msvc_14
+ summary: Windows 10 build 1607 with VC 14 update 3
+ options: \
+ -device "virtio-scsi-pci,id=scsi"
+ -device "scsi-hd,drive=disk0
+ \
+ EOI
}
}