Commit Graph
75210 Commits
Author SHA1 Message Date
James Coglan 77018b2f47 resolved: tests for dns_resource_record_to_wire_format()
Note this function does not produce compressed domain names in the RDATA
when serializing the RR.
2024-07-23 12:44:35 +01:00
James Coglan f6d2ad95ed resolved: tests for dns_resource_record_to_string() 2024-07-23 12:44:35 +01:00
James Coglan 7b59f2ada4 resolved: tests for dns_resource_key_{to,from}_json()
This test doesn't check the generated JSON data in detail, it simply
tests that round-tripping an RR key through the JSON representation
preserves its data.
2024-07-23 12:44:35 +01:00
James Coglan 1500512f23 resolved: tests for dns_resource_record_clamp_ttl() 2024-07-23 12:44:35 +01:00
James Coglan bb9d1d63c1 resolved: tests for dns_resource_record_equal(); LOC records 2024-07-23 12:44:35 +01:00
James Coglan a5c24c8757 resolved: tests for dns_resource_record_equal(); SVCB records 2024-07-23 12:44:35 +01:00
James Coglan c6c48d58ea resolved: tests for dns_resource_record_equal(); RRSIG records 2024-07-23 12:44:35 +01:00
James Coglan f612780f66 resolved: tests for dns_resource_record_equal(); NAPTR records 2024-07-23 12:44:35 +01:00
James Coglan 2cf297c9aa resolved: tests for dns_resource_record_equal(); SRV records 2024-07-23 12:44:35 +01:00
James Coglan 14aa00427d resolved: tests for dns_resource_record_equal(); TXT records 2024-07-23 12:44:35 +01:00
James Coglan 54ea4112c1 resolved: tests for dns_resource_record_equal(); DNAME records 2024-07-23 12:44:35 +01:00
James Coglan b6e12ea7a4 resolved: tests for dns_resource_record_equal(); MX records 2024-07-23 12:44:35 +01:00
James Coglan 4c2d48ef72 resolved: tests for dns_resource_record_equal(); HINFO records 2024-07-23 12:44:35 +01:00
James Coglan 392dd81098 resolved: tests for dns_resource_record_equal(); PTR records 2024-07-23 12:44:35 +01:00
James Coglan dd470cd0f8 resolved: tests for dns_resource_record_equal(); SOA records 2024-07-23 12:44:35 +01:00
James Coglan 55b18acf51 resolved: tests for dns_resource_record_equal(); CNAME records 2024-07-23 12:44:35 +01:00
James Coglan 3f4a63c6d3 resolved: tests for dns_resource_record_equal(); NS records 2024-07-23 12:44:35 +01:00
James Coglan b914cda4a9 resolved: tests for dns_resource_record_equal(); A and AAAA records 2024-07-23 12:44:35 +01:00
James Coglan 60ebacc5d4 resolved: tests for dns_resource_record_equal(); general cases
These tests cover comparisons between RR objects that are not class- or
type-specific, i.e. they don't check any of the RDATA fields.
2024-07-23 12:44:35 +01:00
James Coglan 43e32a2081 resolved: tests for dns_resource_record_new_address(), dns_resource_record_new_reverse() 2024-07-23 12:44:35 +01:00
James Coglan 6104ba9d42 resolved: tests for dns_resource_key_reduce() 2024-07-23 12:44:35 +01:00
James Coglan 5982caccd7 resolved: tests for dns_resource_key_to_string() 2024-07-23 12:44:35 +01:00
James Coglan 25e627704e resolved: tests for dns_resource_key_match_cname_or_dname(), dns_resource_key_match_soa() 2024-07-23 12:44:35 +01:00
James Coglan e3970f6227 resolved: tests for dns_resource_key_equal() and dns_resource_key_match_rr() 2024-07-23 12:44:35 +01:00
James Coglan f1cc0c3a1d resolved: tests for dns_resource_key_is_{address, dnssd_ptr, dnssd_two_label_ptr} 2024-07-23 12:44:35 +01:00
James Coglan d2f786d824 resolved: tests for dns_resource_key_new_append_suffix() 2024-07-23 12:44:35 +01:00
James Coglan 123a99a06b resolved: tests for dns_resource_key_new() and dns_resource_key_new_redirect() 2024-07-23 12:44:35 +01:00
James Coglan 0a2ec21bd9 resolved: test for DNS_RESOURCE_RECORD_RDATA() 2024-07-23 12:44:34 +01:00
Luca Boccassi 99f1646540 Merge pull request #33524 from neighbourhoodie/tests/dns-packet
Tests for DNS packet parsing/serialising
2024-07-23 10:39:29 +01:00
Luca Boccassi ed86c1bf5f Merge pull request #33804 from keszybz/assorted-cleanups
Assorted cleanups
2024-07-23 10:38:08 +01:00
Luca Boccassi d47cd4d347 Merge pull request #33791 from YHNdnzj/sd-notify-pidref
core: pin notify sender through pidfd (potentially SCM_PIDFD) plus various cleanups
2024-07-23 10:36:57 +01:00
Daan De Meyer 076c69360f Merge pull request #33814 from AnoukCeyssens/daemon
test: use new assertion macros more
2024-07-23 07:23:55 +02:00
Anouk Ceyssens 32ef5f305f fix compilation errors 2024-07-22 23:57:00 +02:00
Anouk Ceyssens 364a0ba2d4 test-clock: use new assertion macros 2024-07-22 23:41:00 +02:00
Anouk Ceyssens a923ca6945 test-dev-setup: use new assertion macros 2024-07-22 23:40:21 +02:00
Anouk Ceyssens 5bc7ab7086 test-date: use new assertion macros 2024-07-22 23:33:40 +02:00
Anouk Ceyssens e07d3a917a test-daemon: use new assertion macros 2024-07-22 23:27:52 +02:00
Zbigniew Jędrzejewski-Szmek d202ea5754 man/systemd-repart: extend description and reword some sentences
The page was written when systemd-repart was primarily intended to be used on a
running system. But nowadays it's more often used to create images, so extend
that part of the description.

While at it, fix some whitespace issues and trim some overly complicated sentences.
2024-07-22 12:14:23 +01:00
Luca Boccassi 9547b25ce8 Merge pull request #33597 from keszybz/fetch-distro
Extend the distro fetching script to check the repository out
2024-07-22 11:46:43 +01:00
Steve Traylen 8af38e5b04 Document that MemorySwapMax supports % configuration
Certainly on systemd 252 at least a configuration of
```
MemorySwapMax=40%
```
is supported but this was missing from the man page.
Only MemoryMax was documented as supporting a %.
2024-07-22 11:39:33 +01:00
Franck Bui 8c28dd2442 core: when switching root remove /run/systemd before executing the binary specified by init=
It's important if the binary specified by the init= boot option is not systemd
otherwise it confuses systemctl that incorrectly assumes that systemd is still
the init system due to the presence of /run/systemd/system.

Also some tools might also check the presence of /run/systemd/private to test
if systemd is running as pid1.
2024-07-22 11:29:08 +01:00
Daan De Meyer 944faf6598 Make vcs-tag do something useful for non-developer mode as well
When building packages of arbitrary commits of systemd-stable,
distributors might want to include a git sha of the exact commit
they're on. Let's extend vcs-tag a little to make this possible.

If we're on a commit matching a tag, don't generate a git sha at all.
If we're not on a commit matching a tag, generate a vcs tag as usually.
However, if we're not in developer mode, don't append a '^' if the tree
is dirty to accomodate package builds applying various patches to the
tree which shouldn't be considered as "dirty" edits.
2024-07-22 12:04:40 +02:00
James Coglan ce9b6819d6 resolved: tests for dns_packet_dup() 2024-07-22 10:48:52 +01:00
Zbigniew Jędrzejewski-Szmek df5b65e15d shared/exec-util: add macro to autoinsert sentinel for fork_agent() 2024-07-22 11:48:26 +02:00
Zbigniew Jędrzejewski-Szmek 52031044bf repart: use new style for pointers in function signatures 2024-07-22 11:48:26 +02:00
Zbigniew Jędrzejewski-Szmek 262fa6864b selinux-util: add missing char in comment 2024-07-22 11:48:26 +02:00
James Coglan d6f1f962fe resolved: tests for dns_packet_patch_max_udp_size() 2024-07-22 10:47:59 +01:00
James Coglan b81b8faa43 resolved: tests for dns_packet_append_answer(); LOC records 2024-07-22 10:47:25 +01:00
James Coglan 346b0d3b18 resolved: tests for dns_packet_append_answer(); TXT records 2024-07-22 10:46:40 +01:00
James Coglan 053ec2c5a2 resolved: tests for dns_packet_append_answer(); NAPTR records 2024-07-22 10:45:34 +01:00