diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-06-29 15:27:12 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-07-09 11:03:35 +0200 |
commit | e265fa819812409380712fbd70817bcd96f069c5 (patch) | |
tree | e076b5b4121228abad29612f87bf626daf916c94 /src/test/meson.build | |
parent | d0e18bb4b03884e4f5ec3ff4c6113ce6b7faab5e (diff) | |
download | systemd-e265fa819812409380712fbd70817bcd96f069c5.tar.gz |
test-ether-addr-util: add a simple test that HW_ADDR_TO_STR works with nesting
It seems to, but I was a bit incredulous… The comment is adjusted to match
the standard.
The trick with a temporary buffer is neat. I wasn't sure if it is valid, but
the standard says so. The test really tests that we are reading the rules right
and that the compiler doesn't do anythign strange or emit an unexpected
warning.
Diffstat (limited to 'src/test/meson.build')
-rw-r--r-- | src/test/meson.build | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/meson.build b/src/test/meson.build index e106059182..14725248ce 100644 --- a/src/test/meson.build +++ b/src/test/meson.build @@ -44,6 +44,8 @@ test_dlopen_c = files('test-dlopen.c') tests += [ [['src/test/test-device-nodes.c']], + [['src/test/test-ether-addr-util.c']], + [['src/test/test-engine.c'], [libcore, libshared], |