Skip to content
This repository was archived by the owner on Aug 7, 2025. It is now read-only.

Commit 7ab85be

Browse files
committed
Add tests for hostname fetch
Also tell git to ignore intermediate test data
1 parent 2de5b52 commit 7ab85be

3 files changed

Lines changed: 3 additions & 0 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ micro-config-drive-*/
2525
tests/Makefile
2626
tests/.libs/
2727
tests/*_test
28+
tests/test_user_data
2829
libtool
2930
ltmain.sh
3031
m4/

tests/fetch_data/expected

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ ssh_authorized_keys:
77
- SSH_TEST_KEY_STRING_2
88
- SSH_TEST_KEY_STRING_3
99

10+
hostname: myhostname
1011
#cloud-config
1112

1213
users:

tests/fetch_data/hostname

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
myhostname

0 commit comments

Comments
 (0)