2 Commits
Author SHA1 Message Date
Brett T. Warden f9541b63ad Compare fetch test output with diff instead of cmp
...so we can see more clearly in the test logs what's different.
2022-11-04 10:40:55 -07:00
Brett T. Warden 1ac420e18b Add a fetch test
To improve package test capabilities, introduce a test target that will
attempt to fetch SSH keys and user data from a locally-spawned test
server. Add other bits in ucd-data-fetch.c to support testing.

Add fetch_test, which spawns an HTTP server to serve some sample
user-data and cloud-config files, and verify that ucd-data-fetch can
retrieve them.
2022-10-21 11:02:18 -07:00