1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-04 13:51:24 +03:00
systemd/src/test
Zbigniew Jędrzejewski-Szmek 108ccae9e1 test-alloc-util: add casts to bools from p ointers
C++03: "An rvalue of arithmetic, enumeration, pointer, or pointer to member
type can be converted to an rvalue of type bool. A zero value, null pointer
value, or null member pointer value is converted to false; any other value is
converted to true"

C should behave the same because pointers are scalars in C, but let's verify
that.
2018-06-13 10:52:40 +02:00
..
generate-sym-test.py
meson.build
test-acl-util.c
test-af-list.c
test-alloc-util.c test-alloc-util: add casts to bools from p ointers 2018-06-13 10:52:40 +02:00
test-architecture.c
test-arphrd-list.c
test-ask-password-api.c
test-async.c
test-barrier.c
test-bitmap.c
test-boot-timestamps.c
test-bpf.c
test-btrfs.c
test-bus-util.c
test-calendarspec.c
test-cap-list.c
test-capability.c
test-cgroup-mask.c
test-cgroup-util.c
test-cgroup.c
test-clock.c
test-condition.c
test-conf-files.c
test-conf-parser.c
test-copy.c
test-cpu-set-util.c
test-daemon.c
test-date.c
test-device-nodes.c
test-dissect-image.c
test-dlopen.c
test-dns-domain.c
test-ellipsize.c
test-engine.c
test-env-util.c
test-escape.c
test-exec-util.c
test-execute.c
test-extract-word.c
test-fd-util.c
test-fdset.c
test-fileio.c
test-firewall-util.c
test-format-table.c
test-fs-util.c
test-fstab-util.c
test-gcrypt-util.c
test-glob-util.c
test-hash.c
test-hashmap-ordered.awk
test-hashmap-plain.c
test-hashmap.c
test-helper.c
test-helper.h
test-hexdecoct.c
test-hostname-util.c
test-hostname.c
test-id128.c
test-in-addr-util.c
test-install-root.c
test-install.c
test-io-util.c
test-ipcrm.c
test-job-type.c
test-journal-importer.c
test-libudev.c
test-list.c
test-locale-util.c
test-log.c
test-loopback.c
test-mount-util.c
test-namespace.c
test-netlink-manual.c
test-ns.c
test-nss.c
test-os-util.c
test-parse-util.c
test-path-lookup.c
test-path-util.c
test-path.c
test-prioq.c
test-proc-cmdline.c
test-process-util.c
test-procfs-util.c
test-random-util.c
test-ratelimit.c
test-replace-var.c
test-rlimit-util.c
test-sched-prio.c
test-seccomp.c
test-selinux.c
test-set.c
test-sigbus.c
test-signal-util.c
test-siphash24.c
test-sizeof.c
test-sleep.c
test-socket-util.c
test-specifier.c
test-stat-util.c
test-strbuf.c
test-string-util.c
test-strip-tab-ansi.c
test-strv.c
test-strxcpyx.c
test-systemd-tmpfiles.py
test-tables.c
test-terminal-util.c
test-time-util.c
test-tmpfiles.c
test-udev.c
test-uid-range.c
test-umount.c
test-unaligned.c
test-unit-file.c
test-unit-name.c
test-user-util.c
test-utf8.c
test-util.c
test-verbs.c
test-watch-pid.c
test-watchdog.c
test-web-util.c
test-xattr-util.c
test-xml.c