mirror of
https://github.com/systemd/systemd
synced 2024-09-30 05:15:19 +00:00
test: add some superficial integration tests
This commit is contained in:
parent
26b455d815
commit
f2b10bebb6
|
@ -222,3 +222,6 @@ done
|
|||
(! machinectl read-only container1 "")
|
||||
(! machinectl read-only container1 foo)
|
||||
(! machinectl read-only container1 -- -1)
|
||||
|
||||
varlinkctl --more call /run/systemd/machine/io.systemd.Machine io.systemd.Machine.List '{}'
|
||||
varlinkctl call /run/systemd/machine/io.systemd.Machine io.systemd.Machine.List '{"name":".host"}'
|
||||
|
|
|
@ -53,6 +53,7 @@ mkdir -p /usr/share/empty.sshd /var/empty /var/empty/sshd /run/sshd
|
|||
|
||||
ssh -o StrictHostKeyChecking=no -v -i "$ROOTID" .host cat /etc/machine-id | cmp - /etc/machine-id
|
||||
ssh -o StrictHostKeyChecking=no -v -i "$ROOTID" unix/run/ssh-unix-local/socket cat /etc/machine-id | cmp - /etc/machine-id
|
||||
ssh -o StrictHostKeyChecking=no -v -i "$ROOTID" machine/.host cat /etc/machine-id | cmp - /etc/machine-id
|
||||
|
||||
modprobe vsock_loopback ||:
|
||||
if test -e /dev/vsock -a -d /sys/module/vsock_loopback ; then
|
||||
|
|
Loading…
Reference in a new issue