Luca Boccassi
3ac19d384d
Merge pull request #33809 from YHNdnzj/pidref-namespace
...
namespace-util: introduce pidref_namespace_open() and use it where appropriate; clean up mount-util a bit along the way
2024-07-23 23:03:26 +01:00
Luca Boccassi
8da8d6ce30
Merge pull request #33535 from neighbourhoodie/tests/dns-cache
...
Tests for DnsCache functions
2024-07-23 19:01:23 +01:00
Luca Boccassi
5aaf33ec96
Merge pull request #33534 from neighbourhoodie/tests/dns-query
...
Tests for DnsQuery functions
2024-07-23 18:47:14 +01:00
Mike Yuan
e633e8627f
mount-util: reorder params for mount_in_userspace, clean up logging
2024-07-23 19:31:32 +02:00
Mike Yuan
974e34a018
mount-util: do not unnecessarily acquire mountns fd twice
...
This also enables us to use pidref_namespace_open().
2024-07-23 19:30:55 +02:00
Mike Yuan
706302897a
mount-util: clean up mount_exchange_graceful a bit, don't duplicate move_mount when fallback
2024-07-23 19:30:55 +02:00
Mike Yuan
ca13d3fc19
machine-dbus: use pidref_namespace_open() where appropriate
2024-07-23 19:30:55 +02:00
Mike Yuan
86a3c1fd95
namespace-util: introduce pidref_namespace_open()
2024-07-23 19:30:54 +02:00
Mike Yuan
30957ced45
namespace-util: explicitly specify namespace_info[]'s size
...
We do this already in all string lookup tables. This way
it's guaranteed that iterators which ends with _NAMESPACE_TYPE_MAX
wouldn't overrun the array.
2024-07-23 19:30:54 +02:00
Mike Yuan
7973f33e81
core: clean up Set/LoadCredential= parsers
...
Make logging consistent, plus introduce helper function
for adding creds to ExecContext.set_credential too.
2024-07-23 15:53:38 +01:00
Daan De Meyer
fffbfb4ed1
mkosi: Bump device timeout even more
...
I still manage to hit it in some cases so let's bump again.
2024-07-23 15:49:37 +01:00
Luca Boccassi
d111d76844
Merge pull request #33533 from neighbourhoodie/tests/dns-synthesize
2024-07-23 15:44:40 +01:00
James Coglan
5301548fbb
resolved: tests for dns_synthesize_family() and dns_synthesize_protocol()
2024-07-23 15:44:07 +01:00
James Coglan
6fd7fc92cf
resolved: tests for dns_synthesize_answer()
2024-07-23 15:44:07 +01:00
Mary Strodl
c73883143a
sd-dhcp-server: persist hardware addresses in leases
2024-07-23 14:55:48 +01:00
James Coglan
538a3dc298
resolved: tests for dns_query_string()
2024-07-23 14:17:23 +01:00
James Coglan
c080825f14
resolved: tests for dns_query_go(); multiple search domains for dns_query_candidate_notify()
2024-07-23 14:17:23 +01:00
James Coglan
0a547aea96
resolved: refactor environment management in dns_query_go() tests
2024-07-23 14:17:23 +01:00
James Coglan
8501f44563
resolved: tests for dns_query_go() when configured with search domains
2024-07-23 14:17:23 +01:00
James Coglan
cc3bad9d70
resolved: tests for dns_query_go() when no scopes are available
2024-07-23 14:17:23 +01:00
James Coglan
5d5f86431f
resolved: tests for dns_query_go() using a bypass query
2024-07-23 14:17:23 +01:00
James Coglan
16078b8172
resolved: tests for dns_query_go() -- with and without network link
2024-07-23 14:17:23 +01:00
James Coglan
7d5ad4f88e
resolved: tests for dns_query_process_cname_one(); no match, DNAME, utf-8 handling
2024-07-23 14:17:23 +01:00
James Coglan
9add77fafb
resolved: tests for dns_query_process_cname_many()
2024-07-23 14:17:23 +01:00
James Coglan
47eb7e0bf2
resolved: tests for common usage of dns_query_process_cname_one()
2024-07-23 14:17:23 +01:00
James Coglan
e5d246b488
resolved: tests for dns_query_make_auxiliary()
2024-07-23 14:17:22 +01:00
James Coglan
792a738625
resolved: tests for dns_query_new()
2024-07-23 14:17:21 +01:00
James Coglan
f5dd610978
resolved: tests for dns_cache_lookup() clamping the TTL
2024-07-23 14:08:31 +01:00
James Coglan
1074c9001d
resolved: tests for dns_cache_put() for NXDOMAIN with no SOA
2024-07-23 14:08:31 +01:00
James Coglan
6b864ea813
resolved: test that pseudo classes and types are not cached
2024-07-23 14:08:31 +01:00
James Coglan
7137086fa0
resolves: tests for dns_cache_prune()
2024-07-23 14:08:31 +01:00
James Coglan
3f6ae4a062
resolved: tests for dns_cache_check_conflicts()
2024-07-23 14:08:31 +01:00
James Coglan
42547022fd
resolved: tests for dns_cache_export_shared_to_packet()
2024-07-23 14:08:31 +01:00
James Coglan
5b61b34ad0
resolved: tests for dns_cache_lookup(); mDNS and multiple matching entries
2024-07-23 14:08:31 +01:00
James Coglan
043a29b139
resolved: tests for dns_cache_lookup() returning the most recent input
2024-07-23 14:08:31 +01:00
James Coglan
6dd377ad70
resolved: tests for dns_cache_dump()
2024-07-23 14:08:31 +01:00
James Coglan
e936ec5e4f
resolved: test cache misses
2024-07-23 14:08:31 +01:00
James Coglan
25ef0fc7c8
resolved: tests for dns_cache_lookup() for NXDOMAIN
2024-07-23 14:08:31 +01:00
James Coglan
76f832a4f6
resolved: first test for dns_cache_lookup()
2024-07-23 14:08:31 +01:00
James Coglan
f8da0642f3
resolved: tests for dns_cache_dump_to_json()
2024-07-23 14:08:31 +01:00
James Coglan
2bec28864a
resolved: check that adding an expired response removes cache entry
2024-07-23 14:08:31 +01:00
James Coglan
186184ad14
resolved: tests for dns_cache_put(); CNAME success and name error
2024-07-23 14:08:31 +01:00
James Coglan
f44ed739f1
resolved: tests for dns_cache_put() with non-matching class, type, name
2024-07-23 14:08:31 +01:00
James Coglan
bbcd3bc381
resolved: refactor DNS answer construction for cache tests
2024-07-23 14:08:31 +01:00
James Coglan
4f4c06f02d
resolved: test for dns_cache_put() with empty answer
2024-07-23 14:08:31 +01:00
James Coglan
c5df8d53a9
resolved: tests for dns_cache_put() with different RCODEs
2024-07-23 14:08:31 +01:00
James Coglan and
29c15d9d7b
resolved: tests for dns_cache_put(); successful A query
...
Co-Authored-By: jan@neighbourhood.ie
2024-07-23 14:08:29 +01:00
Luca Boccassi
ae2bf016bc
Merge pull request #33531 from neighbourhoodie/tests/dns-zone
2024-07-23 13:29:03 +01:00
James Coglan
4d3936ad2d
resolved: tests for dns_zone_lookup()
2024-07-23 13:28:34 +01:00
James Coglan
330d5c8a36
resolved: tests for dns_zone_remove_rrs_by_key()
2024-07-23 13:28:34 +01:00