1
0
mirror of https://gitlab.alpinelinux.org/alpine/cloud/tiny-cloud.git synced 2025-12-15 11:22:43 +03:00

* more test fixen?

This commit is contained in:
Jake Buchholz Göktürk 2023-05-13 14:40:03 -07:00
parent 6a95f31309
commit ede58b13d1
3 changed files with 3 additions and 2 deletions

View File

@ -76,6 +76,7 @@ save_userdata_plain_body() {
save_userdata_compressed_body() {
for comp in gzip bzip2 xz lzma lzop lz4 zstd; do
# fake_userdata_nocloud will set PATH so dont run it in a subshell
rm -f var/lib/cloud/user-data
printf "%s\n" "#userdata" | $comp -c > tmpfile
fake_userdata_nocloud < tmpfile

View File

@ -38,7 +38,7 @@ set_network_config_network_interfaces_body() {
atf_check \
-o match:"rc-update" \
-e match:"set_network_interfaces .*DONE" \
-e match:"set_network_interfaces .*done" \
tiny-cloud early
atf_check \
-o match:"auto eth1" \

View File

@ -70,7 +70,7 @@ no_userdata_final_body() {
for provider in $PROVIDERS; do
CLOUD="$provider" atf_check \
-e not-match:"unknown" \
-e match:"bootstrap marked complete \
-e match:"bootstrap marked complete" \
tiny-cloud final
CLOUD="$provider" atf_check \
-e match:"bootstrap marked incomplete" \