1
0
mirror of https://gitlab.alpinelinux.org/alpine/cloud/tiny-cloud.git synced 2025-12-14 19:02:45 +03:00

... ... ...

This commit is contained in:
Jake Buchholz Göktürk 2025-12-07 07:48:17 -08:00
parent 6e16b2a614
commit 5c7fbfedde

View File

@ -194,7 +194,6 @@ set_ssh_keys_gcp_body() {
fake_bin getent <<-EOF
#!/bin/sh
echo "alpine:x:1000:1000:Linux User,,,:/home/alpine:/bin/sh"
echo "foo:x:1001:1001:Other Linux User,,,:/home/foo:/bin/sh"
EOF
fake_metadata_gcp <<-EOF
project:
@ -211,7 +210,7 @@ set_ssh_keys_gcp_body() {
EOF
# TODO: need to figure out what to check
CLOUD="gcp" atf_check \
-o match:"chown.*/\.ssh" \
-o match:"installed ssh" \
sh -c "set -x; . \"$lib\"; init__set_ssh_keys"
atf_check -o match:"^ssh-ed25519 keydata" \
-o match:"^ssh-rsa foobar" \