[ 0s] on X86_64, no limit mem size [ 0s] Using BUILD_ROOT=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.aarch64.2 [ 0s] Using BUILD_ARCH=aarch64:noarch [ 0s] [ 0s] [ 0s] ip-192-168-56-158 started "build linux-tizen-modules-source.spec" at Mon Sep 1 08:40:30 UTC 2025. [ 0s] [ 0s] [ 0s] processing recipe /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/sources/tizen_unified_x_asan_standard/linux-tizen-modules-source-7.5.1-0/linux-tizen-modules-source.spec ... [ 0s] init_buildsystem --configdir /usr/lib/build/configs --cachedir /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache --define jobs 8 --define _smp_mflags -j8 --repository /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/repos/tizen_unified_x_asan_standard/aarch64/RPMS --repository http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/ --repository http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/debug/ --clean --nocumulate /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/sources/tizen_unified_x_asan_standard/linux-tizen-modules-source-7.5.1-0/linux-tizen-modules-source.spec build ... [ 0s] initializing /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.aarch64.2/.srcfiles.cache ... [ 0s] /usr/lib/build/createdirdeps --oldfile /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.aarch64.2/.srcfiles.cache /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/repos/tizen_unified_x_asan_standard/aarch64/RPMS [ 0s] /usr/lib/build/createrepomddeps --cachedir=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/ [ 0s] /usr/lib/build/createrepomddeps --cachedir=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/debug/ [ 1s] expanding package dependencies... [ 1s] copying qemu [ 1s] /usr/bin/qemu-arm-binfmt /usr/bin/qemu-arm-static /usr/bin/qemu-arm64-binfmt /usr/bin/qemu-arm64-static /usr/sbin/qemu-binfmt-conf.sh [ 1s] [ 1s] registering binfmt handlers for cross build [ 1s] calculating packages to download... [ 1s] [1/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/asan-build-env-14.2.0-1.17.aarch64.rpm ... [ 2s] [2/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/asan-force-options-14.2.0-1.17.aarch64.rpm ... [ 2s] [3/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/asan-runtime-env-14.2.0-1.17.aarch64.rpm ... [ 2s] [4/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/noarch/autoconf-2.71-1.24.noarch.rpm ... [ 2s] [5/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/noarch/automake-1.16.5-1.21.noarch.rpm ... [ 2s] [6/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/bash-3.2.57-1.1.aarch64.rpm ... [ 2s] [7/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/binutils-2.43-1.22.aarch64.rpm ... [ 3s] [8/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/binutils-libs-2.43-1.22.aarch64.rpm ... [ 3s] [9/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/noarch/build-20120927-1.1.noarch.rpm ... [ 3s] [10/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/noarch/build-compare-2023.06.18-1.8.noarch.rpm ... [ 3s] [11/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/noarch/build-mkbaselibs-20120927-1.1.noarch.rpm ... [ 3s] [12/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/bzip2-1.0.8-1.19.aarch64.rpm ... [ 3s] [13/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/coreutils-6.9-14.7.aarch64.rpm ... [ 4s] [14/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/cpio-2.8-1.2.aarch64.rpm ... [ 4s] [15/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/cpp-14.2.0-4.1.aarch64.rpm ... [ 4s] [16/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/diffutils-3.10-1.1.aarch64.rpm ... [ 4s] [17/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/elfutils-0.189-1.23.aarch64.rpm ... [ 5s] [18/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/file-5.45-1.17.aarch64.rpm ... [ 5s] [19/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/filesystem-3.1-1.1.aarch64.rpm ... [ 5s] [20/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/findutils-4.3.8-1.19.aarch64.rpm ... [ 5s] [21/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/gawk-3.1.5-1.1.aarch64.rpm ... [ 6s] [22/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/gcc-14.2.0-4.1.aarch64.rpm ... [ 10s] [23/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/gcc-c++-14.2.0-4.1.aarch64.rpm ... [ 11s] [24/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/gdbm-1.8.3-1.24.aarch64.rpm ... [ 11s] [25/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/glibc-2.40-2.3.aarch64.rpm ... [ 11s] [26/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/glibc-devel-2.40-2.3.aarch64.rpm ... [ 11s] [27/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/glibc-locale-2.40-2.3.aarch64.rpm ... [ 12s] [28/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/grep-2.5.2-1.16.aarch64.rpm ... [ 12s] [29/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/gzip-1.3.12-1.12.aarch64.rpm ... [ 12s] [30/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/hal-rootstrap-checker-0.1.1-1.1.aarch64.rpm ... [ 12s] [31/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/hostname-3.23-1.2.aarch64.rpm ... [ 12s] [32/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/less-668-1.1.aarch64.rpm ... [ 12s] [33/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/libacl-2.3.2-1.19.aarch64.rpm ... [ 12s] [34/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/libarchive-3.8.1-1.13.aarch64.rpm ... [ 13s] [35/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/libasan-14.2.0-4.1.aarch64.rpm ... [ 13s] [36/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/libasm-0.189-1.23.aarch64.rpm ... [ 13s] [37/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/libatomic-14.2.0-4.1.aarch64.rpm ... [ 13s] [38/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/libattr-2.5.1-1.19.aarch64.rpm ... [ 13s] [39/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/libblkid-2.39.3-1.14.aarch64.rpm ... [ 13s] [40/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/libbz2-1.0.8-1.19.aarch64.rpm ... [ 14s] [41/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/libcap-2.73-1.17.aarch64.rpm ... [ 14s] [42/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/libcap-devel-2.73-1.17.aarch64.rpm ... [ 14s] [43/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/libcc1-14.2.0-4.1.aarch64.rpm ... [ 14s] [44/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/libdw-0.189-1.23.aarch64.rpm ... [ 14s] [45/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/libelf-0.189-1.23.aarch64.rpm ... [ 14s] [46/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/libfdisk-2.39.3-1.14.aarch64.rpm ... [ 15s] [47/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/libfreebl3-3.109-1.21.aarch64.rpm ... [ 15s] [48/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/libgcc-14.2.0-4.1.aarch64.rpm ... [ 15s] [49/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/libgfortran-14.2.0-4.1.aarch64.rpm ... [ 15s] [50/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/libgomp-14.2.0-4.1.aarch64.rpm ... [ 15s] [51/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/libhwasan-14.2.0-4.1.aarch64.rpm ... [ 15s] [52/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/libitm-14.2.0-4.1.aarch64.rpm ... [ 16s] [53/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/libltdl-2.4.7-1.22.aarch64.rpm ... [ 16s] [54/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/liblua-5.1.5-1.17.aarch64.rpm ... [ 16s] [55/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/liblzma-5.6.3-1.23.aarch64.rpm ... [ 16s] [56/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/libmagic-5.45-1.17.aarch64.rpm ... [ 16s] [57/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/libmagic-data-5.45-1.17.aarch64.rpm ... [ 16s] [58/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/libmount-2.39.3-1.14.aarch64.rpm ... [ 17s] [59/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/libncurses-6.4-1.24.aarch64.rpm ... [ 17s] [60/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/libncurses6-6.4-1.24.aarch64.rpm ... [ 17s] [61/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/libopenssl3-3.0.16-1.13.aarch64.rpm ... [ 17s] [62/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/libpcre-8.45-1.19.aarch64.rpm ... [ 17s] [63/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/libpopt-1.16-1.16.aarch64.rpm ... [ 17s] [64/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/libreadline-5.2-1.19.aarch64.rpm ... [ 18s] [65/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/libsmack-1.3.1-1.16.aarch64.rpm ... [ 18s] [66/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/libsmartcols-2.39.3-1.14.aarch64.rpm ... [ 18s] [67/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/libsoftokn3-3.109-1.21.aarch64.rpm ... [ 18s] [68/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/libsqlite-3.50.2-1.7.aarch64.rpm ... [ 18s] [69/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/libstdc++-14.2.0-4.1.aarch64.rpm ... [ 18s] [70/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/libstdc++-devel-14.2.0-4.1.aarch64.rpm ... [ 19s] [71/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/libtool-2.4.7-1.22.aarch64.rpm ... [ 19s] [72/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/libubsan-14.2.0-4.1.aarch64.rpm ... [ 19s] [73/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/libuuid-2.39.3-1.14.aarch64.rpm ... [ 19s] [74/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/libxcrypt-4.4.36-1.21.aarch64.rpm ... [ 19s] [75/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/libxcrypt-devel-4.4.36-1.21.aarch64.rpm ... [ 19s] [76/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/libxml2-2.13.5-1.18.aarch64.rpm ... [ 20s] [77/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/libzstd1-1.5.6-1.16.aarch64.rpm ... [ 20s] [78/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/linux-glibc-devel-6.6-1.22.aarch64.rpm ... [ 20s] [79/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/m4-1.4.19-1.1.aarch64.rpm ... [ 20s] [80/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/make-4.4.1-1.17.aarch64.rpm ... [ 20s] [81/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/net-tools-2.0_20121208git-1.17.aarch64.rpm ... [ 21s] [82/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/nspr-4.36-1.17.aarch64.rpm ... [ 21s] [83/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/nss-3.109-1.21.aarch64.rpm ... [ 21s] [84/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/nss-certs-3.109-1.21.aarch64.rpm ... [ 21s] [85/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/pam-1.1.6-1.15.aarch64.rpm ... [ 21s] [86/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/patch-2.7.6-1.16.aarch64.rpm ... [ 21s] [87/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/perl-5.38.0-1.18.aarch64.rpm ... [ 24s] [88/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/pkg-config-0.29.2-1.22.aarch64.rpm ... [ 24s] [89/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/qemu-accel-x86_64-aarch64-0.4-1.7.aarch64.rpm ... [ 43s] [90/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/qemu-linux-user-x86_64-cross-9.2.3-1.7.aarch64.rpm ... [ 43s] [91/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/rpm-4.14.1.1-1.21.aarch64.rpm ... [ 43s] [92/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/rpm-build-4.14.1.1-1.21.aarch64.rpm ... [ 44s] [93/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/sed-4.1c-1.17.aarch64.rpm ... [ 44s] [94/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/setup-0.9-1.7.aarch64.rpm ... [ 44s] [95/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/smack-1.3.1-1.16.aarch64.rpm ... [ 44s] [96/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/tar-1.17-1.1.aarch64.rpm ... [ 44s] [97/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/terminfo-base-full-6.4-1.24.aarch64.rpm ... [ 45s] [98/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/tzdata-2024b-1.1.aarch64.rpm ... [ 45s] [99/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/update-alternatives-1.22.2-1.1.aarch64.rpm ... [ 45s] [100/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/util-linux-2.39.3-1.14.aarch64.rpm ... [ 45s] [101/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/util-linux-su-2.39.3-1.14.aarch64.rpm ... [ 45s] [102/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/which-2.17-1.2.aarch64.rpm ... [ 46s] [103/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/xz-5.6.3-1.23.aarch64.rpm ... [ 46s] [104/104] downloading http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-X-ASAN/reference/repos/standard/packages/aarch64/zlib-1.3.1-1.23.aarch64.rpm ... [ 46s] [ 46s] cycle: nss -> libsoftokn3 [ 46s] breaking dependency nss -> libsoftokn3 [ 46s] [1/47] preinstalling libmagic-data... [ 47s] [2/47] preinstalling libncurses... [ 47s] [3/47] preinstalling setup... [ 47s] [4/47] preinstalling filesystem... [ 47s] [5/47] preinstalling glibc... [ 47s] [6/47] preinstalling libgcc... [ 47s] [7/47] preinstalling libstdc++... [ 47s] [8/47] preinstalling libasan... [ 47s] [9/47] preinstalling findutils... [ 47s] [10/47] preinstalling grep... [ 47s] [11/47] preinstalling libattr... [ 47s] [12/47] preinstalling libbz2... [ 47s] [13/47] preinstalling libcap... [ 47s] [14/47] preinstalling liblua... [ 47s] [15/47] preinstalling libpopt... [ 47s] [16/47] preinstalling libsmack... [ 47s] [17/47] preinstalling libuuid... [ 47s] [18/47] preinstalling libxcrypt... [ 47s] [19/47] preinstalling nspr... [ 48s] [20/47] preinstalling sed... [ 48s] [21/47] preinstalling zlib... [ 48s] [22/47] preinstalling bash... [ 48s] [23/47] preinstalling diffutils... [ 48s] [24/47] preinstalling libblkid... [ 48s] [25/47] preinstalling libfreebl3... [ 48s] [26/47] preinstalling liblzma... [ 48s] [27/47] preinstalling libreadline... [ 48s] [28/47] preinstalling libsqlite... [ 48s] [29/47] preinstalling libxml2... [ 48s] [30/47] preinstalling libzstd1... [ 48s] [31/47] preinstalling qemu-accel-x86_64-aarch64... [ 93s] [32/47] preinstalling qemu-linux-user-x86_64-cross... [ 96s] [33/47] preinstalling asan-build-env... [ 96s] [34/47] preinstalling libacl... [ 96s] [35/47] preinstalling libelf... [ 96s] [36/47] preinstalling smack... [ 96s] [37/47] preinstalling bzip2... [ 96s] [38/47] preinstalling coreutils... [ 97s] [39/47] preinstalling libmagic... [ 97s] [40/47] preinstalling libmount... [ 97s] [41/47] preinstalling tar... [ 97s] [42/47] preinstalling util-linux... [ 98s] [43/47] preinstalling util-linux-su... [ 98s] [44/47] preinstalling nss... [ 98s] [45/47] preinstalling libsoftokn3... [ 99s] [46/47] preinstalling rpm... [ 101s] [47/47] preinstalling asan-force-options... [ 101s] [ 101s] running qemu-linux-user-x86_64-cross postinstall script [ 102s] running qemu-accel-x86_64-aarch64 postinstall script [ 102s] mv: cannot stat `/usr/lib64/gcc/aarch64-tizen-linux-gnu/14.2.0/liblto_plugin.so': No such file or directory [ 102s] running setup postinstall script [ 102s] .init_b_cache/scripts/setup.post: line 1: syntax error near unexpected token `name' [ 102s] .init_b_cache/scripts/setup.post: line 1: `for i, name in ipairs({"passwd", "shadow", "group", "gshadow"}) do' [ 102s] running asan-build-env postinstall script [ 102s] running asan-force-options postinstall script [ 106s] initializing rpm db... [ 107s] reordering...cycle: bash -> glibc -> filesystem -> setup -> asan-runtime-env [ 107s] breaking dependency bash -> glibc [ 107s] cycle: bash -> libasan -> glibc -> filesystem -> setup -> asan-runtime-env [ 107s] breaking dependency libasan -> glibc [ 107s] cycle: bash -> libasan -> libgcc -> glibc -> filesystem -> setup -> asan-runtime-env [ 107s] breaking dependency asan-runtime-env -> bash [ 107s] cycle: bash -> libasan -> libgcc -> glibc -> filesystem -> setup -> asan-runtime-env -> coreutils [ 107s] breaking dependency coreutils -> bash [ 107s] cycle: glibc -> filesystem -> setup -> asan-runtime-env -> coreutils [ 107s] breaking dependency coreutils -> glibc [ 107s] cycle: libasan -> libgcc -> glibc -> filesystem -> setup -> asan-runtime-env -> coreutils [ 107s] breaking dependency libasan -> libgcc [ 107s] cycle: libasan -> libstdc++ -> glibc -> filesystem -> setup -> asan-runtime-env -> coreutils [ 107s] breaking dependency libstdc++ -> glibc [ 107s] cycle: libasan -> libstdc++ -> libgcc -> glibc -> filesystem -> setup -> asan-runtime-env -> coreutils [ 107s] breaking dependency coreutils -> libasan [ 107s] cycle: libgcc -> glibc -> filesystem -> setup -> asan-runtime-env -> coreutils [ 107s] breaking dependency asan-runtime-env -> coreutils [ 107s] cycle: libasan -> libstdc++ -> libgcc -> glibc -> filesystem -> setup -> asan-runtime-env [ 107s] breaking dependency setup -> asan-runtime-env [ 107s] cycle: glibc-devel -> libxcrypt-devel [ 107s] breaking dependency libxcrypt-devel -> glibc-devel [ 107s] cycle: nss -> libsoftokn3 [ 107s] breaking dependency nss -> libsoftokn3 [ 107s] reordering done [ 107s] [1/104] installing libmagic-data-5.45-1.17 [ 108s] [2/104] installing setup-0.9-1.7 [ 109s] [3/104] installing filesystem-3.1-1.1 [ 109s] [4/104] installing glibc-2.40-2.3 [ 111s] [5/104] installing libatomic-14.2.0-4.1 [ 112s] [6/104] installing libgcc-14.2.0-4.1 [ 113s] [7/104] installing libgomp-14.2.0-4.1 [ 114s] [8/104] installing libitm-14.2.0-4.1 [ 114s] [9/104] installing libgfortran-14.2.0-4.1 [ 115s] [10/104] installing libstdc++-14.2.0-4.1 [ 115s] [11/104] installing coreutils-6.9-14.7 [ 117s] [12/104] installing libstdc++-devel-14.2.0-4.1 [ 119s] [13/104] installing linux-glibc-devel-6.6-1.22 [ 121s] [14/104] installing libasan-14.2.0-4.1 [ 122s] [15/104] installing libcc1-14.2.0-4.1 [ 122s] [16/104] installing libhwasan-14.2.0-4.1 [ 123s] [17/104] installing libubsan-14.2.0-4.1 [ 124s] [18/104] installing cpio-2.8-1.2 [ 124s] [19/104] installing findutils-4.3.8-1.19 [ 124s] [20/104] installing gdbm-1.8.3-1.24 [ 125s] [21/104] installing hostname-3.23-1.2 [ 125s] [22/104] installing libattr-2.5.1-1.19 [ 125s] [23/104] installing libbz2-1.0.8-1.19 [ 126s] [24/104] installing libcap-2.73-1.17 [ 126s] [25/104] installing libltdl-2.4.7-1.22 [ 127s] [26/104] installing liblua-5.1.5-1.17 [ 127s] [27/104] installing libpopt-1.16-1.16 [ 128s] [28/104] installing libsmack-1.3.1-1.16 [ 129s] [29/104] installing libsmartcols-2.39.3-1.14 [ 129s] [30/104] installing libuuid-2.39.3-1.14 [ 130s] [31/104] installing libxcrypt-4.4.36-1.21 [ 131s] [32/104] installing m4-1.4.19-1.1 [ 131s] [33/104] installing net-tools-2.0_20121208git-1.17 [ 132s] [34/104] installing nspr-4.36-1.17 [ 133s] [35/104] installing patch-2.7.6-1.16 [ 133s] [36/104] installing sed-4.1c-1.17 [ 133s] [37/104] installing which-2.17-1.2 [ 133s] [38/104] installing zlib-1.3.1-1.23 [ 134s] [39/104] installing asan-runtime-env-14.2.0-1.17 [ 135s] [40/104] installing bash-3.2.57-1.1 [ 135s] [41/104] installing diffutils-3.10-1.1 [ 136s] [42/104] installing libblkid-2.39.3-1.14 [ 137s] [43/104] installing libfreebl3-3.109-1.21 [ 138s] [44/104] installing liblzma-5.6.3-1.23 [ 139s] [45/104] installing libopenssl3-3.0.16-1.13 [ 140s] [46/104] installing libpcre-8.45-1.19 [ 141s] [47/104] installing libsqlite-3.50.2-1.7 [ 142s] [48/104] installing libxml2-2.13.5-1.18 [ 143s] [49/104] installing libzstd1-1.5.6-1.16 [ 144s] [50/104] installing pkg-config-0.29.2-1.22 [ 145s] [51/104] installing update-alternatives-1.22.2-1.1 [ 146s] [52/104] installing build-compare-2023.06.18-1.8 [ 147s] [53/104] installing hal-rootstrap-checker-0.1.1-1.1 [ 147s] [54/104] installing qemu-linux-user-x86_64-cross-9.2.3-1.7 [ 151s] [55/104] installing asan-build-env-14.2.0-1.17 [ 151s] libasan.so is already preloaded [ 151s] [56/104] installing cpp-14.2.0-4.1 [ 154s] [57/104] installing gcc-c++-14.2.0-4.1 [ 157s] [58/104] installing terminfo-base-full-6.4-1.24 [ 158s] [59/104] installing gawk-3.1.5-1.1 [ 159s] [60/104] installing glibc-locale-2.40-2.3 [ 161s] [61/104] installing grep-2.5.2-1.16 [ 162s] [62/104] installing libacl-2.3.2-1.19 [ 163s] [63/104] installing libelf-0.189-1.23 [ 163s] [64/104] installing libxcrypt-devel-4.4.36-1.21 [ 163s] [65/104] installing make-4.4.1-1.17 [ 164s] [66/104] installing nss-certs-3.109-1.21 [ 165s] [67/104] installing smack-1.3.1-1.16 [ 166s] [68/104] installing binutils-libs-2.43-1.22 [ 167s] [69/104] installing bzip2-1.0.8-1.19 [ 167s] [70/104] installing gzip-1.3.12-1.12 [ 168s] [71/104] installing libmagic-5.45-1.17 [ 169s] [72/104] installing libmount-2.39.3-1.14 [ 170s] [73/104] installing perl-5.38.0-1.18 [ 177s] [74/104] installing xz-5.6.3-1.23 [ 178s] [75/104] installing libfdisk-2.39.3-1.14 [ 178s] [76/104] installing tzdata-2024b-1.1 [ 179s] [77/104] installing pam-1.1.6-1.15 [ 180s] [78/104] installing gcc-14.2.0-4.1 [ 189s] [79/104] installing build-mkbaselibs-20120927-1.1 [ 189s] [80/104] installing qemu-accel-x86_64-aarch64-0.4-1.7 [ 256s] [81/104] installing autoconf-2.71-1.24 [ 257s] [82/104] installing file-5.45-1.17 [ 257s] [83/104] installing glibc-devel-2.40-2.3 [ 259s] [84/104] installing tar-1.17-1.1 [ 260s] [85/104] installing binutils-2.43-1.22 [ 264s] [86/104] installing libncurses6-6.4-1.24 [ 265s] [87/104] installing libdw-0.189-1.23 [ 266s] [88/104] installing nss-3.109-1.21 [ 268s] [89/104] installing libarchive-3.8.1-1.13 [ 269s] [90/104] installing libncurses-6.4-1.24 [ 269s] [91/104] installing less-668-1.1 [ 269s] [92/104] installing automake-1.16.5-1.21 [ 270s] [93/104] installing libcap-devel-2.73-1.17 [ 270s] [94/104] installing libasm-0.189-1.23 [ 270s] [95/104] installing libreadline-5.2-1.19 [ 271s] [96/104] installing build-20120927-1.1 [ 272s] [97/104] installing libsoftokn3-3.109-1.21 [ 272s] [98/104] installing rpm-4.14.1.1-1.21 [ 276s] [99/104] installing asan-force-options-14.2.0-1.17 [ 281s] [100/104] installing libtool-2.4.7-1.22 [ 281s] [101/104] installing elfutils-0.189-1.23 [ 282s] [102/104] installing util-linux-2.39.3-1.14 [ 284s] [103/104] installing rpm-build-4.14.1.1-1.21 [ 284s] [104/104] installing util-linux-su-2.39.3-1.14 [ 285s] removing nis flags from /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.aarch64.2/etc/nsswitch.conf... [ 285s] now finalizing build dir... [ 287s] ----------------------------------------------------------------- [ 287s] ----- building linux-tizen-modules-source.spec (user abuild) [ 287s] ----------------------------------------------------------------- [ 287s] ----------------------------------------------------------------- [ 287s] + exec rpmbuild --define 'jobs 8' --define '_smp_mflags -j8' --define '_srcdefattr (-,root,root)' --nosignature --target=aarch64-tizen-linux --define '_build_create_debug 1' -bb /home/abuild/rpmbuild/SOURCES/linux-tizen-modules-source.spec [ 287s] Building target platforms: aarch64-tizen-linux [ 287s] Building for target aarch64-tizen-linux [ 287s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.5XsXGL [ 287s] + umask 022 [ 287s] + cd /home/abuild/rpmbuild/BUILD [ 287s] + cd /home/abuild/rpmbuild/BUILD [ 287s] + rm -rf linux-tizen-modules-source-7.5.1 [ 287s] + /bin/xz -dc /home/abuild/rpmbuild/SOURCES/linux-tizen-modules-source-7.5.1.tar.xz [ 287s] + /bin/tar -xof - [ 288s] + STATUS=0 [ 288s] + '[' 0 -ne 0 ']' [ 288s] + cd linux-tizen-modules-source-7.5.1 [ 288s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 288s] + cp /home/abuild/rpmbuild/SOURCES/linux-tizen-modules-source.manifest . [ 288s] + exit 0 [ 288s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Sys3xF [ 288s] + umask 022 [ 288s] + cd /home/abuild/rpmbuild/BUILD [ 288s] + cd linux-tizen-modules-source-7.5.1 [ 288s] + ref=/usr/lib/rpm [ 288s] + mints=0 [ 288s] + case $(uname -m) in [ 288s] ++ uname -m [ 288s] + mints=20120610 [ 288s] + for s in guess sub [ 288s] ++ find -maxdepth 8 -name config.guess [ 288s] + for s in guess sub [ 288s] ++ find -maxdepth 8 -name config.sub [ 288s] + LANG=C [ 288s] + export LANG [ 288s] + unset DISPLAY [ 288s] + CFLAGS='-O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g' [ 288s] + export CFLAGS [ 288s] + CXXFLAGS='-O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g' [ 288s] + export CXXFLAGS [ 288s] + FFLAGS='-O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -I%_fmoddir' [ 288s] + export FFLAGS [ 288s] + LDFLAGS= [ 288s] + export LDFLAGS [ 288s] + make -C tests/kdbus [ 288s] make: Entering directory '/home/abuild/rpmbuild/BUILD/linux-tizen-modules-source-7.5.1/tests/kdbus' [ 288s] cc -c kdbus-enum.c -o kdbus-enum.o -O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -I../../include/uapi/ -I../../samples/kdbus/ -std=gnu99 -Wno-error=shadow -DKBUILD_MODNAME=\"kdbus\" -D_GNU_SOURCE [ 288s] cc -c kdbus-util.c -o kdbus-util.o -O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -I../../include/uapi/ -I../../samples/kdbus/ -std=gnu99 -Wno-error=shadow -DKBUILD_MODNAME=\"kdbus\" -D_GNU_SOURCE [ 288s] In file included from kdbus-util.c:46: [ 289s] kdbus-util.c: In function 'kdbus_conn_info': [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.c:418:17: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 418 | ASSERT_ZERO(kdbus_info_verify(info, flags)); [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-util.c: In function 'kdbus_info_verify': [ 289s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 289s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 289s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.c:1044:9: note: in expansion of macro 'ASSERT_RETURN' [ 289s] 1044 | ASSERT_RETURN(item->size,>=,2*sizeof(uint64_t));\ [ 289s] | ^~~~~~~~~~~~~ [ 289s] kdbus-util.c:1103:17: note: in expansion of macro 'VERIFY_DECL_INLOOP' [ 289s] 1103 | VERIFY_DECL_INLOOP; [ 289s] | ^~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 289s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.c:1044:9: note: in expansion of macro 'ASSERT_RETURN' [ 289s] 1044 | ASSERT_RETURN(item->size,>=,2*sizeof(uint64_t));\ [ 289s] | ^~~~~~~~~~~~~ [ 289s] kdbus-util.c:1103:17: note: in expansion of macro 'VERIFY_DECL_INLOOP' [ 289s] 1103 | VERIFY_DECL_INLOOP; [ 289s] | ^~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 289s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.c:1045:9: note: in expansion of macro 'ASSERT_RETURN' [ 289s] 1045 | ASSERT_RETURN((unsigned)item->size,==,item->size);\ [ 289s] | ^~~~~~~~~~~~~ [ 289s] kdbus-util.c:1103:17: note: in expansion of macro 'VERIFY_DECL_INLOOP' [ 289s] 1103 | VERIFY_DECL_INLOOP; [ 289s] | ^~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 289s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 289s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.c:1045:9: note: in expansion of macro 'ASSERT_RETURN' [ 289s] 1045 | ASSERT_RETURN((unsigned)item->size,==,item->size);\ [ 289s] | ^~~~~~~~~~~~~ [ 289s] kdbus-util.c:1103:17: note: in expansion of macro 'VERIFY_DECL_INLOOP' [ 289s] 1103 | VERIFY_DECL_INLOOP; [ 289s] | ^~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 289s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.c:1050:17: note: in expansion of macro 'ASSERT_RETURN' [ 289s] 1050 | ASSERT_RETURN(size,==,sizeof(struct kdbus_creds));\ [ 289s] | ^~~~~~~~~~~~~ [ 289s] kdbus-util.c:1105:25: note: in expansion of macro 'VERIFY_META_CASES' [ 289s] 1105 | VERIFY_META_CASES; [ 289s] | ^~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 289s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.c:1053:17: note: in expansion of macro 'ASSERT_RETURN' [ 289s] 1053 | ASSERT_RETURN(size,==,sizeof(struct kdbus_pids));\ [ 289s] | ^~~~~~~~~~~~~ [ 289s] kdbus-util.c:1105:25: note: in expansion of macro 'VERIFY_META_CASES' [ 289s] 1105 | VERIFY_META_CASES; [ 289s] | ^~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 289s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.c:1056:17: note: in expansion of macro 'ASSERT_RETURN' [ 289s] 1056 | ASSERT_RETURN(size,==,sizeof(struct kdbus_audit));\ [ 289s] | ^~~~~~~~~~~~~ [ 289s] kdbus-util.c:1105:25: note: in expansion of macro 'VERIFY_META_CASES' [ 289s] 1105 | VERIFY_META_CASES; [ 289s] | ^~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.c:1060:17: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 1060 | ASSERT_ZERO(size%sizeof(uint32_t));\ [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-util.c:1105:25: note: in expansion of macro 'VERIFY_META_CASES' [ 289s] 1105 | VERIFY_META_CASES; [ 289s] | ^~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.c:1063:17: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 1063 | ASSERT_ZERO(verify_string(size-offsetof(typeof(item->name), name), item->name.name));\ [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-util.c:1105:25: note: in expansion of macro 'VERIFY_META_CASES' [ 289s] 1105 | VERIFY_META_CASES; [ 289s] | ^~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.c:1071:17: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 1071 | ASSERT_ZERO(verify_string(size, item->str));\ [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-util.c:1105:25: note: in expansion of macro 'VERIFY_META_CASES' [ 289s] 1105 | VERIFY_META_CASES; [ 289s] | ^~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.c:1074:17: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 1074 | ASSERT_ZERO(verify_string_array(size, item->str));\ [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-util.c:1105:25: note: in expansion of macro 'VERIFY_META_CASES' [ 289s] 1105 | VERIFY_META_CASES; [ 289s] | ^~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 289s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.c:1106:34: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 1106 | default: ASSERT_ZERO(item->type ?: (uint64_t)-1); [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.c:1106:34: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 1106 | default: ASSERT_ZERO(item->type ?: (uint64_t)-1); [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 289s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.c:1106:34: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 1106 | default: ASSERT_ZERO(item->type ?: (uint64_t)-1); [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 289s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 289s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.c:1077:9: note: in expansion of macro 'ASSERT_RETURN' [ 289s] 1077 | ASSERT_RETURN(item->type,>=,(uint64_t)_KDBUS_ITEM_ATTACH_BASE);\ [ 289s] | ^~~~~~~~~~~~~ [ 289s] kdbus-util.c:1108:17: note: in expansion of macro 'VERIFY_META' [ 289s] 1108 | VERIFY_META; [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 289s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.c:1077:9: note: in expansion of macro 'ASSERT_RETURN' [ 289s] 1077 | ASSERT_RETURN(item->type,>=,(uint64_t)_KDBUS_ITEM_ATTACH_BASE);\ [ 289s] | ^~~~~~~~~~~~~ [ 289s] kdbus-util.c:1108:17: note: in expansion of macro 'VERIFY_META' [ 289s] 1108 | VERIFY_META; [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 289s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.c:1079:9: note: in expansion of macro 'ASSERT_RETURN' [ 289s] 1079 | ASSERT_RETURN(idx,<,sizeof(item_count)/sizeof(*item_count));\ [ 289s] | ^~~~~~~~~~~~~ [ 289s] kdbus-util.c:1108:17: note: in expansion of macro 'VERIFY_META' [ 289s] 1108 | VERIFY_META; [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.c:1080:9: note: in expansion of macro 'ASSERT_NONZERO' [ 289s] 1080 | ASSERT_NONZERO(attach_flags & 1<attach_flags_recv)); [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-util.c: In function 'kdbus_msg_verify': [ 289s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 289s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 289s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.c:1123:17: note: in expansion of macro 'ASSERT_RETURN' [ 289s] 1123 | ASSERT_RETURN(msg->payload_type,==,KDBUS_PAYLOAD_DBUS); [ 289s] | ^~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 289s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.c:1123:17: note: in expansion of macro 'ASSERT_RETURN' [ 289s] 1123 | ASSERT_RETURN(msg->payload_type,==,KDBUS_PAYLOAD_DBUS); [ 289s] | ^~~~~~~~~~~~~ [ 289s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 289s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 289s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.c:1044:9: note: in expansion of macro 'ASSERT_RETURN' [ 289s] 1044 | ASSERT_RETURN(item->size,>=,2*sizeof(uint64_t));\ [ 289s] | ^~~~~~~~~~~~~ [ 289s] kdbus-util.c:1128:17: note: in expansion of macro 'VERIFY_DECL_INLOOP' [ 289s] 1128 | VERIFY_DECL_INLOOP; [ 289s] | ^~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 289s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.c:1044:9: note: in expansion of macro 'ASSERT_RETURN' [ 289s] 1044 | ASSERT_RETURN(item->size,>=,2*sizeof(uint64_t));\ [ 289s] | ^~~~~~~~~~~~~ [ 289s] kdbus-util.c:1128:17: note: in expansion of macro 'VERIFY_DECL_INLOOP' [ 289s] 1128 | VERIFY_DECL_INLOOP; [ 289s] | ^~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 289s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.c:1045:9: note: in expansion of macro 'ASSERT_RETURN' [ 289s] 1045 | ASSERT_RETURN((unsigned)item->size,==,item->size);\ [ 289s] | ^~~~~~~~~~~~~ [ 289s] kdbus-util.c:1128:17: note: in expansion of macro 'VERIFY_DECL_INLOOP' [ 289s] 1128 | VERIFY_DECL_INLOOP; [ 289s] | ^~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 289s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 289s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.c:1045:9: note: in expansion of macro 'ASSERT_RETURN' [ 289s] 1045 | ASSERT_RETURN((unsigned)item->size,==,item->size);\ [ 289s] | ^~~~~~~~~~~~~ [ 289s] kdbus-util.c:1128:17: note: in expansion of macro 'VERIFY_DECL_INLOOP' [ 289s] 1128 | VERIFY_DECL_INLOOP; [ 289s] | ^~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 289s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.c:1132:33: note: in expansion of macro 'ASSERT_RETURN' [ 289s] 1132 | ASSERT_RETURN(size,==,sizeof(struct kdbus_timestamp)); [ 289s] | ^~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 289s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.c:1050:17: note: in expansion of macro 'ASSERT_RETURN' [ 289s] 1050 | ASSERT_RETURN(size,==,sizeof(struct kdbus_creds));\ [ 289s] | ^~~~~~~~~~~~~ [ 289s] kdbus-util.c:1134:25: note: in expansion of macro 'VERIFY_META_CASES' [ 289s] 1134 | VERIFY_META_CASES; [ 289s] | ^~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 289s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.c:1053:17: note: in expansion of macro 'ASSERT_RETURN' [ 289s] 1053 | ASSERT_RETURN(size,==,sizeof(struct kdbus_pids));\ [ 289s] | ^~~~~~~~~~~~~ [ 289s] kdbus-util.c:1134:25: note: in expansion of macro 'VERIFY_META_CASES' [ 289s] 1134 | VERIFY_META_CASES; [ 289s] | ^~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 289s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.c:1056:17: note: in expansion of macro 'ASSERT_RETURN' [ 289s] 1056 | ASSERT_RETURN(size,==,sizeof(struct kdbus_audit));\ [ 289s] | ^~~~~~~~~~~~~ [ 289s] kdbus-util.c:1134:25: note: in expansion of macro 'VERIFY_META_CASES' [ 289s] 1134 | VERIFY_META_CASES; [ 289s] | ^~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.c:1060:17: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 1060 | ASSERT_ZERO(size%sizeof(uint32_t));\ [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-util.c:1134:25: note: in expansion of macro 'VERIFY_META_CASES' [ 289s] 1134 | VERIFY_META_CASES; [ 289s] | ^~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.c:1063:17: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 1063 | ASSERT_ZERO(verify_string(size-offsetof(typeof(item->name), name), item->name.name));\ [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-util.c:1134:25: note: in expansion of macro 'VERIFY_META_CASES' [ 289s] 1134 | VERIFY_META_CASES; [ 289s] | ^~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.c:1071:17: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 1071 | ASSERT_ZERO(verify_string(size, item->str));\ [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-util.c:1134:25: note: in expansion of macro 'VERIFY_META_CASES' [ 289s] 1134 | VERIFY_META_CASES; [ 289s] | ^~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.c:1074:17: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 1074 | ASSERT_ZERO(verify_string_array(size, item->str));\ [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-util.c:1134:25: note: in expansion of macro 'VERIFY_META_CASES' [ 289s] 1134 | VERIFY_META_CASES; [ 289s] | ^~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.c:1138:33: note: in expansion of macro 'ASSERT_NONZERO' [ 289s] 1138 | ASSERT_NONZERO(user); [ 289s] | ^~~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 289s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.c:1139:33: note: in expansion of macro 'ASSERT_RETURN' [ 289s] 1139 | ASSERT_RETURN(size,==,sizeof(struct kdbus_vec)); [ 289s] | ^~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.c:1142:33: note: in expansion of macro 'ASSERT_NONZERO' [ 289s] 1142 | ASSERT_NONZERO(user); [ 289s] | ^~~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 289s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.c:1143:33: note: in expansion of macro 'ASSERT_RETURN' [ 289s] 1143 | ASSERT_RETURN(size,==,sizeof(struct kdbus_memfd)); [ 289s] | ^~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.c:1146:33: note: in expansion of macro 'ASSERT_NONZERO' [ 289s] 1146 | ASSERT_NONZERO(user); [ 289s] | ^~~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.c:1147:33: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 1147 | ASSERT_ZERO(size%sizeof(int)); [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.c:1150:33: note: in expansion of macro 'ASSERT_NONZERO' [ 289s] 1150 | ASSERT_NONZERO(user); [ 289s] | ^~~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.c:1151:33: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 1151 | ASSERT_ZERO(verify_string(size, item->str)); [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.c:1158:33: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 1158 | ASSERT_ZERO(user); [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 289s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.c:1159:33: note: in expansion of macro 'ASSERT_RETURN' [ 289s] 1159 | ASSERT_RETURN(size,>=,sizeof(struct kdbus_notify_name_change)); [ 289s] | ^~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.c:1160:33: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 1160 | ASSERT_ZERO(verify_string(size-sizeof(struct kdbus_notify_name_change), item->name_change.name)); [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.c:1164:33: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 1164 | ASSERT_ZERO(user); [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 289s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.c:1165:33: note: in expansion of macro 'ASSERT_RETURN' [ 289s] 1165 | ASSERT_RETURN(size,==,sizeof(struct kdbus_notify_id_change)); [ 289s] | ^~~~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.c:1169:33: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 1169 | ASSERT_ZERO(user); [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.c:1170:33: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 1170 | ASSERT_ZERO(size); [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 289s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.c:1178:33: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 1178 | ASSERT_ZERO(item->type ?: (uint64_t)-1); [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.c:1178:33: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 1178 | ASSERT_ZERO(item->type ?: (uint64_t)-1); [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 289s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.c:1178:33: note: in expansion of macro 'ASSERT_ZERO' [ 289s] 1178 | ASSERT_ZERO(item->type ?: (uint64_t)-1); [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.c:1181:25: note: in expansion of macro 'ASSERT_NONZERO' [ 289s] 1181 | ASSERT_NONZERO(user); [ 289s] | ^~~~~~~~~~~~~~ [ 289s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 289s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 289s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.c:1077:9: note: in expansion of macro 'ASSERT_RETURN' [ 289s] 1077 | ASSERT_RETURN(item->type,>=,(uint64_t)_KDBUS_ITEM_ATTACH_BASE);\ [ 289s] | ^~~~~~~~~~~~~ [ 289s] kdbus-util.c:1182:17: note: in expansion of macro 'VERIFY_META' [ 289s] 1182 | VERIFY_META; [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 289s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.c:1077:9: note: in expansion of macro 'ASSERT_RETURN' [ 289s] 1077 | ASSERT_RETURN(item->type,>=,(uint64_t)_KDBUS_ITEM_ATTACH_BASE);\ [ 289s] | ^~~~~~~~~~~~~ [ 289s] kdbus-util.c:1182:17: note: in expansion of macro 'VERIFY_META' [ 289s] 1182 | VERIFY_META; [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 289s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.c:1079:9: note: in expansion of macro 'ASSERT_RETURN' [ 289s] 1079 | ASSERT_RETURN(idx,<,sizeof(item_count)/sizeof(*item_count));\ [ 289s] | ^~~~~~~~~~~~~ [ 289s] kdbus-util.c:1182:17: note: in expansion of macro 'VERIFY_META' [ 289s] 1182 | VERIFY_META; [ 289s] | ^~~~~~~~~~~ [ 289s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 289s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 289s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 289s] | ^~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 289s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 289s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 289s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 289s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 289s] | ^~~~~~~~~~~~ [ 289s] kdbus-util.c:1080:9: note: in expansion of macro 'ASSERT_NONZERO' [ 289s] 1080 | ASSERT_NONZERO(attach_flags & 1<control_fd,>=,0); [ 291s] | ^~~~~~~~~~~~~ [ 291s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 291s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 291s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 291s] | ^~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 291s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 291s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 291s] | ^~~~~~~~~~~~ [ 291s] kdbus-test.c:400:25: note: in expansion of macro 'ASSERT_NONZERO' [ 291s] 400 | ASSERT_NONZERO(n = unique_name("test-bus")); [ 291s] | ^~~~~~~~~~~~~~ [ 291s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 291s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 291s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 291s] | ^~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 291s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 291s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 291s] | ^~~~~~~~~~~~ [ 291s] kdbus-test.c:406:17: note: in expansion of macro 'ASSERT_ZERO' [ 291s] 406 | ASSERT_ZERO(ret); [ 291s] | ^~~~~~~~~~~ [ 291s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 291s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 291s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 291s] | ^~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 291s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 291s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 291s] | ^~~~~~~~~~~~ [ 291s] kdbus-test.c:414:17: note: in expansion of macro 'ASSERT_NONZERO' [ 291s] 414 | ASSERT_NONZERO(env->conn = kdbus_hello(env->buspath, 0, NULL, 0)); [ 291s] | ^~~~~~~~~~~~~~ [ 291s] kdbus-test.c: In function 'run_tests_in_namespaces': [ 291s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 291s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 291s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 291s] | ^~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 291s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 291s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 291s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 291s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 291s] | ^~~~~~~~~~~~ [ 291s] kdbus-test.c:866:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 291s] 866 | ASSERT_RETURN_VAL(rpid,==,pid, TEST_ERR); [ 291s] | ^~~~~~~~~~~~~~~~~ [ 291s] cc -c test-activator.c -o test-activator.o -O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -I../../include/uapi/ -I../../samples/kdbus/ -std=gnu99 -Wno-error=shadow -DKBUILD_MODNAME=\"kdbus\" -D_GNU_SOURCE [ 292s] In file included from test-activator.c:17: [ 292s] test-activator.c: In function 'kdbus_test_activator': [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] test-activator.c:249:9: note: in expansion of macro 'ASSERT_NONZERO' [ 292s] 249 | ASSERT_NONZERO(activator); [ 292s] | ^~~~~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] test-activator.c:251:9: note: in expansion of macro 'ASSERT_ZERO' [ 292s] 251 | ASSERT_ZERO(kdbus_add_match_empty(env->conn)); [ 292s] | ^~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] test-activator.c:253:9: note: in expansion of macro 'ASSERT_ZERO' [ 292s] 253 | ASSERT_ZERO(kdbus_list(env->conn, KDBUS_LIST_NAMES | KDBUS_LIST_UNIQUE | KDBUS_LIST_ACTIVATORS | KDBUS_LIST_QUEUED)); [ 292s] | ^~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] test-activator.c:255:9: note: in expansion of macro 'ASSERT_ZERO' [ 292s] 255 | ASSERT_ZERO(kdbus_msg_send(env->conn, "foo.test.activator", 0xdeafbeef, 0, 0, 0, KDBUS_DST_ID_NAME)); [ 292s] | ^~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 292s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] test-activator.c:271:17: note: in expansion of macro 'ASSERT_RETURN' [ 292s] 271 | ASSERT_RETURN(ret,>=,0); [ 292s] | ^~~~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] test-activator.c:273:17: note: in expansion of macro 'ASSERT_ZERO' [ 292s] 273 | ASSERT_ZERO(kdbus_list(env->conn, KDBUS_LIST_NAMES)); [ 292s] | ^~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] test-activator.c:280:25: note: in expansion of macro 'ASSERT_ZERO' [ 292s] 280 | ASSERT_ZERO(kdbus_name_acquire(env->conn, "foo.test.activator", &flags)); [ 292s] | ^~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] test-activator.c:286:25: note: in expansion of macro 'ASSERT_ZERO' [ 292s] 286 | ASSERT_ZERO(kdbus_msg_recv(env->conn, NULL, NULL)); [ 292s] | ^~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 292s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] test-activator.c:297:9: note: in expansion of macro 'ASSERT_RETURN' [ 292s] 297 | ASSERT_RETURN(ret,>=,0); [ 292s] | ^~~~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] test-activator.c:302:9: note: in expansion of macro 'ASSERT_ZERO' [ 292s] 302 | ASSERT_ZERO(kdbus_priv_activator(env)); [ 292s] | ^~~~~~~~~~~ [ 292s] test-activator.c: In function 'kdbus_priv_activator': [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] test-activator.c:71:9: note: in expansion of macro 'ASSERT_NONZERO' [ 292s] 71 | ASSERT_NONZERO(activator); [ 292s] | ^~~~~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] test-activator.c:74:9: note: in expansion of macro 'ASSERT_NONZERO' [ 292s] 74 | ASSERT_NONZERO(service); [ 292s] | ^~~~~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] test-activator.c:77:9: note: in expansion of macro 'ASSERT_NONZERO' [ 292s] 77 | ASSERT_NONZERO(client); [ 292s] | ^~~~~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 292s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 292s] | ^~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 292s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 292s] | ^~~~~~~~~~~ [ 292s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 292s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 292s] | ^~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 292s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 292s] | ^~~~~~~~~~~~ [ 292s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 292s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 292s] | ^~~~~~~~~~~~~~~ [ 292s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 292s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 292s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] test-activator.c:90:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 292s] 90 | RUN_UNPRIVILEGED_CONN_CTR(unpriv, env->buspath, ({ \ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] test-activator.c:105:53: note: in expansion of macro 'TEST_CANT_TALK' [ 292s] 105 | #define TEST_CANT_TALK_EXPAND_MACRO(shadow_counter) TEST_CANT_TALK(shadow_counter) [ 292s] | ^~~~~~~~~~~~~~ [ 292s] test-activator.c:107:9: note: in expansion of macro 'TEST_CANT_TALK_EXPAND_MACRO' [ 292s] 107 | TEST_CANT_TALK_EXPAND_MACRO(__COUNTER__); [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 292s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 292s] | ^~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 292s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 292s] | ^~~~~~~~~~~ [ 292s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 292s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 292s] | ^~~~~~~~~~ [ 292s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 292s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 292s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 292s] | ^~~~~~~~~~~~ [ 292s] kdbus-util.h:144:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 292s] 144 | ASSERT_EXIT_NONZERO(_var_ = kdbus_hello(_bus_, 0, NULL, 0)); \ [ 292s] | ^~~~~~~~~~~~~~~~~~~ [ 292s] test-activator.c:90:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 292s] 90 | RUN_UNPRIVILEGED_CONN_CTR(unpriv, env->buspath, ({ \ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] test-activator.c:105:53: note: in expansion of macro 'TEST_CANT_TALK' [ 292s] 105 | #define TEST_CANT_TALK_EXPAND_MACRO(shadow_counter) TEST_CANT_TALK(shadow_counter) [ 292s] | ^~~~~~~~~~~~~~ [ 292s] test-activator.c:107:9: note: in expansion of macro 'TEST_CANT_TALK_EXPAND_MACRO' [ 292s] 107 | TEST_CANT_TALK_EXPAND_MACRO(__COUNTER__); [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 292s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 292s] | ^~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 292s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 292s] | ^~~~~~~~~~~ [ 292s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 292s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 292s] | ^~~~~~~~~~ [ 292s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 292s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 292s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] test-activator.c:90:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 292s] 90 | RUN_UNPRIVILEGED_CONN_CTR(unpriv, env->buspath, ({ \ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 292s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 292s] | ^~~~~~~~~~~~ [ 292s] test-activator.c:94:17: note: in expansion of macro 'ASSERT_EXIT' [ 292s] 94 | ASSERT_EXIT(ret_##shadow_counter,==,-ENXIO); \ [ 292s] | ^~~~~~~~~~~ [ 292s] test-activator.c:105:53: note: in expansion of macro 'TEST_CANT_TALK' [ 292s] 105 | #define TEST_CANT_TALK_EXPAND_MACRO(shadow_counter) TEST_CANT_TALK(shadow_counter) [ 292s] | ^~~~~~~~~~~~~~ [ 292s] test-activator.c:107:9: note: in expansion of macro 'TEST_CANT_TALK_EXPAND_MACRO' [ 292s] 107 | TEST_CANT_TALK_EXPAND_MACRO(__COUNTER__); [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 292s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 292s] | ^~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 292s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 292s] | ^~~~~~~~~~~ [ 292s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 292s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 292s] | ^~~~~~~~~~ [ 292s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 292s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 292s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] test-activator.c:90:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 292s] 90 | RUN_UNPRIVILEGED_CONN_CTR(unpriv, env->buspath, ({ \ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 292s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 292s] | ^~~~~~~~~~~~ [ 292s] test-activator.c:100:17: note: in expansion of macro 'ASSERT_EXIT' [ 292s] 100 | ASSERT_EXIT(ret_##shadow_counter,==,ONTIZEN(0,-EPERM)); \ [ 292s] | ^~~~~~~~~~~ [ 292s] test-activator.c:105:53: note: in expansion of macro 'TEST_CANT_TALK' [ 292s] 105 | #define TEST_CANT_TALK_EXPAND_MACRO(shadow_counter) TEST_CANT_TALK(shadow_counter) [ 292s] | ^~~~~~~~~~~~~~ [ 292s] test-activator.c:107:9: note: in expansion of macro 'TEST_CANT_TALK_EXPAND_MACRO' [ 292s] 107 | TEST_CANT_TALK_EXPAND_MACRO(__COUNTER__); [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 292s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 292s] | ^~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 292s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 292s] | ^~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 292s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 292s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 292s] | ^~~~~~~~~~~~~ [ 292s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 292s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 292s] | ^~~~~~~~~~ [ 292s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 292s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 292s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] test-activator.c:90:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 292s] 90 | RUN_UNPRIVILEGED_CONN_CTR(unpriv, env->buspath, ({ \ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] test-activator.c:105:53: note: in expansion of macro 'TEST_CANT_TALK' [ 292s] 105 | #define TEST_CANT_TALK_EXPAND_MACRO(shadow_counter) TEST_CANT_TALK(shadow_counter) [ 292s] | ^~~~~~~~~~~~~~ [ 292s] test-activator.c:107:9: note: in expansion of macro 'TEST_CANT_TALK_EXPAND_MACRO' [ 292s] 107 | TEST_CANT_TALK_EXPAND_MACRO(__COUNTER__); [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 292s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 292s] | ^~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 292s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 292s] | ^~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 292s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 292s] | ^~~~~~~~~~~~~~ [ 292s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 292s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 292s] | ^~~~~~~~~~ [ 292s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 292s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 292s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] test-activator.c:90:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 292s] 90 | RUN_UNPRIVILEGED_CONN_CTR(unpriv, env->buspath, ({ \ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] test-activator.c:105:53: note: in expansion of macro 'TEST_CANT_TALK' [ 292s] 105 | #define TEST_CANT_TALK_EXPAND_MACRO(shadow_counter) TEST_CANT_TALK(shadow_counter) [ 292s] | ^~~~~~~~~~~~~~ [ 292s] test-activator.c:107:9: note: in expansion of macro 'TEST_CANT_TALK_EXPAND_MACRO' [ 292s] 107 | TEST_CANT_TALK_EXPAND_MACRO(__COUNTER__); [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 292s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 292s] | ^~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 292s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 292s] | ^~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 292s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 292s] | ^~~~~~~~~~~ [ 292s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 292s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 292s] | ^~~~~~~~~~ [ 292s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 292s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 292s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] test-activator.c:90:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 292s] 90 | RUN_UNPRIVILEGED_CONN_CTR(unpriv, env->buspath, ({ \ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] test-activator.c:105:53: note: in expansion of macro 'TEST_CANT_TALK' [ 292s] 105 | #define TEST_CANT_TALK_EXPAND_MACRO(shadow_counter) TEST_CANT_TALK(shadow_counter) [ 292s] | ^~~~~~~~~~~~~~ [ 292s] test-activator.c:107:9: note: in expansion of macro 'TEST_CANT_TALK_EXPAND_MACRO' [ 292s] 107 | TEST_CANT_TALK_EXPAND_MACRO(__COUNTER__); [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 292s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 292s] | ^~~~~~~~~~~ [ 292s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 292s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 292s] | ^~~~~~~~~~ [ 292s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 292s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 292s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] test-activator.c:90:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 292s] 90 | RUN_UNPRIVILEGED_CONN_CTR(unpriv, env->buspath, ({ \ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] test-activator.c:105:53: note: in expansion of macro 'TEST_CANT_TALK' [ 292s] 105 | #define TEST_CANT_TALK_EXPAND_MACRO(shadow_counter) TEST_CANT_TALK(shadow_counter) [ 292s] | ^~~~~~~~~~~~~~ [ 292s] test-activator.c:107:9: note: in expansion of macro 'TEST_CANT_TALK_EXPAND_MACRO' [ 292s] 107 | TEST_CANT_TALK_EXPAND_MACRO(__COUNTER__); [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 292s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] test-activator.c:117:9: note: in expansion of macro 'ASSERT_RETURN' [ 292s] 117 | ASSERT_RETURN(ONTIZEN(0,-ETIMEDOUT),==,kdbus_starter_poll(activator)); [ 292s] | ^~~~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] test-activator.c:125:9: note: in expansion of macro 'ASSERT_ZERO' [ 292s] 125 | ASSERT_ZERO(kdbus_msg_send(service, "foo.priv.activator", cookie, 0, 0, 0, KDBUS_DST_ID_NAME)); [ 292s] | ^~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] test-activator.c:127:9: note: in expansion of macro 'ASSERT_ZERO' [ 292s] 127 | ASSERT_ZERO(kdbus_starter_poll(activator)); [ 292s] | ^~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 292s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 292s] | ^~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 292s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 292s] | ^~~~~~~~~~~ [ 292s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 292s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 292s] | ^~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 292s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 292s] | ^~~~~~~~~~~~ [ 292s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 292s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 292s] | ^~~~~~~~~~~~~~~ [ 292s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 292s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 292s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 292s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] test-activator.c:131:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 292s] 131 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 292s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 292s] | ^~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 292s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 292s] | ^~~~~~~~~~~ [ 292s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 292s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 292s] | ^~~~~~~~~~ [ 292s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 292s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 292s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 292s] | ^~~~~~~~~~~~ [ 292s] kdbus-util.h:144:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 292s] 144 | ASSERT_EXIT_NONZERO(_var_ = kdbus_hello(_bus_, 0, NULL, 0)); \ [ 292s] | ^~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 292s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] test-activator.c:131:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 292s] 131 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 292s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 292s] | ^~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 292s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 292s] | ^~~~~~~~~~~ [ 292s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 292s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 292s] | ^~~~~~~~~~ [ 292s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 292s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 292s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 292s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] test-activator.c:131:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 292s] 131 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 292s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] test-activator.c:133:17: note: in expansion of macro 'ASSERT_RETURN' [ 292s] 133 | ASSERT_RETURN(ONTIZEN(0,-EPERM),==,kdbus_name_acquire(unpriv, "foo.priv.activator", &flags)); [ 292s] | ^~~~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 292s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 292s] | ^~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 292s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 292s] | ^~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 292s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 292s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 292s] | ^~~~~~~~~~~~~ [ 292s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 292s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 292s] | ^~~~~~~~~~ [ 292s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 292s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 292s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 292s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] test-activator.c:131:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 292s] 131 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 292s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 292s] | ^~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 292s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 292s] | ^~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 292s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 292s] | ^~~~~~~~~~~~~~ [ 292s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 292s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 292s] | ^~~~~~~~~~ [ 292s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 292s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 292s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 292s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] test-activator.c:131:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 292s] 131 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 292s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 292s] | ^~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 292s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 292s] | ^~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 292s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 292s] | ^~~~~~~~~~~ [ 292s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 292s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 292s] | ^~~~~~~~~~ [ 292s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 292s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 292s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 292s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] test-activator.c:131:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 292s] 131 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 292s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 292s] | ^~~~~~~~~~~ [ 292s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 292s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 292s] | ^~~~~~~~~~ [ 292s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 292s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 292s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 292s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] test-activator.c:131:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 292s] 131 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] test-activator.c:137:9: note: in expansion of macro 'ASSERT_ZERO' [ 292s] 137 | ASSERT_ZERO(kdbus_name_acquire(service, "foo.priv.activator", &flags)); [ 292s] | ^~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] test-activator.c:140:9: note: in expansion of macro 'ASSERT_ZERO' [ 292s] 140 | ASSERT_ZERO(kdbus_msg_recv_poll(service, 100, &msg, NULL)); [ 292s] | ^~~~~~~~~~~ [ 292s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 292s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 292s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] test-activator.c:141:9: note: in expansion of macro 'ASSERT_RETURN' [ 292s] 141 | ASSERT_RETURN(msg->cookie,==,cookie-1); [ 292s] | ^~~~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 292s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] test-activator.c:141:9: note: in expansion of macro 'ASSERT_RETURN' [ 292s] 141 | ASSERT_RETURN(msg->cookie,==,cookie-1); [ 292s] | ^~~~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] test-activator.c:145:9: note: in expansion of macro 'ASSERT_ZERO' [ 292s] 145 | ASSERT_ZERO(kdbus_msg_recv_poll(service, 100, &msg, NULL)); [ 292s] | ^~~~~~~~~~~ [ 292s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 292s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 292s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] test-activator.c:146:9: note: in expansion of macro 'ASSERT_RETURN' [ 292s] 146 | ASSERT_RETURN(msg->cookie,==,cookie); [ 292s] | ^~~~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 292s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] test-activator.c:146:9: note: in expansion of macro 'ASSERT_RETURN' [ 292s] 146 | ASSERT_RETURN(msg->cookie,==,cookie); [ 292s] | ^~~~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 292s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 292s] | ^~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 292s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 292s] | ^~~~~~~~~~~ [ 292s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 292s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 292s] | ^~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 292s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 292s] | ^~~~~~~~~~~~ [ 292s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 292s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 292s] | ^~~~~~~~~~~~~~~ [ 292s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 292s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 292s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 292s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] test-activator.c:152:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 292s] 152 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 292s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 292s] | ^~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 292s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 292s] | ^~~~~~~~~~~ [ 292s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 292s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 292s] | ^~~~~~~~~~ [ 292s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 292s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 292s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 292s] | ^~~~~~~~~~~~ [ 292s] kdbus-util.h:144:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 292s] 144 | ASSERT_EXIT_NONZERO(_var_ = kdbus_hello(_bus_, 0, NULL, 0)); \ [ 292s] | ^~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 292s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] test-activator.c:152:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 292s] 152 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 292s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 292s] | ^~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 292s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 292s] | ^~~~~~~~~~~ [ 292s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 292s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 292s] | ^~~~~~~~~~ [ 292s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 292s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 292s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 292s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] test-activator.c:152:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 292s] 152 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 292s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 292s] | ^~~~~~~~~~~~ [ 292s] test-activator.c:154:17: note: in expansion of macro 'ASSERT_EXIT' [ 292s] 154 | ASSERT_EXIT(ONTIZEN(0,-EPERM),==,kdbus_msg_send(unpriv, "foo.priv.activator", cookie, 0, 0, 0, KDBUS_DST_ID_NAME)); [ 292s] | ^~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 292s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 292s] | ^~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 292s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 292s] | ^~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 292s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 292s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 292s] | ^~~~~~~~~~~~~ [ 292s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 292s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 292s] | ^~~~~~~~~~ [ 292s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 292s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 292s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 292s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] test-activator.c:152:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 292s] 152 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 292s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 292s] | ^~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 292s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 292s] | ^~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 292s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 292s] | ^~~~~~~~~~~~~~ [ 292s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 292s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 292s] | ^~~~~~~~~~ [ 292s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 292s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 292s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 292s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] test-activator.c:152:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 292s] 152 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 292s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 292s] | ^~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 292s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 292s] | ^~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 292s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 292s] | ^~~~~~~~~~~ [ 292s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 292s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 292s] | ^~~~~~~~~~ [ 292s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 292s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 292s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 292s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] test-activator.c:152:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 292s] 152 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 292s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 292s] | ^~~~~~~~~~~ [ 292s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 292s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 292s] | ^~~~~~~~~~ [ 292s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 292s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 292s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 292s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] test-activator.c:152:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 292s] 152 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] test-activator.c:157:9: note: in expansion of macro 'ASSERT_ZERO' [ 292s] 157 | ASSERT_ZERO(kdbus_msg_recv_poll(service, 100, &msg, NULL)); [ 292s] | ^~~~~~~~~~~ [ 292s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 292s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 292s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] test-activator.c:158:9: note: in expansion of macro 'ASSERT_RETURN' [ 292s] 158 | ASSERT_RETURN(msg->cookie,==,cookie); [ 292s] | ^~~~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 292s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] test-activator.c:158:9: note: in expansion of macro 'ASSERT_RETURN' [ 292s] 158 | ASSERT_RETURN(msg->cookie,==,cookie); [ 292s] | ^~~~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 292s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] test-activator.c:164:9: note: in expansion of macro 'ASSERT_RETURN' [ 292s] 164 | ASSERT_RETURN(-ETIMEDOUT,==,kdbus_msg_recv_poll(service, 100, NULL, NULL)); [ 292s] | ^~~~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] test-activator.c:169:9: note: in expansion of macro 'ASSERT_ZERO' [ 292s] 169 | ASSERT_ZERO(kdbus_msg_send(client, "foo.priv.activator", cookie, 0, 0, 0, KDBUS_DST_ID_NAME)); [ 292s] | ^~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] test-activator.c:170:9: note: in expansion of macro 'ASSERT_ZERO' [ 292s] 170 | ASSERT_ZERO(kdbus_msg_recv_poll(service, 100, &msg, NULL)); [ 292s] | ^~~~~~~~~~~ [ 292s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 292s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 292s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] test-activator.c:171:9: note: in expansion of macro 'ASSERT_RETURN' [ 292s] 171 | ASSERT_RETURN(msg->cookie,==,cookie); [ 292s] | ^~~~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 292s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] test-activator.c:171:9: note: in expansion of macro 'ASSERT_RETURN' [ 292s] 171 | ASSERT_RETURN(msg->cookie,==,cookie); [ 292s] | ^~~~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 292s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 292s] | ^~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 292s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 292s] | ^~~~~~~~~~~ [ 292s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 292s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 292s] | ^~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 292s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 292s] | ^~~~~~~~~~~~ [ 292s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 292s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 292s] | ^~~~~~~~~~~~~~~ [ 292s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 292s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 292s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 292s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] test-activator.c:179:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 292s] 179 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 292s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 292s] | ^~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 292s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 292s] | ^~~~~~~~~~~ [ 292s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 292s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 292s] | ^~~~~~~~~~ [ 292s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 292s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 292s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 292s] | ^~~~~~~~~~~~ [ 292s] kdbus-util.h:144:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 292s] 144 | ASSERT_EXIT_NONZERO(_var_ = kdbus_hello(_bus_, 0, NULL, 0)); \ [ 292s] | ^~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 292s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] test-activator.c:179:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 292s] 179 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 292s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 292s] | ^~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 292s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 292s] | ^~~~~~~~~~~ [ 292s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 292s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 292s] | ^~~~~~~~~~ [ 292s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 292s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 292s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 292s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] test-activator.c:179:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 292s] 179 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 292s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 292s] | ^~~~~~~~~~~~ [ 292s] test-activator.c:181:17: note: in expansion of macro 'ASSERT_EXIT' [ 292s] 181 | ASSERT_EXIT(ONTIZEN(0,-EPERM),==,kdbus_msg_send(unpriv, "foo.priv.activator", cookie, 0, 0, 0, KDBUS_DST_ID_NAME)); [ 292s] | ^~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 292s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 292s] | ^~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 292s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 292s] | ^~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 292s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 292s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 292s] | ^~~~~~~~~~~~~ [ 292s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 292s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 292s] | ^~~~~~~~~~ [ 292s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 292s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 292s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 292s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] test-activator.c:179:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 292s] 179 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 292s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 292s] | ^~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 292s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 292s] | ^~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 292s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 292s] | ^~~~~~~~~~~~~~ [ 292s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 292s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 292s] | ^~~~~~~~~~ [ 292s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 292s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 292s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 292s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] test-activator.c:179:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 292s] 179 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 292s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 292s] | ^~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 292s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 292s] | ^~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 292s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 292s] | ^~~~~~~~~~~ [ 292s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 292s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 292s] | ^~~~~~~~~~ [ 292s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 292s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 292s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 292s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] test-activator.c:179:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 292s] 179 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 292s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 292s] | ^~~~~~~~~~~ [ 292s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 292s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 292s] | ^~~~~~~~~~ [ 292s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 292s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 292s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 292s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] test-activator.c:179:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 292s] 179 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 292s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] test-activator.c:184:9: note: in expansion of macro 'ASSERT_RETURN' [ 292s] 184 | ASSERT_RETURN(ONTIZEN(0,-ETIMEDOUT),==,kdbus_msg_recv_poll(service, 100, &msg, NULL)); [ 292s] | ^~~~~~~~~~~~~ [ 292s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 292s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 292s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] test-activator.c:186:9: note: in expansion of macro 'ASSERT_RETURN' [ 292s] 186 | ASSERT_RETURN(msg->cookie,==,cookie); [ 292s] | ^~~~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 292s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] test-activator.c:186:9: note: in expansion of macro 'ASSERT_RETURN' [ 292s] 186 | ASSERT_RETURN(msg->cookie,==,cookie); [ 292s] | ^~~~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] test-activator.c:192:9: note: in expansion of macro 'ASSERT_ZERO' [ 292s] 192 | ASSERT_ZERO(kdbus_msg_send(client, "foo.priv.activator", cookie, 0, 0, 0, KDBUS_DST_ID_NAME)); [ 292s] | ^~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] test-activator.c:193:9: note: in expansion of macro 'ASSERT_ZERO' [ 292s] 193 | ASSERT_ZERO(kdbus_msg_recv_poll(service, 100, &msg, NULL)); [ 292s] | ^~~~~~~~~~~ [ 292s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 292s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 292s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] test-activator.c:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 292s] 194 | ASSERT_RETURN(msg->cookie,==,cookie); [ 292s] | ^~~~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 292s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] test-activator.c:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 292s] 194 | ASSERT_RETURN(msg->cookie,==,cookie); [ 292s] | ^~~~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] test-activator.c:208:9: note: in expansion of macro 'ASSERT_NONZERO' [ 292s] 208 | ASSERT_NONZERO(holder); [ 292s] | ^~~~~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 292s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 292s] | ^~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 292s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 292s] | ^~~~~~~~~~~ [ 292s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 292s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 292s] | ^~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 292s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 292s] | ^~~~~~~~~~~~ [ 292s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 292s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 292s] | ^~~~~~~~~~~~~~~ [ 292s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 292s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 292s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 292s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] test-activator.c:213:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 292s] 213 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 292s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 292s] | ^~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 292s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 292s] | ^~~~~~~~~~~ [ 292s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 292s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 292s] | ^~~~~~~~~~ [ 292s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 292s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 292s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 292s] | ^~~~~~~~~~~~ [ 292s] kdbus-util.h:144:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 292s] 144 | ASSERT_EXIT_NONZERO(_var_ = kdbus_hello(_bus_, 0, NULL, 0)); \ [ 292s] | ^~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 292s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] test-activator.c:213:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 292s] 213 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 292s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 292s] | ^~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 292s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 292s] | ^~~~~~~~~~~ [ 292s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 292s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 292s] | ^~~~~~~~~~ [ 292s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 292s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 292s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 292s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] test-activator.c:213:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 292s] 213 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 292s] | ^~~~~~~~~~~~ [ 292s] test-activator.c:215:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 292s] 215 | ASSERT_EXIT_ZERO(kdbus_msg_send(unpriv, "foo.priv.activator", cookie, 0, 0, 0, KDBUS_DST_ID_NAME)); [ 292s] | ^~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 292s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 292s] | ^~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 292s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 292s] | ^~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 292s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 292s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 292s] | ^~~~~~~~~~~~~ [ 292s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 292s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 292s] | ^~~~~~~~~~ [ 292s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 292s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 292s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 292s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] test-activator.c:213:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 292s] 213 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 292s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 292s] | ^~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 292s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 292s] | ^~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 292s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 292s] | ^~~~~~~~~~~~~~ [ 292s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 292s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 292s] | ^~~~~~~~~~ [ 292s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 292s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 292s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 292s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] test-activator.c:213:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 292s] 213 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 292s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 292s] | ^~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 292s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 292s] | ^~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 292s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 292s] | ^~~~~~~~~~~ [ 292s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 292s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 292s] | ^~~~~~~~~~ [ 292s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 292s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 292s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 292s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] test-activator.c:213:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 292s] 213 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 292s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 292s] | ^~~~~~~~~~~ [ 292s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 292s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 292s] | ^~~~~~~~~~ [ 292s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 292s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 292s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 292s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] test-activator.c:213:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 292s] 213 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] test-activator.c:218:9: note: in expansion of macro 'ASSERT_ZERO' [ 292s] 218 | ASSERT_ZERO(kdbus_msg_recv_poll(service, 100, NULL, NULL)); [ 292s] | ^~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 292s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 292s] | ^~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 292s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 292s] | ^~~~~~~~~~~ [ 292s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 292s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 292s] | ^~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 292s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 292s] | ^~~~~~~~~~~~ [ 292s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 292s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 292s] | ^~~~~~~~~~~~~~~ [ 292s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 292s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 292s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 292s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] test-activator.c:220:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 292s] 220 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 292s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 292s] | ^~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 292s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 292s] | ^~~~~~~~~~~ [ 292s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 292s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 292s] | ^~~~~~~~~~ [ 292s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 292s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 292s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 292s] | ^~~~~~~~~~~~ [ 292s] kdbus-util.h:144:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 292s] 144 | ASSERT_EXIT_NONZERO(_var_ = kdbus_hello(_bus_, 0, NULL, 0)); \ [ 292s] | ^~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 292s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] test-activator.c:220:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 292s] 220 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 292s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 292s] | ^~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 292s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 292s] | ^~~~~~~~~~~ [ 292s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 292s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 292s] | ^~~~~~~~~~ [ 292s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 292s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 292s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 292s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] test-activator.c:220:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 292s] 220 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 292s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 292s] | ^~~~~~~~~~~~ [ 292s] test-activator.c:222:17: note: in expansion of macro 'ASSERT_EXIT' [ 292s] 222 | ASSERT_EXIT(ONTIZEN(-EEXIST,-EPERM),==,kdbus_name_acquire(unpriv, "foo.priv.activator", &flags)); [ 292s] | ^~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 292s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 292s] | ^~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 292s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 292s] | ^~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 292s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 292s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 292s] | ^~~~~~~~~~~~~ [ 292s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 292s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 292s] | ^~~~~~~~~~ [ 292s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 292s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 292s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 292s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] test-activator.c:220:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 292s] 220 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 292s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 292s] | ^~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 292s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 292s] | ^~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 292s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 292s] | ^~~~~~~~~~~~~~ [ 292s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 292s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 292s] | ^~~~~~~~~~ [ 292s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 292s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 292s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 292s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] test-activator.c:220:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 292s] 220 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 292s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 292s] | ^~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 292s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 292s] | ^~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 292s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 292s] | ^~~~~~~~~~~ [ 292s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 292s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 292s] | ^~~~~~~~~~ [ 292s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 292s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 292s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 292s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] test-activator.c:220:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 292s] 220 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 292s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 292s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 292s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 292s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 292s] | ^~~~~~~~~~~~ [ 292s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 292s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 292s] | ^~~~~~~~~~~ [ 292s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 292s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 292s] | ^~~~~~~~~~ [ 292s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 292s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 292s] | ^~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 292s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 292s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 292s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 292s] test-activator.c:220:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 292s] 220 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 292s] | ^~~~~~~~~~~~~~~~~~~~~ [ 293s] cc -c test-benchmark.c -o test-benchmark.o -O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -I../../include/uapi/ -I../../samples/kdbus/ -std=gnu99 -Wno-error=shadow -DKBUILD_MODNAME=\"kdbus\" -D_GNU_SOURCE [ 294s] In file included from kdbus-api.h:5, [ 294s] from test-benchmark.c:20: [ 294s] test-benchmark.c: In function 'benchmark_bandwidth': [ 294s] test-benchmark.c:535:30: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] [ 294s] 535 | kdbus_printf("%llu kB/s\n", kilobytes_received / PERIOD_S); [ 294s] | ^~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] | | [ 294s] | uint64_t {aka long unsigned int} [ 294s] kdbus-util.h:33:38: note: in definition of macro 'print' [ 294s] 33 | #define print(...) fprintf(stderr, ##__VA_ARGS__) [ 294s] | ^~~~~~~~~~~ [ 294s] test-benchmark.c:535:17: note: in expansion of macro 'kdbus_printf' [ 294s] 535 | kdbus_printf("%llu kB/s\n", kilobytes_received / PERIOD_S); [ 294s] | ^~~~~~~~~~~~ [ 294s] test-benchmark.c:535:34: note: format string is defined here [ 294s] 535 | kdbus_printf("%llu kB/s\n", kilobytes_received / PERIOD_S); [ 294s] | ~~~^ [ 294s] | | [ 294s] | long long unsigned int [ 294s] | %lu [ 294s] In file included from test-benchmark.c:21: [ 294s] test-benchmark.c: In function 'handle_echo_reply': [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 294s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-benchmark.c:222:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 294s] 222 | ASSERT_RETURN_VAL(ret,==,0, ret); [ 294s] | ^~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 294s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-benchmark.c:238:25: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 294s] 238 | ASSERT_RETURN_VAL(buf,!=,MAP_FAILED, -EINVAL); [ 294s] | ^~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 294s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 294s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-benchmark.c:239:25: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 294s] 239 | ASSERT_RETURN_VAL(item->memfd.size,==,sizeof(uint64_t), -EINVAL); [ 294s] | ^~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 294s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-benchmark.c:239:25: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 294s] 239 | ASSERT_RETURN_VAL(item->memfd.size,==,sizeof(uint64_t), -EINVAL); [ 294s] | ^~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 294s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-benchmark.c:259:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 294s] 259 | ASSERT_RETURN_VAL(ret,==,0, -errno); [ 294s] | ^~~~~~~~~~~~~~~~~ [ 294s] test-benchmark.c: In function 'bandwidth_sender_thread': [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-benchmark.c:467:9: note: in expansion of macro 'ASSERT_NONZERO' [ 294s] 467 | ASSERT_NONZERO(conn_a); [ 294s] | ^~~~~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-benchmark.c:469:9: note: in expansion of macro 'ASSERT_NONZERO' [ 294s] 469 | ASSERT_NONZERO(conn_b); [ 294s] | ^~~~~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-benchmark.c:470:9: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 470 | ASSERT_ZERO(kdbus_add_match_empty(conn_a)); [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-benchmark.c:471:9: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 471 | ASSERT_ZERO(kdbus_add_match_empty(conn_b)); [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-benchmark.c:473:9: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 473 | ASSERT_ZERO(kdbus_name_acquire(conn_a, name, NULL)); [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-benchmark.c:474:9: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 474 | ASSERT_ZERO(setup_simple_kdbus_msg(conn_b, conn_a->id, data->env->payload, &kdbus_msg)); [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 294s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 294s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 294s] | ^~~~~~~~~~~~~ [ 294s] test-benchmark.c:475:9: note: in expansion of macro 'ASSERT_NO_PENDING' [ 294s] 475 | ASSERT_NO_PENDING(conn_a); [ 294s] | ^~~~~~~~~~~~~~~~~ [ 294s] test-benchmark.c: In function 'setup_simple_kdbus_msg': [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 294s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-benchmark.c:114:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 294s] 114 | ASSERT_RETURN_VAL(msg,!=,NULL, -ENOMEM); [ 294s] | ^~~~~~~~~~~~~~~~~ [ 294s] test-benchmark.c: In function 'send_echo_request': [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 294s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-benchmark.c:187:17: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 294s] 187 | ASSERT_RETURN_VAL(memfd,>=,0, memfd); [ 294s] | ^~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 294s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-benchmark.c:189:17: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 294s] 189 | ASSERT_RETURN_VAL(write(memfd, &now_ns, sizeof(now_ns)),==,(typeof(write(memfd, &now_ns, sizeof(now_ns))))sizeof(now_ns), -EAGAIN); [ 294s] | ^~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 294s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-benchmark.c:191:17: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 294s] 191 | ASSERT_RETURN_VAL(sys_memfd_seal_set(memfd),==,0, -errno); [ 294s] | ^~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 294s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-benchmark.c:201:17: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 294s] 201 | ASSERT_RETURN_VAL(ret,==,0, ret); [ 294s] | ^~~~~~~~~~~~~~~~~ [ 294s] test-benchmark.c: In function 'benchmark': [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-benchmark.c:279:9: note: in expansion of macro 'ASSERT_NONZERO' [ 294s] 279 | ASSERT_NONZERO(stress_payload); [ 294s] | ^~~~~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-benchmark.c:282:9: note: in expansion of macro 'ASSERT_NONZERO' [ 294s] 282 | ASSERT_NONZERO(buf); [ 294s] | ^~~~~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-benchmark.c:290:9: note: in expansion of macro 'ASSERT_NONZERO' [ 294s] 290 | ASSERT_NONZERO(conn_a); [ 294s] | ^~~~~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-benchmark.c:292:9: note: in expansion of macro 'ASSERT_NONZERO' [ 294s] 292 | ASSERT_NONZERO(conn_b); [ 294s] | ^~~~~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-benchmark.c:294:9: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 294 | ASSERT_ZERO(kdbus_add_match_empty(conn_a)); [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-benchmark.c:296:9: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 296 | ASSERT_ZERO(kdbus_add_match_empty(conn_b)); [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-benchmark.c:298:9: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 298 | ASSERT_ZERO(kdbus_name_acquire(conn_a, SERVICE_NAME, NULL)); [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-benchmark.c:301:17: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 301 | ASSERT_ZERO(kdbus_conn_update_attach_flags(conn_a, _KDBUS_ATTACH_ALL, 0)); [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-benchmark.c:305:9: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 305 | ASSERT_ZERO(socketpair(AF_UNIX, SOCK_SEQPACKET | SOCK_NONBLOCK, 0, uds)); [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-benchmark.c:309:17: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 309 | ASSERT_ZERO(setup_memfd_kdbus_msg(conn_b, conn_a->id, env->payload, &memfd_cached_offset, &kdbus_msg)); [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-benchmark.c:311:17: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 311 | ASSERT_ZERO(setup_simple_kdbus_msg(conn_b, conn_a->id, env->payload, &kdbus_msg)); [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 294s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 294s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 294s] | ^~~~~~~~~~~~~ [ 294s] test-benchmark.c:317:9: note: in expansion of macro 'ASSERT_NO_PENDING' [ 294s] 317 | ASSERT_NO_PENDING(conn_a); [ 294s] | ^~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-benchmark.c:328:17: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 328 | ASSERT_ZERO(send_echo_request(conn_b, kdbus_msg, memfd_cached_offset)); [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-benchmark.c:343:33: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 343 | ASSERT_ZERO(handle_echo_reply(conn_a, send_ns)); [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-benchmark.c:346:33: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 346 | ASSERT_ZERO(send_echo_request(conn_b, kdbus_msg, memfd_cached_offset)); [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-benchmark.c:355:33: note: in expansion of macro 'ASSERT_ZERO' [ 294s] 355 | ASSERT_ZERO(handle_echo_reply(conn_a, send_ns)); /* purge last message to prevent leaks */ [ 294s] | ^~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 294s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-benchmark.c:375:17: note: in expansion of macro 'ASSERT_RETURN' [ 294s] 375 | ASSERT_RETURN((typeof(write(uds[0], stress_payload, env->payload)))env->payload,==,write(uds[0], stress_payload, env->payload)); [ 294s] | ^~~~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 294s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-benchmark.c:390:33: note: in expansion of macro 'ASSERT_RETURN' [ 294s] 390 | ASSERT_RETURN((typeof(read(uds[1], buf, env->payload)))env->payload,==,read(uds[1], buf, env->payload)); [ 294s] | ^~~~~~~~~~~~~ [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 294s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-benchmark.c:395:33: note: in expansion of macro 'ASSERT_RETURN' [ 294s] 395 | ASSERT_RETURN((typeof(write(uds[0], buf, env->payload)))env->payload,==,write(uds[0], buf, env->payload)); [ 294s] | ^~~~~~~~~~~~~ [ 294s] test-benchmark.c: In function 'setup_memfd_kdbus_msg': [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 294s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-benchmark.c:150:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 294s] 150 | ASSERT_RETURN_VAL(msg,!=,NULL, -ENOMEM); [ 294s] | ^~~~~~~~~~~~~~~~~ [ 294s] test-benchmark.c: In function 'benchmark_bandwidth': [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-benchmark.c:510:9: note: in expansion of macro 'ASSERT_NONZERO' [ 294s] 510 | ASSERT_NONZERO(stress_payload); [ 294s] | ^~~~~~~~~~~~~~ [ 294s] test-benchmark.c: In function 'benchmark_latency_mt': [ 294s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 294s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 294s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 294s] | ^~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 294s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 294s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 294s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 294s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 294s] | ^~~~~~~~~~~~ [ 294s] test-benchmark.c:548:9: note: in expansion of macro 'ASSERT_NONZERO' [ 294s] 548 | ASSERT_NONZERO(stress_payload); [ 294s] | ^~~~~~~~~~~~~~ [ 295s] cc -c test-bus.c -o test-bus.o -O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -I../../include/uapi/ -I../../samples/kdbus/ -std=gnu99 -Wno-error=shadow -DKBUILD_MODNAME=\"kdbus\" -D_GNU_SOURCE [ 295s] In file included from test-bus.c:17: [ 295s] test-bus.c: In function 'kdbus_test_bus_make': [ 295s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 295s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 295s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 295s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 295s] | ^~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 295s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 295s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 295s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 295s] | ^~~~~~~~~~~~ [ 295s] test-bus.c:91:9: note: in expansion of macro 'ASSERT_NONZERO' [ 295s] 91 | ASSERT_NONZERO(name); [ 295s] | ^~~~~~~~~~~~~~ [ 295s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 295s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 295s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 295s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 295s] | ^~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 295s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 295s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 295s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 295s] | ^~~~~~~~~~~~ [ 295s] test-bus.c:95:9: note: in expansion of macro 'ASSERT_RETURN' [ 295s] 95 | ASSERT_RETURN(env->control_fd,>=,0); [ 295s] | ^~~~~~~~~~~~~ [ 295s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 295s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 295s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 295s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 295s] | ^~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 295s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 295s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 295s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 295s] | ^~~~~~~~~~~~ [ 295s] test-bus.c:98:9: note: in expansion of macro 'ASSERT_RETURN' [ 295s] 98 | ASSERT_RETURN(control_fd2,>=,0); [ 295s] | ^~~~~~~~~~~~~ [ 295s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 295s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 295s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 295s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 295s] | ^~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 295s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 295s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 295s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 295s] | ^~~~~~~~~~~~ [ 295s] test-bus.c:116:9: note: in expansion of macro 'ASSERT_RETURN' [ 295s] 116 | ASSERT_RETURN(-EINVAL,==,kdbus_cmd_bus_make(env->control_fd, &bus_make.cmd)); [ 295s] | ^~~~~~~~~~~~~ [ 295s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 295s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 295s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 295s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 295s] | ^~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 295s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 295s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 295s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 295s] | ^~~~~~~~~~~~ [ 295s] test-bus.c:123:9: note: in expansion of macro 'ASSERT_RETURN' [ 295s] 123 | ASSERT_RETURN(-EINVAL,==,kdbus_cmd_bus_make(env->control_fd, &bus_make.cmd)); [ 295s] | ^~~~~~~~~~~~~ [ 295s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 295s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 295s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 295s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 295s] | ^~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 295s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 295s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 295s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 295s] | ^~~~~~~~~~~~ [ 295s] test-bus.c:130:9: note: in expansion of macro 'ASSERT_RETURN' [ 295s] 130 | ASSERT_RETURN(-EINVAL,==,kdbus_cmd_bus_make(env->control_fd, &bus_make.cmd)); [ 295s] | ^~~~~~~~~~~~~ [ 295s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 295s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 295s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 295s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 295s] | ^~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 295s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 295s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 295s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 295s] | ^~~~~~~~~~~~ [ 295s] test-bus.c:137:9: note: in expansion of macro 'ASSERT_ZERO' [ 295s] 137 | ASSERT_ZERO(kdbus_cmd_bus_make(env->control_fd, &bus_make.cmd)); [ 295s] | ^~~~~~~~~~~ [ 295s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 295s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 295s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 295s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 295s] | ^~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 295s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 295s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 295s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 295s] | ^~~~~~~~~~~~ [ 295s] test-bus.c:139:9: note: in expansion of macro 'ASSERT_RETURN' [ 295s] 139 | ASSERT_RETURN(-EEXIST,==,kdbus_cmd_bus_make(control_fd2, &bus_make.cmd)); [ 295s] | ^~~~~~~~~~~~~ [ 295s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 295s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 295s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 295s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 295s] | ^~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 295s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 295s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 295s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 295s] | ^~~~~~~~~~~~ [ 295s] test-bus.c:142:9: note: in expansion of macro 'ASSERT_ZERO' [ 295s] 142 | ASSERT_ZERO(access(s, F_OK)); [ 295s] | ^~~~~~~~~~~ [ 295s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 295s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 295s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 295s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 295s] | ^~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 295s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 295s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 295s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 295s] | ^~~~~~~~~~~~ [ 295s] test-bus.c:144:9: note: in expansion of macro 'ASSERT_ZERO' [ 295s] 144 | ASSERT_ZERO(test_bus_creator_info(s)); [ 295s] | ^~~~~~~~~~~ [ 295s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 295s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 295s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 295s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 295s] | ^~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 295s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 295s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 295s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 295s] | ^~~~~~~~~~~~ [ 295s] test-bus.c:153:9: note: in expansion of macro 'ASSERT_RETURN' [ 295s] 153 | ASSERT_RETURN(-EBADFD,==,kdbus_cmd_bus_make(env->control_fd, &bus_make.cmd)); [ 295s] | ^~~~~~~~~~~~~ [ 295s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 295s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 295s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 295s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 295s] | ^~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 295s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 295s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 295s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 295s] | ^~~~~~~~~~~~ [ 295s] test-bus.c:160:9: note: in expansion of macro 'ASSERT_ZERO' [ 295s] 160 | ASSERT_ZERO(kdbus_cmd_bus_make(control_fd2, &bus_make.cmd)); [ 295s] | ^~~~~~~~~~~ [ 295s] test-bus.c: In function 'test_bus_creator_info': [ 295s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 295s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 295s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 295s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 295s] | ^~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 295s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 295s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 295s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 295s] | ^~~~~~~~~~~~ [ 295s] test-bus.c:42:9: note: in expansion of macro 'ASSERT_NONZERO' [ 295s] 42 | ASSERT_NONZERO(tmp); [ 295s] | ^~~~~~~~~~~~~~ [ 295s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 295s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 295s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 295s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 295s] | ^~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 295s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 295s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 295s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 295s] | ^~~~~~~~~~~~ [ 295s] test-bus.c:44:9: note: in expansion of macro 'ASSERT_NONZERO' [ 295s] 44 | ASSERT_NONZERO(busname); [ 295s] | ^~~~~~~~~~~~~~ [ 295s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 295s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 295s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 295s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 295s] | ^~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 295s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 295s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 295s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 295s] | ^~~~~~~~~~~~ [ 295s] test-bus.c:47:9: note: in expansion of macro 'ASSERT_NONZERO' [ 295s] 47 | ASSERT_NONZERO(busname); [ 295s] | ^~~~~~~~~~~~~~ [ 295s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 295s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 295s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 295s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 295s] | ^~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 295s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 295s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 295s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 295s] | ^~~~~~~~~~~~ [ 295s] test-bus.c:51:9: note: in expansion of macro 'ASSERT_NONZERO' [ 295s] 51 | ASSERT_NONZERO(conn); [ 295s] | ^~~~~~~~~~~~~~ [ 295s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 295s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 295s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 295s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 295s] | ^~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 295s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 295s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 295s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 295s] | ^~~~~~~~~~~~ [ 295s] test-bus.c:53:9: note: in expansion of macro 'ASSERT_ZERO' [ 295s] 53 | ASSERT_ZERO(kdbus_bus_creator_info(conn, _KDBUS_ATTACH_ALL, &offset)); [ 295s] | ^~~~~~~~~~~ [ 295s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 295s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 295s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 295s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 295s] | ^~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 295s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 295s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 295s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 295s] | ^~~~~~~~~~~~ [ 295s] test-bus.c:58:9: note: in expansion of macro 'ASSERT_NONZERO' [ 295s] 58 | ASSERT_NONZERO(item); [ 295s] | ^~~~~~~~~~~~~~ [ 295s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 295s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 295s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 295s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 295s] | ^~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 295s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 295s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 295s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 295s] | ^~~~~~~~~~~~ [ 295s] test-bus.c:59:9: note: in expansion of macro 'ASSERT_ZERO' [ 295s] 59 | ASSERT_ZERO(strcmp(item->str, busname)); [ 295s] | ^~~~~~~~~~~ [ 295s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 295s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 295s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 295s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 295s] | ^~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 295s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 295s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 295s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 295s] | ^~~~~~~~~~~~ [ 295s] test-bus.c:62:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 295s] 62 | ASSERT_RETURN_VAL(ret,==,0, ret); [ 295s] | ^~~~~~~~~~~~~~~~~ [ 295s] cc -c test-chat.c -o test-chat.o -O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -I../../include/uapi/ -I../../samples/kdbus/ -std=gnu99 -Wno-error=shadow -DKBUILD_MODNAME=\"kdbus\" -D_GNU_SOURCE [ 295s] In file included from test-chat.c:14: [ 295s] test-chat.c: In function 'kdbus_test_chat': [ 295s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 295s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 295s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 295s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 295s] | ^~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 295s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 295s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 295s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 295s] | ^~~~~~~~~~~~ [ 295s] test-chat.c:27:9: note: in expansion of macro 'ASSERT_NONZERO' [ 295s] 27 | ASSERT_NONZERO(conn_a); [ 295s] | ^~~~~~~~~~~~~~ [ 295s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 295s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 295s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 295s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 295s] | ^~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 295s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 295s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 295s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 295s] | ^~~~~~~~~~~~ [ 295s] test-chat.c:29:9: note: in expansion of macro 'ASSERT_NONZERO' [ 295s] 29 | ASSERT_NONZERO(conn_b); [ 295s] | ^~~~~~~~~~~~~~ [ 295s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 295s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 295s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 295s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 295s] | ^~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 295s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 295s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 295s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 295s] | ^~~~~~~~~~~~ [ 295s] test-chat.c:32:9: note: in expansion of macro 'ASSERT_ZERO' [ 295s] 32 | ASSERT_ZERO(kdbus_name_acquire(conn_a, "foo.bar.test", &flags)); [ 295s] | ^~~~~~~~~~~ [ 295s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 295s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 295s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 295s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 295s] | ^~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 295s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 295s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 295s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 295s] | ^~~~~~~~~~~~ [ 295s] test-chat.c:34:9: note: in expansion of macro 'ASSERT_ZERO' [ 295s] 34 | ASSERT_ZERO(kdbus_name_acquire(conn_a, "foo.bar.baz", NULL)); [ 295s] | ^~~~~~~~~~~ [ 295s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 295s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 295s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 295s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 295s] | ^~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 295s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 295s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 295s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 295s] | ^~~~~~~~~~~~ [ 295s] test-chat.c:37:9: note: in expansion of macro 'ASSERT_ZERO' [ 295s] 37 | ASSERT_ZERO(kdbus_name_acquire(conn_b, "foo.bar.baz", &flags)); [ 295s] | ^~~~~~~~~~~ [ 295s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 295s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 295s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 295s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 295s] | ^~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 295s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 295s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 295s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 295s] | ^~~~~~~~~~~~ [ 295s] test-chat.c:39:9: note: in expansion of macro 'ASSERT_ZERO' [ 295s] 39 | ASSERT_ZERO(kdbus_name_acquire(conn_a, "foo.bar.double", NULL)); [ 295s] | ^~~~~~~~~~~ [ 295s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 295s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 295s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 295s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 295s] | ^~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 295s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 295s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 295s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 295s] | ^~~~~~~~~~~~ [ 295s] test-chat.c:42:9: note: in expansion of macro 'ASSERT_ZERO' [ 295s] 42 | ASSERT_ZERO(kdbus_name_acquire(conn_a, "foo.bar.double", &flags)); [ 295s] | ^~~~~~~~~~~ [ 295s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 295s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 295s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 295s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 295s] | ^~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 295s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 295s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 295s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 295s] | ^~~~~~~~~~~~ [ 295s] test-chat.c:43:9: note: in expansion of macro 'ASSERT_ZERO' [ 295s] 43 | ASSERT_ZERO(flags & KDBUS_NAME_ACQUIRED); [ 295s] | ^~~~~~~~~~~ [ 295s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 295s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 295s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 295s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 295s] | ^~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 295s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 295s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 295s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 295s] | ^~~~~~~~~~~~ [ 295s] test-chat.c:45:9: note: in expansion of macro 'ASSERT_ZERO' [ 295s] 45 | ASSERT_ZERO(kdbus_name_release(conn_a, "foo.bar.double")); [ 295s] | ^~~~~~~~~~~ [ 295s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 295s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 295s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 295s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 295s] | ^~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 295s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 295s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 295s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 295s] | ^~~~~~~~~~~~ [ 295s] test-chat.c:47:9: note: in expansion of macro 'ASSERT_RETURN' [ 295s] 47 | ASSERT_RETURN(-ESRCH,==,kdbus_name_release(conn_a, "foo.bar.double")); [ 295s] | ^~~~~~~~~~~~~ [ 295s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 295s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 295s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 295s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 295s] | ^~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 295s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 295s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 295s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 295s] | ^~~~~~~~~~~~ [ 295s] test-chat.c:49:9: note: in expansion of macro 'ASSERT_ZERO' [ 295s] 49 | ASSERT_ZERO(kdbus_list(conn_b, KDBUS_LIST_UNIQUE | KDBUS_LIST_NAMES | KDBUS_LIST_QUEUED | KDBUS_LIST_ACTIVATORS)); [ 295s] | ^~~~~~~~~~~ [ 295s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 295s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 295s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 295s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 295s] | ^~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 295s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 295s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 295s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 295s] | ^~~~~~~~~~~~ [ 295s] test-chat.c:51:9: note: in expansion of macro 'ASSERT_ZERO' [ 295s] 51 | ASSERT_ZERO(kdbus_add_match_empty(conn_a)); [ 295s] | ^~~~~~~~~~~ [ 295s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 295s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 295s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 295s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 295s] | ^~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 295s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 295s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 295s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 295s] | ^~~~~~~~~~~~ [ 295s] test-chat.c:53:9: note: in expansion of macro 'ASSERT_ZERO' [ 295s] 53 | ASSERT_ZERO(kdbus_add_match_empty(conn_b)); [ 295s] | ^~~~~~~~~~~ [ 295s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 295s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 295s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 295s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 295s] | ^~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 295s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 295s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 295s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 295s] | ^~~~~~~~~~~~ [ 295s] test-chat.c:56:9: note: in expansion of macro 'ASSERT_ZERO' [ 295s] 56 | ASSERT_ZERO(kdbus_msg_send(conn_b, NULL, 0xc0000000 | cookie, 0, 0, 0, KDBUS_DST_ID_BROADCAST)); [ 295s] | ^~~~~~~~~~~ [ 295s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 295s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 295s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 295s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 295s] | ^~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 295s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 295s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 295s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 295s] | ^~~~~~~~~~~~ [ 295s] test-chat.c:72:17: note: in expansion of macro 'ASSERT_RETURN' [ 295s] 72 | ASSERT_RETURN(ret,>=,0); [ 295s] | ^~~~~~~~~~~~~ [ 295s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 295s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 295s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 295s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 295s] | ^~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 295s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 295s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 295s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 295s] | ^~~~~~~~~~~~ [ 295s] test-chat.c:76:33: note: in expansion of macro 'ASSERT_ZERO' [ 295s] 76 | ASSERT_ZERO(kdbus_name_release(conn_a, "foo.bar.baz")); [ 295s] | ^~~~~~~~~~~ [ 295s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 295s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 295s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 295s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 295s] | ^~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 295s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 295s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 295s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 295s] | ^~~~~~~~~~~~ [ 295s] test-chat.c:78:25: note: in expansion of macro 'ASSERT_ZERO' [ 295s] 78 | ASSERT_ZERO(kdbus_msg_recv(conn_a, NULL, NULL)); [ 295s] | ^~~~~~~~~~~ [ 295s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 295s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 295s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 295s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 295s] | ^~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 295s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 295s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 295s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 295s] | ^~~~~~~~~~~~ [ 295s] test-chat.c:79:25: note: in expansion of macro 'ASSERT_ZERO' [ 295s] 79 | ASSERT_ZERO(kdbus_msg_send(conn_a, NULL, 0xc0000000 | cookie++, 0, 0, 0, conn_b->id)); [ 295s] | ^~~~~~~~~~~ [ 295s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 295s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 295s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 295s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 295s] | ^~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 295s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 295s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 295s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 295s] | ^~~~~~~~~~~~ [ 295s] test-chat.c:83:25: note: in expansion of macro 'ASSERT_ZERO' [ 295s] 83 | ASSERT_ZERO(kdbus_msg_recv(conn_b, NULL, NULL)); [ 295s] | ^~~~~~~~~~~ [ 295s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 295s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 295s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 295s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 295s] | ^~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 295s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 295s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 295s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 295s] | ^~~~~~~~~~~~ [ 295s] test-chat.c:84:25: note: in expansion of macro 'ASSERT_ZERO' [ 295s] 84 | ASSERT_ZERO(kdbus_msg_send(conn_b, NULL, 0xc0000000 | cookie++, 0, 0, 0, conn_a->id)); [ 295s] | ^~~~~~~~~~~ [ 295s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 295s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 295s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 295s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 295s] | ^~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 295s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 295s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 295s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 295s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 295s] | ^~~~~~~~~~~~ [ 295s] test-chat.c:87:17: note: in expansion of macro 'ASSERT_ZERO' [ 295s] 87 | ASSERT_ZERO(kdbus_list(conn_b, KDBUS_LIST_UNIQUE | KDBUS_LIST_NAMES | KDBUS_LIST_QUEUED | KDBUS_LIST_ACTIVATORS)); [ 295s] | ^~~~~~~~~~~ [ 296s] cc -c test-connection.c -o test-connection.o -O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -I../../include/uapi/ -I../../samples/kdbus/ -std=gnu99 -Wno-error=shadow -DKBUILD_MODNAME=\"kdbus\" -D_GNU_SOURCE [ 296s] In file included from test-connection.c:21: [ 296s] test-connection.c: In function 'kdbus_test_hello': [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 296s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:32:9: note: in expansion of macro 'ASSERT_RETURN' [ 296s] 32 | ASSERT_RETURN(fd,>=,0); [ 296s] | ^~~~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 296s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:41:9: note: in expansion of macro 'ASSERT_RETURN' [ 296s] 41 | ASSERT_RETURN(-EFAULT,==,kdbus_cmd_hello(fd, (struct kdbus_cmd_hello *) ((char *) &hello + 1))); [ 296s] | ^~~~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 296s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:47:9: note: in expansion of macro 'ASSERT_RETURN' [ 296s] 47 | ASSERT_RETURN(-EINVAL,==,kdbus_cmd_hello(fd, &hello)); [ 296s] | ^~~~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 296s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:54:9: note: in expansion of macro 'ASSERT_RETURN' [ 296s] 54 | ASSERT_RETURN(-EINVAL,==,kdbus_cmd_hello(fd, &hello)); [ 296s] | ^~~~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 296s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:60:9: note: in expansion of macro 'ASSERT_RETURN' [ 296s] 60 | ASSERT_RETURN(-EINVAL,==,kdbus_cmd_hello(fd, &hello)); [ 296s] | ^~~~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 296s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:64:9: note: in expansion of macro 'ASSERT_RETURN' [ 296s] 64 | ASSERT_RETURN(-EINVAL,==,kdbus_cmd_hello(fd, &hello)); [ 296s] | ^~~~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:72:9: note: in expansion of macro 'ASSERT_ZERO' [ 296s] 72 | ASSERT_ZERO(kdbus_cmd_hello(fd, &hello)); [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 296s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 296s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:75:9: note: in expansion of macro 'ASSERT_RETURN' [ 296s] 75 | ASSERT_RETURN(hello.offset,!=,(__u64)-1); [ 296s] | ^~~~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 296s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:75:9: note: in expansion of macro 'ASSERT_RETURN' [ 296s] 75 | ASSERT_RETURN(hello.offset,!=,(__u64)-1); [ 296s] | ^~~~~~~~~~~~~ [ 296s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 296s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 296s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:75:9: note: in expansion of macro 'ASSERT_RETURN' [ 296s] 75 | ASSERT_RETURN(hello.offset,!=,(__u64)-1); [ 296s] | ^~~~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:78:9: note: in expansion of macro 'ASSERT_ZERO' [ 296s] 78 | ASSERT_ZERO(kdbus_cmd_free(fd, &cmd_free)); [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 296s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:83:9: note: in expansion of macro 'ASSERT_RETURN' [ 296s] 83 | ASSERT_RETURN(fd,>=,0); [ 296s] | ^~~~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 296s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:87:9: note: in expansion of macro 'ASSERT_RETURN' [ 296s] 87 | ASSERT_RETURN(-EINVAL,==,kdbus_cmd_hello(fd, &hello)); [ 296s] | ^~~~~~~~~~~~~ [ 296s] test-connection.c: In function 'kdbus_test_byebye': [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:102:9: note: in expansion of macro 'ASSERT_NONZERO' [ 296s] 102 | ASSERT_NONZERO(conn); [ 296s] | ^~~~~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:104:9: note: in expansion of macro 'ASSERT_ZERO' [ 296s] 104 | ASSERT_ZERO(kdbus_add_match_empty(conn)); [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:106:9: note: in expansion of macro 'ASSERT_ZERO' [ 296s] 106 | ASSERT_ZERO(kdbus_add_match_empty(env->conn)); [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:109:9: note: in expansion of macro 'ASSERT_ZERO' [ 296s] 109 | ASSERT_ZERO(kdbus_msg_send(env->conn, NULL, 0, 0, 0, 0, KDBUS_DST_ID_BROADCAST)); [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 296s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:112:9: note: in expansion of macro 'ASSERT_RETURN' [ 296s] 112 | ASSERT_RETURN(-EBUSY,==,kdbus_cmd_byebye(conn->fd, &cmd_byebye)); [ 296s] | ^~~~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:115:9: note: in expansion of macro 'ASSERT_ZERO' [ 296s] 115 | ASSERT_ZERO(kdbus_cmd_recv(conn->fd, &cmd_recv)); [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:117:9: note: in expansion of macro 'ASSERT_ZERO' [ 296s] 117 | ASSERT_ZERO(kdbus_free(conn, cmd_recv.msg.offset)); [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:120:9: note: in expansion of macro 'ASSERT_ZERO' [ 296s] 120 | ASSERT_ZERO(kdbus_cmd_byebye(conn->fd, &cmd_byebye)); [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 296s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:123:9: note: in expansion of macro 'ASSERT_RETURN' [ 296s] 123 | ASSERT_RETURN(-ECONNRESET,==,kdbus_cmd_byebye(conn->fd, &cmd_byebye)); [ 296s] | ^~~~~~~~~~~~~ [ 296s] test-connection.c: In function 'kdbus_test_conn_info': [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:407:9: note: in expansion of macro 'ASSERT_ZERO' [ 296s] 407 | ASSERT_ZERO(kdbus_conn_info(env->conn, env->conn->id, NULL, 0, NULL)); [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 296s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:416:9: note: in expansion of macro 'ASSERT_RETURN' [ 296s] 416 | ASSERT_RETURN(-EINVAL,==,kdbus_cmd_conn_info(env->conn->fd, (struct kdbus_cmd_info *) &buf)); [ 296s] | ^~~~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 296s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:419:9: note: in expansion of macro 'ASSERT_RETURN' [ 296s] 419 | ASSERT_RETURN(-ESRCH,==,kdbus_conn_info(env->conn, 0, "non.existent.name", 0, NULL)); [ 296s] | ^~~~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 296s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:426:9: note: in expansion of macro 'ASSERT_RETURN' [ 296s] 426 | ASSERT_RETURN(have_caps,>=,0); [ 296s] | ^~~~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:428:9: note: in expansion of macro 'ASSERT_ZERO' [ 296s] 428 | ASSERT_ZERO(kdbus_fuzz_conn_info(env, have_caps)); [ 296s] | ^~~~~~~~~~~ [ 296s] test-connection.c: In function 'kdbus_fuzz_conn_info': [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:199:9: note: in expansion of macro 'ASSERT_ZERO' [ 296s] 199 | ASSERT_ZERO(kdbus_conn_info(env->conn, env->conn->id, NULL, valid_flags, &offset)); [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 296s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 296s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:202:9: note: in expansion of macro 'ASSERT_RETURN' [ 296s] 202 | ASSERT_RETURN(info->id,==,env->conn->id); [ 296s] | ^~~~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 296s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:202:9: note: in expansion of macro 'ASSERT_RETURN' [ 296s] 202 | ASSERT_RETURN(info->id,==,env->conn->id); [ 296s] | ^~~~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:206:9: note: in expansion of macro 'ASSERT_ZERO' [ 296s] 206 | ASSERT_ZERO(item); [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:210:17: note: in expansion of macro 'ASSERT_NONZERO' [ 296s] 210 | ASSERT_NONZERO(item); [ 296s] | ^~~~~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:212:17: note: in expansion of macro 'ASSERT_ZERO' [ 296s] 212 | ASSERT_ZERO(item); [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:214:9: note: in expansion of macro 'ASSERT_ZERO' [ 296s] 214 | ASSERT_ZERO(kdbus_free(env->conn, offset)); [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:217:9: note: in expansion of macro 'ASSERT_NONZERO' [ 296s] 217 | ASSERT_NONZERO(conn); [ 296s] | ^~~~~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:220:9: note: in expansion of macro 'ASSERT_NONZERO' [ 296s] 220 | ASSERT_NONZERO(privileged); [ 296s] | ^~~~~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:222:9: note: in expansion of macro 'ASSERT_ZERO' [ 296s] 222 | ASSERT_ZERO(kdbus_conn_info(conn, conn->id, NULL, valid_flags, &offset)); [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 296s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 296s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:225:9: note: in expansion of macro 'ASSERT_RETURN' [ 296s] 225 | ASSERT_RETURN(info->id,==,conn->id); [ 296s] | ^~~~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 296s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:225:9: note: in expansion of macro 'ASSERT_RETURN' [ 296s] 225 | ASSERT_RETURN(info->id,==,conn->id); [ 296s] | ^~~~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:229:9: note: in expansion of macro 'ASSERT_ZERO' [ 296s] 229 | ASSERT_ZERO(item); [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 296s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:233:17: note: in expansion of macro 'ASSERT_RETURN' [ 296s] 233 | ASSERT_RETURN(cnt,==,1U); [ 296s] | ^~~~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:236:17: note: in expansion of macro 'ASSERT_NONZERO' [ 296s] 236 | ASSERT_NONZERO(item); [ 296s] | ^~~~~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:239:17: note: in expansion of macro 'ASSERT_ZERO' [ 296s] 239 | ASSERT_ZERO(memcmp(&item->creds, &cached_creds, sizeof(struct kdbus_creds))); [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:241:17: note: in expansion of macro 'ASSERT_ZERO' [ 296s] 241 | ASSERT_ZERO(cnt); [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:245:17: note: in expansion of macro 'ASSERT_NONZERO' [ 296s] 245 | ASSERT_NONZERO(item); [ 296s] | ^~~~~~~~~~~~~~ [ 296s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 296s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 296s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:248:17: note: in expansion of macro 'ASSERT_RETURN' [ 296s] 248 | ASSERT_RETURN(item->pids.pid,==,cached_pids.pid); [ 296s] | ^~~~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 296s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:248:17: note: in expansion of macro 'ASSERT_RETURN' [ 296s] 248 | ASSERT_RETURN(item->pids.pid,==,cached_pids.pid); [ 296s] | ^~~~~~~~~~~~~ [ 296s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 296s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 296s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:248:17: note: in expansion of macro 'ASSERT_RETURN' [ 296s] 248 | ASSERT_RETURN(item->pids.pid,==,cached_pids.pid); [ 296s] | ^~~~~~~~~~~~~ [ 296s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 296s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 296s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:249:17: note: in expansion of macro 'ASSERT_RETURN' [ 296s] 249 | ASSERT_RETURN(item->pids.tid,==,cached_pids.tid); [ 296s] | ^~~~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 296s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:249:17: note: in expansion of macro 'ASSERT_RETURN' [ 296s] 249 | ASSERT_RETURN(item->pids.tid,==,cached_pids.tid); [ 296s] | ^~~~~~~~~~~~~ [ 296s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 296s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 296s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:249:17: note: in expansion of macro 'ASSERT_RETURN' [ 296s] 249 | ASSERT_RETURN(item->pids.tid,==,cached_pids.tid); [ 296s] | ^~~~~~~~~~~~~ [ 296s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 296s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 296s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:250:17: note: in expansion of macro 'ASSERT_RETURN' [ 296s] 250 | ASSERT_RETURN(item->pids.ppid,==,cached_pids.ppid); [ 296s] | ^~~~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 296s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:250:17: note: in expansion of macro 'ASSERT_RETURN' [ 296s] 250 | ASSERT_RETURN(item->pids.ppid,==,cached_pids.ppid); [ 296s] | ^~~~~~~~~~~~~ [ 296s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 296s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 296s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:250:17: note: in expansion of macro 'ASSERT_RETURN' [ 296s] 250 | ASSERT_RETURN(item->pids.ppid,==,cached_pids.ppid); [ 296s] | ^~~~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:252:17: note: in expansion of macro 'ASSERT_ZERO' [ 296s] 252 | ASSERT_ZERO(item); [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:256:9: note: in expansion of macro 'ASSERT_ZERO' [ 296s] 256 | ASSERT_ZERO(item); [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:258:9: note: in expansion of macro 'ASSERT_ZERO' [ 296s] 258 | ASSERT_ZERO(kdbus_free(conn, offset)); [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:260:9: note: in expansion of macro 'ASSERT_ZERO' [ 296s] 260 | ASSERT_ZERO(kdbus_name_acquire(conn, "com.example.a", NULL)); [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:262:9: note: in expansion of macro 'ASSERT_ZERO' [ 296s] 262 | ASSERT_ZERO(kdbus_conn_info(conn, conn->id, NULL, valid_flags, &offset)); [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 296s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 296s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:265:9: note: in expansion of macro 'ASSERT_RETURN' [ 296s] 265 | ASSERT_RETURN(info->id,==,conn->id); [ 296s] | ^~~~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 296s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:265:9: note: in expansion of macro 'ASSERT_RETURN' [ 296s] 265 | ASSERT_RETURN(info->id,==,conn->id); [ 296s] | ^~~~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:269:17: note: in expansion of macro 'ASSERT_NONZERO' [ 296s] 269 | ASSERT_NONZERO(item); [ 296s] | ^~~~~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:270:17: note: in expansion of macro 'ASSERT_ZERO' [ 296s] 270 | ASSERT_ZERO(strcmp(item->name.name, "com.example.a")); [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:272:17: note: in expansion of macro 'ASSERT_ZERO' [ 296s] 272 | ASSERT_ZERO(item); [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:274:9: note: in expansion of macro 'ASSERT_ZERO' [ 296s] 274 | ASSERT_ZERO(kdbus_free(conn, offset)); [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:276:9: note: in expansion of macro 'ASSERT_ZERO' [ 296s] 276 | ASSERT_ZERO(kdbus_conn_info(conn, 0, "com.example.a", valid_flags, &offset)); [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 296s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 296s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:279:9: note: in expansion of macro 'ASSERT_RETURN' [ 296s] 279 | ASSERT_RETURN(info->id,==,conn->id); [ 296s] | ^~~~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 296s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:279:9: note: in expansion of macro 'ASSERT_RETURN' [ 296s] 279 | ASSERT_RETURN(info->id,==,conn->id); [ 296s] | ^~~~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:281:9: note: in expansion of macro 'ASSERT_ZERO' [ 296s] 281 | ASSERT_ZERO(kdbus_free(conn, offset)); [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 296s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 296s] | ^~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 296s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 296s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 296s] | ^~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 296s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 296s] | ^~~~~~~~~~~~ [ 296s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 296s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 296s] | ^~~~~~~~~~~~~~~ [ 296s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 296s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 296s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 296s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 296s] | ^~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 296s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 296s] | ^~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 296s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 296s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 296s] | ^~~~~~~~~~ [ 296s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 296s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 296s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 296s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 296s] | ^~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:288:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 296s] 288 | ASSERT_EXIT_ZERO(kdbus_conn_info(conn, conn->id, NULL, valid_flags, &offset)); [ 296s] | ^~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 296s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 296s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 296s] | ^~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 296s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 296s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 296s] | ^~~~~~~~~~ [ 296s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 296s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 296s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 296s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 296s] | ^~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 296s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:291:17: note: in expansion of macro 'ASSERT_EXIT' [ 296s] 291 | ASSERT_EXIT(info->id,==,conn->id); [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 296s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 296s] | ^~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 296s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 296s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 296s] | ^~~~~~~~~~ [ 296s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 296s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 296s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 296s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 296s] | ^~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 296s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:291:17: note: in expansion of macro 'ASSERT_EXIT' [ 296s] 291 | ASSERT_EXIT(info->id,==,conn->id); [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 296s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 296s] | ^~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 296s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 296s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 296s] | ^~~~~~~~~~ [ 296s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 296s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 296s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 296s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 296s] | ^~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:294:25: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 296s] 294 | ASSERT_EXIT_NONZERO(item = kdbus_get_item(info, KDBUS_ITEM_OWNED_NAME)); [ 296s] | ^~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 296s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 296s] | ^~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 296s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 296s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 296s] | ^~~~~~~~~~ [ 296s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 296s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 296s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 296s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 296s] | ^~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:295:25: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 296s] 295 | ASSERT_EXIT_ZERO(strcmp(item->name.name, "com.example.a")); [ 296s] | ^~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 296s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 296s] | ^~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 296s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 296s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 296s] | ^~~~~~~~~~ [ 296s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 296s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 296s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 296s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 296s] | ^~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:299:25: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 296s] 299 | ASSERT_EXIT_NONZERO(item = kdbus_get_item(info, KDBUS_ITEM_CREDS)); [ 296s] | ^~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 296s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 296s] | ^~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 296s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 296s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 296s] | ^~~~~~~~~~ [ 296s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 296s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 296s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 296s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 296s] | ^~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:302:25: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 296s] 302 | ASSERT_EXIT_ZERO(memcmp(&item->creds, &cached_creds, sizeof(struct kdbus_creds))); [ 296s] | ^~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 296s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 296s] | ^~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 296s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 296s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 296s] | ^~~~~~~~~~ [ 296s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 296s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 296s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 296s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 296s] | ^~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:306:25: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 296s] 306 | ASSERT_EXIT_NONZERO(item = kdbus_get_item(info, KDBUS_ITEM_PIDS)); [ 296s] | ^~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 296s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 296s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 296s] | ^~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 296s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 296s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 296s] | ^~~~~~~~~~ [ 296s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 296s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 296s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 296s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 296s] | ^~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 296s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:314:25: note: in expansion of macro 'ASSERT_EXIT' [ 296s] 314 | ASSERT_EXIT(item->pids.pid,==,cached_pids.pid); [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 296s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 296s] | ^~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 296s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 296s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 296s] | ^~~~~~~~~~ [ 296s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 296s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 296s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 296s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 296s] | ^~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 296s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:314:25: note: in expansion of macro 'ASSERT_EXIT' [ 296s] 314 | ASSERT_EXIT(item->pids.pid,==,cached_pids.pid); [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 296s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 296s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 296s] | ^~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 296s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 296s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 296s] | ^~~~~~~~~~ [ 296s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 296s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 296s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 296s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 296s] | ^~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 296s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:314:25: note: in expansion of macro 'ASSERT_EXIT' [ 296s] 314 | ASSERT_EXIT(item->pids.pid,==,cached_pids.pid); [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 296s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 296s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 296s] | ^~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 296s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 296s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 296s] | ^~~~~~~~~~ [ 296s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 296s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 296s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 296s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 296s] | ^~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 296s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:315:25: note: in expansion of macro 'ASSERT_EXIT' [ 296s] 315 | ASSERT_EXIT(item->pids.tid,==,cached_pids.tid); [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 296s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 296s] | ^~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 296s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 296s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 296s] | ^~~~~~~~~~ [ 296s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 296s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 296s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 296s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 296s] | ^~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 296s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:315:25: note: in expansion of macro 'ASSERT_EXIT' [ 296s] 315 | ASSERT_EXIT(item->pids.tid,==,cached_pids.tid); [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 296s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 296s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 296s] | ^~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 296s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 296s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 296s] | ^~~~~~~~~~ [ 296s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 296s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 296s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 296s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 296s] | ^~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 296s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:315:25: note: in expansion of macro 'ASSERT_EXIT' [ 296s] 315 | ASSERT_EXIT(item->pids.tid,==,cached_pids.tid); [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 296s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 296s] | ^~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 296s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 296s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 296s] | ^~~~~~~~~~ [ 296s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 296s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 296s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 296s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 296s] | ^~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:318:17: note: in expansion of macro 'ASSERT_ZERO' [ 296s] 318 | ASSERT_ZERO(kdbus_free(conn, offset)); [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 296s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 296s] | ^~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 296s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 296s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 296s] | ^~~~~~~~~~ [ 296s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 296s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 296s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 296s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 296s] | ^~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:324:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 296s] 324 | ASSERT_EXIT_ZERO(kdbus_conn_info(conn, conn->id, NULL, invalid_flags, &offset)); [ 296s] | ^~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 296s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 296s] | ^~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 296s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 296s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 296s] | ^~~~~~~~~~ [ 296s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 296s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 296s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 296s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 296s] | ^~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 296s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:332:25: note: in expansion of macro 'ASSERT_EXIT' [ 296s] 332 | ASSERT_EXIT(cnt,==,1U); [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 296s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 296s] | ^~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 296s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 296s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 296s] | ^~~~~~~~~~ [ 296s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 296s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 296s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 296s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 296s] | ^~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:334:25: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 296s] 334 | ASSERT_EXIT_NONZERO(item = kdbus_get_item(info, KDBUS_ITEM_CREDS)); [ 296s] | ^~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 296s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 296s] | ^~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 296s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 296s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 296s] | ^~~~~~~~~~ [ 296s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 296s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 296s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 296s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 296s] | ^~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:337:25: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 296s] 337 | ASSERT_EXIT_ZERO(memcmp(&item->creds, &cached_creds, sizeof(struct kdbus_creds))); [ 296s] | ^~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 296s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 296s] | ^~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 296s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 296s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 296s] | ^~~~~~~~~~ [ 296s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 296s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 296s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 296s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 296s] | ^~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:339:25: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 296s] 339 | ASSERT_EXIT_ZERO(cnt); [ 296s] | ^~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 296s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 296s] | ^~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 296s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 296s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 296s] | ^~~~~~~~~~ [ 296s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 296s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 296s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 296s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 296s] | ^~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 296s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:343:25: note: in expansion of macro 'ASSERT_EXIT' [ 296s] 343 | ASSERT_EXIT(cnt,==,1U); [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 296s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 296s] | ^~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 296s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 296s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 296s] | ^~~~~~~~~~ [ 296s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 296s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 296s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 296s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 296s] | ^~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:345:25: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 296s] 345 | ASSERT_EXIT_NONZERO(item = kdbus_get_item(info, KDBUS_ITEM_PIDS)); [ 296s] | ^~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 296s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 296s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 296s] | ^~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 296s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 296s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 296s] | ^~~~~~~~~~ [ 296s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 296s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 296s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 296s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 296s] | ^~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 296s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:348:25: note: in expansion of macro 'ASSERT_EXIT' [ 296s] 348 | ASSERT_EXIT(item->pids.pid,==,cached_pids.pid); [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 296s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 296s] | ^~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 296s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 296s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 296s] | ^~~~~~~~~~ [ 296s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 296s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 296s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 296s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 296s] | ^~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 296s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:348:25: note: in expansion of macro 'ASSERT_EXIT' [ 296s] 348 | ASSERT_EXIT(item->pids.pid,==,cached_pids.pid); [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 296s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 296s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 296s] | ^~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 296s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 296s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 296s] | ^~~~~~~~~~ [ 296s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 296s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 296s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 296s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 296s] | ^~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 296s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:348:25: note: in expansion of macro 'ASSERT_EXIT' [ 296s] 348 | ASSERT_EXIT(item->pids.pid,==,cached_pids.pid); [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 296s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 296s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 296s] | ^~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 296s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 296s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 296s] | ^~~~~~~~~~ [ 296s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 296s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 296s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 296s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 296s] | ^~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 296s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:349:25: note: in expansion of macro 'ASSERT_EXIT' [ 296s] 349 | ASSERT_EXIT(item->pids.tid,==,cached_pids.tid); [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 296s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 296s] | ^~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 296s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 296s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 296s] | ^~~~~~~~~~ [ 296s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 296s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 296s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 296s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 296s] | ^~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 296s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:349:25: note: in expansion of macro 'ASSERT_EXIT' [ 296s] 349 | ASSERT_EXIT(item->pids.tid,==,cached_pids.tid); [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 296s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 296s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 296s] | ^~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 296s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 296s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 296s] | ^~~~~~~~~~ [ 296s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 296s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 296s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 296s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 296s] | ^~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 296s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:349:25: note: in expansion of macro 'ASSERT_EXIT' [ 296s] 349 | ASSERT_EXIT(item->pids.tid,==,cached_pids.tid); [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 296s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 296s] | ^~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 296s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 296s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 296s] | ^~~~~~~~~~ [ 296s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 296s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 296s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 296s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 296s] | ^~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 296s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:354:25: note: in expansion of macro 'ASSERT_EXIT' [ 296s] 354 | ASSERT_EXIT(cnt,==,1U); [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 296s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 296s] | ^~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 296s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 296s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 296s] | ^~~~~~~~~~ [ 296s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 296s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 296s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 296s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 296s] | ^~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:356:25: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 296s] 356 | ASSERT_EXIT_ZERO(cnt); [ 296s] | ^~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 296s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 296s] | ^~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 296s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 296s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 296s] | ^~~~~~~~~~ [ 296s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 296s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 296s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 296s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 296s] | ^~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 296s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:360:25: note: in expansion of macro 'ASSERT_EXIT' [ 296s] 360 | ASSERT_EXIT(cnt,==,1U); [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 296s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 296s] | ^~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 296s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 296s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 296s] | ^~~~~~~~~~ [ 296s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 296s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 296s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 296s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 296s] | ^~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:362:25: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 296s] 362 | ASSERT_EXIT_ZERO(cnt); [ 296s] | ^~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 296s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 296s] | ^~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 296s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 296s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 296s] | ^~~~~~~~~~ [ 296s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 296s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 296s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 296s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 296s] | ^~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:364:17: note: in expansion of macro 'ASSERT_ZERO' [ 296s] 364 | ASSERT_ZERO(kdbus_free(conn, offset)); [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 296s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 296s] | ^~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 296s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 296s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 296s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 296s] | ^~~~~~~~~~~~~ [ 296s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 296s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 296s] | ^~~~~~~~~~ [ 296s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 296s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 296s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 296s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 296s] | ^~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 296s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 296s] | ^~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 296s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 296s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 296s] | ^~~~~~~~~~~~~~ [ 296s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 296s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 296s] | ^~~~~~~~~~ [ 296s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 296s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 296s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 296s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 296s] | ^~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 296s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 296s] | ^~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 296s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 296s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 296s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 296s] | ^~~~~~~~~~ [ 296s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 296s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 296s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 296s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 296s] | ^~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 296s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 296s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 296s] | ^~~~~~~~~~ [ 296s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 296s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 296s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] test-connection.c:287:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 296s] 287 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 296s] | ^~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:371:9: note: in expansion of macro 'ASSERT_ZERO' [ 296s] 371 | ASSERT_ZERO(kdbus_name_acquire(conn, "com.example.b", NULL)); [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:373:9: note: in expansion of macro 'ASSERT_ZERO' [ 296s] 373 | ASSERT_ZERO(kdbus_conn_info(conn, conn->id, NULL, valid_flags, &offset)); [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 296s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 296s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:376:9: note: in expansion of macro 'ASSERT_RETURN' [ 296s] 376 | ASSERT_RETURN(info->id,==,conn->id); [ 296s] | ^~~~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 296s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:376:9: note: in expansion of macro 'ASSERT_RETURN' [ 296s] 376 | ASSERT_RETURN(info->id,==,conn->id); [ 296s] | ^~~~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 296s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:380:17: note: in expansion of macro 'ASSERT_RETURN' [ 296s] 380 | ASSERT_RETURN(cnt,==,2U); [ 296s] | ^~~~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 296s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:382:17: note: in expansion of macro 'ASSERT_RETURN' [ 296s] 382 | ASSERT_RETURN(cnt,==,0U); [ 296s] | ^~~~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:384:9: note: in expansion of macro 'ASSERT_ZERO' [ 296s] 384 | ASSERT_ZERO(kdbus_free(conn, offset)); [ 296s] | ^~~~~~~~~~~ [ 296s] test-connection.c: In function 'kdbus_test_conn_update': [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:449:9: note: in expansion of macro 'ASSERT_NONZERO' [ 296s] 449 | ASSERT_NONZERO(conn); [ 296s] | ^~~~~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:451:9: note: in expansion of macro 'ASSERT_ZERO' [ 296s] 451 | ASSERT_ZERO(kdbus_msg_send(env->conn, NULL, 0x12345678, 0, 0, 0, conn->id)); [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:453:9: note: in expansion of macro 'ASSERT_ZERO' [ 296s] 453 | ASSERT_ZERO(kdbus_msg_recv(conn, &msg, NULL)); [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 296s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:456:9: note: in expansion of macro 'ASSERT_RETURN' [ 296s] 456 | ASSERT_RETURN(found,==,1); [ 296s] | ^~~~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:466:9: note: in expansion of macro 'ASSERT_ZERO' [ 296s] 466 | ASSERT_ZERO(kdbus_conn_update_attach_flags(conn, _KDBUS_ATTACH_ALL, _KDBUS_ATTACH_ALL & ~KDBUS_ATTACH_TIMESTAMP)); [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:468:9: note: in expansion of macro 'ASSERT_ZERO' [ 296s] 468 | ASSERT_ZERO(kdbus_msg_send(env->conn, NULL, 0x12345678, 0, 0, 0, conn->id)); [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:470:9: note: in expansion of macro 'ASSERT_ZERO' [ 296s] 470 | ASSERT_ZERO(kdbus_msg_recv(conn, &msg, NULL)); [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:473:9: note: in expansion of macro 'ASSERT_ZERO' [ 296s] 473 | ASSERT_ZERO(found); [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 296s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:476:9: note: in expansion of macro 'ASSERT_RETURN' [ 296s] 476 | ASSERT_RETURN(-EINVAL,==,kdbus_conn_update_attach_flags(conn, _KDBUS_ATTACH_ALL + 1, _KDBUS_ATTACH_ALL)); [ 296s] | ^~~~~~~~~~~~~ [ 296s] test-connection.c: In function 'kdbus_test_writable_pool': [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 296s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:493:9: note: in expansion of macro 'ASSERT_RETURN' [ 296s] 493 | ASSERT_RETURN(fd,>=,0); [ 296s] | ^~~~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:504:9: note: in expansion of macro 'ASSERT_ZERO' [ 296s] 504 | ASSERT_ZERO(kdbus_cmd_hello(fd, &hello)); [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 296s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 296s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:507:9: note: in expansion of macro 'ASSERT_RETURN' [ 296s] 507 | ASSERT_RETURN(hello.offset,!=,(__u64)-1); [ 296s] | ^~~~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 296s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:507:9: note: in expansion of macro 'ASSERT_RETURN' [ 296s] 507 | ASSERT_RETURN(hello.offset,!=,(__u64)-1); [ 296s] | ^~~~~~~~~~~~~ [ 296s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 296s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 296s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:507:9: note: in expansion of macro 'ASSERT_RETURN' [ 296s] 507 | ASSERT_RETURN(hello.offset,!=,(__u64)-1); [ 296s] | ^~~~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 296s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:510:9: note: in expansion of macro 'ASSERT_ZERO' [ 296s] 510 | ASSERT_ZERO(kdbus_cmd_free(fd, &cmd_free)); [ 296s] | ^~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 296s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:514:9: note: in expansion of macro 'ASSERT_RETURN' [ 296s] 514 | ASSERT_RETURN(map,==,MAP_FAILED); [ 296s] | ^~~~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 296s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:518:9: note: in expansion of macro 'ASSERT_RETURN' [ 296s] 518 | ASSERT_RETURN(map,!=,MAP_FAILED); [ 296s] | ^~~~~~~~~~~~~ [ 296s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 296s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 296s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 296s] | ^~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 296s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 296s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 296s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 296s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 296s] | ^~~~~~~~~~~~ [ 296s] test-connection.c:521:9: note: in expansion of macro 'ASSERT_RETURN' [ 296s] 521 | ASSERT_RETURN(0,>,mprotect(map, POOL_SIZE, PROT_READ | PROT_WRITE)); [ 296s] | ^~~~~~~~~~~~~ [ 298s] cc -c test-daemon.c -o test-daemon.o -O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -I../../include/uapi/ -I../../samples/kdbus/ -std=gnu99 -Wno-error=shadow -DKBUILD_MODNAME=\"kdbus\" -D_GNU_SOURCE [ 298s] In file included from test-daemon.c:14: [ 298s] test-daemon.c: In function 'kdbus_test_daemon': [ 298s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 298s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 298s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 298s] | ^~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 298s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 298s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 298s] | ^~~~~~~~~~~~ [ 298s] test-daemon.c:31:9: note: in expansion of macro 'ASSERT_ZERO' [ 298s] 31 | ASSERT_ZERO(kdbus_name_acquire(env->conn, "com.example.kdbus-test", NULL)); [ 298s] | ^~~~~~~~~~~ [ 298s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 298s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 298s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 298s] | ^~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 298s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 298s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 298s] | ^~~~~~~~~~~~ [ 298s] test-daemon.c:52:25: note: in expansion of macro 'ASSERT_ZERO' [ 298s] 52 | ASSERT_ZERO(kdbus_msg_recv(env->conn, NULL, NULL)); [ 298s] | ^~~~~~~~~~~ [ 298s] cc -c test-endpoint.c -o test-endpoint.o -O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -I../../include/uapi/ -I../../samples/kdbus/ -std=gnu99 -Wno-error=shadow -DKBUILD_MODNAME=\"kdbus\" -D_GNU_SOURCE [ 298s] In file included from test-endpoint.c:18: [ 298s] test-endpoint.c: In function 'kdbus_test_custom_endpoint': [ 298s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 298s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 298s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 298s] | ^~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 298s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 298s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 298s] | ^~~~~~~~~~~~ [ 298s] test-endpoint.c:215:9: note: in expansion of macro 'ASSERT_RETURN' [ 298s] 215 | ASSERT_RETURN(-ENAMETOOLONG,==,create_endpoint(env->buspath, getuid(), fake_ep, 0)); [ 298s] | ^~~~~~~~~~~~~ [ 298s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 298s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 298s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 298s] | ^~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 298s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 298s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 298s] | ^~~~~~~~~~~~ [ 298s] test-endpoint.c:218:9: note: in expansion of macro 'ASSERT_RETURN' [ 298s] 218 | ASSERT_RETURN(-EINVAL,==,create_endpoint(env->buspath, getuid() + 1, "foobar", 0)); [ 298s] | ^~~~~~~~~~~~~ [ 298s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 298s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 298s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 298s] | ^~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 298s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 298s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 298s] | ^~~~~~~~~~~~ [ 298s] test-endpoint.c:221:9: note: in expansion of macro 'ASSERT_RETURN' [ 298s] 221 | ASSERT_RETURN(0,<=,ep_fd = create_endpoint(env->buspath, getuid(), "foo", 0)); [ 298s] | ^~~~~~~~~~~~~ [ 298s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 298s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 298s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 298s] | ^~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 298s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 298s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 298s] | ^~~~~~~~~~~~ [ 298s] test-endpoint.c:223:9: note: in expansion of macro 'ASSERT_NONZERO' [ 298s] 223 | ASSERT_NONZERO(tmp = strdup(env->buspath)); [ 298s] | ^~~~~~~~~~~~~~ [ 298s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 298s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 298s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 298s] | ^~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 298s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 298s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 298s] | ^~~~~~~~~~~~ [ 298s] test-endpoint.c:224:9: note: in expansion of macro 'ASSERT_RETURN' [ 298s] 224 | ASSERT_RETURN(0,<=,asprintf(&ep, "%s/%u-%s", dirname(tmp), getuid(), epname)); [ 298s] | ^~~~~~~~~~~~~ [ 298s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 298s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 298s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 298s] | ^~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 298s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 298s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 298s] | ^~~~~~~~~~~~ [ 298s] test-endpoint.c:228:9: note: in expansion of macro 'ASSERT_NONZERO' [ 298s] 228 | ASSERT_NONZERO(reader = kdbus_hello(ep, 0, NULL, 0)); [ 298s] | ^~~~~~~~~~~~~~ [ 298s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 298s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 298s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 298s] | ^~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 298s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 298s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 298s] | ^~~~~~~~~~~~ [ 298s] test-endpoint.c:231:9: note: in expansion of macro 'ASSERT_ZERO' [ 298s] 231 | ASSERT_ZERO(kdbus_add_match_id(reader, 0x1, KDBUS_ITEM_ID_ADD, KDBUS_MATCH_ID_ANY)); [ 298s] | ^~~~~~~~~~~ [ 298s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 298s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 298s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 298s] | ^~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 298s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 298s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 298s] | ^~~~~~~~~~~~ [ 298s] test-endpoint.c:232:9: note: in expansion of macro 'ASSERT_ZERO' [ 298s] 232 | ASSERT_ZERO(kdbus_add_match_id(reader, 0x2, KDBUS_ITEM_ID_REMOVE, KDBUS_MATCH_ID_ANY)); [ 298s] | ^~~~~~~~~~~ [ 298s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 298s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 298s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 298s] | ^~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 298s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 298s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 298s] | ^~~~~~~~~~~~ [ 298s] test-endpoint.c:233:9: note: in expansion of macro 'ASSERT_ZERO' [ 298s] 233 | ASSERT_ZERO(install_name_add_match(reader, name)); [ 298s] | ^~~~~~~~~~~ [ 298s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 298s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 298s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 298s] | ^~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 298s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 298s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 298s] | ^~~~~~~~~~~~ [ 298s] test-endpoint.c:237:9: note: in expansion of macro 'ASSERT_RETURN' [ 298s] 237 | ASSERT_RETURN(errno,==,EOPNOTSUPP); [ 298s] | ^~~~~~~~~~~~~ [ 298s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 298s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 298s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 298s] | ^~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 298s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 298s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 298s] | ^~~~~~~~~~~~ [ 298s] test-endpoint.c:238:9: note: in expansion of macro 'ASSERT_ZERO' [ 298s] 238 | ASSERT_ZERO(ep_conn); [ 298s] | ^~~~~~~~~~~ [ 298s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 298s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 298s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 298s] | ^~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 298s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 298s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 298s] | ^~~~~~~~~~~~ [ 298s] test-endpoint.c:240:9: note: in expansion of macro 'ASSERT_NONZERO' [ 298s] 240 | ASSERT_NONZERO(ep_conn = kdbus_hello(ep, 0, NULL, 0)); [ 298s] | ^~~~~~~~~~~~~~ [ 298s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 298s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 298s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 298s] | ^~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 298s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 298s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 298s] | ^~~~~~~~~~~~ [ 298s] test-endpoint.c:243:9: note: in expansion of macro 'ASSERT_ZERO' [ 298s] 243 | ASSERT_ZERO(kdbus_msg_recv(reader, &msg, NULL)); [ 298s] | ^~~~~~~~~~~ [ 298s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 298s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 298s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 298s] | ^~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 298s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 298s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 298s] | ^~~~~~~~~~~~ [ 298s] test-endpoint.c:244:9: note: in expansion of macro 'ASSERT_RETURN' [ 298s] 244 | ASSERT_RETURN(msg->items[0].type,==,(typeof(msg->items[0].type))KDBUS_ITEM_ID_ADD); [ 298s] | ^~~~~~~~~~~~~ [ 298s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 298s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 298s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 298s] | ^~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 298s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 298s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 298s] | ^~~~~~~~~~~~ [ 298s] test-endpoint.c:244:9: note: in expansion of macro 'ASSERT_RETURN' [ 298s] 244 | ASSERT_RETURN(msg->items[0].type,==,(typeof(msg->items[0].type))KDBUS_ITEM_ID_ADD); [ 298s] | ^~~~~~~~~~~~~ [ 298s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 298s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 298s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 298s] | ^~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 298s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 298s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 298s] | ^~~~~~~~~~~~ [ 298s] test-endpoint.c:244:9: note: in expansion of macro 'ASSERT_RETURN' [ 298s] 244 | ASSERT_RETURN(msg->items[0].type,==,(typeof(msg->items[0].type))KDBUS_ITEM_ID_ADD); [ 298s] | ^~~~~~~~~~~~~ [ 298s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 298s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 298s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 298s] | ^~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 298s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 298s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 298s] | ^~~~~~~~~~~~ [ 298s] test-endpoint.c:245:9: note: in expansion of macro 'ASSERT_RETURN' [ 298s] 245 | ASSERT_RETURN(msg->items[0].id_change.id,==,ep_conn->id); [ 298s] | ^~~~~~~~~~~~~ [ 298s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 298s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 298s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 298s] | ^~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 298s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 298s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 298s] | ^~~~~~~~~~~~ [ 298s] test-endpoint.c:245:9: note: in expansion of macro 'ASSERT_RETURN' [ 298s] 245 | ASSERT_RETURN(msg->items[0].id_change.id,==,ep_conn->id); [ 298s] | ^~~~~~~~~~~~~ [ 298s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 298s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 298s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 298s] | ^~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 298s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 298s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 298s] | ^~~~~~~~~~~~ [ 298s] test-endpoint.c:255:9: note: in expansion of macro 'ASSERT_ZERO' [ 298s] 255 | ASSERT_ZERO(install_name_add_match(ep_conn, name)); [ 298s] | ^~~~~~~~~~~ [ 298s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 298s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 298s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 298s] | ^~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 298s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 298s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 298s] | ^~~~~~~~~~~~ [ 298s] test-endpoint.c:257:9: note: in expansion of macro 'ASSERT_ZERO' [ 298s] 257 | ASSERT_ZERO(kdbus_name_acquire(env->conn, name, NULL)); [ 298s] | ^~~~~~~~~~~ [ 298s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 298s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 298s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 298s] | ^~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 298s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 298s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 298s] | ^~~~~~~~~~~~ [ 298s] test-endpoint.c:259:9: note: in expansion of macro 'ASSERT_RETURN' [ 298s] 259 | ASSERT_RETURN(ONTIZEN(0,-EAGAIN),==,kdbus_msg_recv(ep_conn, NULL, NULL)); [ 298s] | ^~~~~~~~~~~~~ [ 298s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 298s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 298s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 298s] | ^~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 298s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 298s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 298s] | ^~~~~~~~~~~~ [ 298s] test-endpoint.c:260:9: note: in expansion of macro 'ASSERT_RETURN' [ 298s] 260 | ASSERT_RETURN(ONTIZEN(0,-ESRCH),==,kdbus_conn_info(ep_conn, 0, name, 0, NULL)); [ 298s] | ^~~~~~~~~~~~~ [ 298s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 298s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 298s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 298s] | ^~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 298s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 298s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 298s] | ^~~~~~~~~~~~ [ 298s] test-endpoint.c:261:9: note: in expansion of macro 'ASSERT_RETURN' [ 298s] 261 | ASSERT_RETURN(-ESRCH,==,kdbus_conn_info(ep_conn, 0, "random.crappy.name", 0, NULL)); [ 298s] | ^~~~~~~~~~~~~ [ 298s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 298s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 298s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 298s] | ^~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 298s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 298s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 298s] | ^~~~~~~~~~~~ [ 298s] test-endpoint.c:262:9: note: in expansion of macro 'ASSERT_RETURN' [ 298s] 262 | ASSERT_RETURN(ONTIZEN(0,-ENXIO),==,kdbus_conn_info(ep_conn, env->conn->id, NULL, 0, NULL)); [ 298s] | ^~~~~~~~~~~~~ [ 298s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 298s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 298s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 298s] | ^~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 298s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 298s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 298s] | ^~~~~~~~~~~~ [ 298s] test-endpoint.c:263:9: note: in expansion of macro 'ASSERT_RETURN' [ 298s] 263 | ASSERT_RETURN(-ENXIO,==,kdbus_conn_info(ep_conn, 0x0fffffffffffffffULL, NULL, 0, NULL)); [ 298s] | ^~~~~~~~~~~~~ [ 298s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 298s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 298s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 298s] | ^~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 298s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 298s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 298s] | ^~~~~~~~~~~~ [ 298s] test-endpoint.c:266:9: note: in expansion of macro 'ASSERT_RETURN' [ 298s] 266 | ASSERT_RETURN(ONTIZEN(0,-EAGAIN),==,kdbus_msg_recv(reader, NULL, NULL)); [ 298s] | ^~~~~~~~~~~~~ [ 298s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 298s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 298s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 298s] | ^~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 298s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 298s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 298s] | ^~~~~~~~~~~~ [ 298s] test-endpoint.c:273:9: note: in expansion of macro 'ASSERT_ZERO' [ 298s] 273 | ASSERT_ZERO(kdbus_name_release(env->conn, name)); [ 298s] | ^~~~~~~~~~~ [ 298s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 298s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 298s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 298s] | ^~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 298s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 298s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 298s] | ^~~~~~~~~~~~ [ 298s] test-endpoint.c:276:9: note: in expansion of macro 'ASSERT_RETURN' [ 298s] 276 | ASSERT_RETURN(-EAGAIN,==,kdbus_msg_recv(reader, NULL, NULL)); [ 298s] | ^~~~~~~~~~~~~ [ 298s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 298s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 298s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 298s] | ^~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 298s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 298s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 298s] | ^~~~~~~~~~~~ [ 298s] test-endpoint.c:278:9: note: in expansion of macro 'ASSERT_ZERO' [ 298s] 278 | ASSERT_ZERO(update_endpoint(ep_fd, name)); [ 298s] | ^~~~~~~~~~~ [ 298s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 298s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 298s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 298s] | ^~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 298s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 298s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 298s] | ^~~~~~~~~~~~ [ 298s] test-endpoint.c:280:9: note: in expansion of macro 'ASSERT_ZERO' [ 298s] 280 | ASSERT_ZERO(kdbus_name_acquire(env->conn, name, NULL)); [ 298s] | ^~~~~~~~~~~ [ 298s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 298s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 298s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 298s] | ^~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 298s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 298s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 298s] | ^~~~~~~~~~~~ [ 298s] test-endpoint.c:282:9: note: in expansion of macro 'ASSERT_ZERO' [ 298s] 282 | ASSERT_ZERO(kdbus_msg_recv(ep_conn, &msg, NULL)); [ 298s] | ^~~~~~~~~~~ [ 298s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 298s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 298s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 298s] | ^~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 298s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 298s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 298s] | ^~~~~~~~~~~~ [ 298s] test-endpoint.c:283:9: note: in expansion of macro 'ASSERT_RETURN' [ 298s] 283 | ASSERT_RETURN(msg->items[0].type,==,(typeof(msg->items[0].type))KDBUS_ITEM_NAME_ADD); [ 298s] | ^~~~~~~~~~~~~ [ 298s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 298s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 298s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 298s] | ^~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 298s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 298s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 298s] | ^~~~~~~~~~~~ [ 298s] test-endpoint.c:283:9: note: in expansion of macro 'ASSERT_RETURN' [ 298s] 283 | ASSERT_RETURN(msg->items[0].type,==,(typeof(msg->items[0].type))KDBUS_ITEM_NAME_ADD); [ 298s] | ^~~~~~~~~~~~~ [ 298s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 298s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 298s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 298s] | ^~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 298s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 298s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 298s] | ^~~~~~~~~~~~ [ 298s] test-endpoint.c:283:9: note: in expansion of macro 'ASSERT_RETURN' [ 298s] 283 | ASSERT_RETURN(msg->items[0].type,==,(typeof(msg->items[0].type))KDBUS_ITEM_NAME_ADD); [ 298s] | ^~~~~~~~~~~~~ [ 298s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 298s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 298s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 298s] | ^~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 298s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 298s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 298s] | ^~~~~~~~~~~~ [ 298s] test-endpoint.c:284:9: note: in expansion of macro 'ASSERT_ZERO' [ 298s] 284 | ASSERT_ZERO(msg->items[0].name_change.old_id.id); [ 298s] | ^~~~~~~~~~~ [ 298s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 298s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 298s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 298s] | ^~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 298s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 298s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 298s] | ^~~~~~~~~~~~ [ 298s] test-endpoint.c:284:9: note: in expansion of macro 'ASSERT_ZERO' [ 298s] 284 | ASSERT_ZERO(msg->items[0].name_change.old_id.id); [ 298s] | ^~~~~~~~~~~ [ 298s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 298s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 298s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 298s] | ^~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 298s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 298s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 298s] | ^~~~~~~~~~~~ [ 298s] test-endpoint.c:284:9: note: in expansion of macro 'ASSERT_ZERO' [ 298s] 284 | ASSERT_ZERO(msg->items[0].name_change.old_id.id); [ 298s] | ^~~~~~~~~~~ [ 298s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 298s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 298s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 298s] | ^~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 298s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 298s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 298s] | ^~~~~~~~~~~~ [ 298s] test-endpoint.c:285:9: note: in expansion of macro 'ASSERT_RETURN' [ 298s] 285 | ASSERT_RETURN(msg->items[0].name_change.new_id.id,==,env->conn->id); [ 298s] | ^~~~~~~~~~~~~ [ 298s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 298s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 298s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 298s] | ^~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 298s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 298s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 298s] | ^~~~~~~~~~~~ [ 298s] test-endpoint.c:285:9: note: in expansion of macro 'ASSERT_RETURN' [ 298s] 285 | ASSERT_RETURN(msg->items[0].name_change.new_id.id,==,env->conn->id); [ 298s] | ^~~~~~~~~~~~~ [ 298s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 298s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 298s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 298s] | ^~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 298s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 298s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 298s] | ^~~~~~~~~~~~ [ 298s] test-endpoint.c:286:9: note: in expansion of macro 'ASSERT_ZERO' [ 298s] 286 | ASSERT_ZERO(strcmp(msg->items[0].name_change.name, name)); [ 298s] | ^~~~~~~~~~~ [ 298s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 298s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 298s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 298s] | ^~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 298s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 298s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 298s] | ^~~~~~~~~~~~ [ 298s] test-endpoint.c:289:9: note: in expansion of macro 'ASSERT_ZERO' [ 298s] 289 | ASSERT_ZERO(kdbus_msg_recv(reader, &msg, NULL)); [ 298s] | ^~~~~~~~~~~ [ 298s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 298s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 298s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 298s] | ^~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 298s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 298s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 298s] | ^~~~~~~~~~~~ [ 298s] test-endpoint.c:290:9: note: in expansion of macro 'ASSERT_ZERO' [ 298s] 290 | ASSERT_ZERO(strcmp(msg->items[0].name_change.name, name)); [ 298s] | ^~~~~~~~~~~ [ 298s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 298s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 298s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 298s] | ^~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 298s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 298s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 298s] | ^~~~~~~~~~~~ [ 298s] test-endpoint.c:294:9: note: in expansion of macro 'ASSERT_ZERO' [ 298s] 294 | ASSERT_ZERO(kdbus_conn_info(ep_conn, 0, name, 0, NULL)); [ 298s] | ^~~~~~~~~~~ [ 298s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 298s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 298s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 298s] | ^~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 298s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 298s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 298s] | ^~~~~~~~~~~~ [ 298s] test-endpoint.c:296:9: note: in expansion of macro 'ASSERT_ZERO' [ 298s] 296 | ASSERT_ZERO(kdbus_conn_info(ep_conn, env->conn->id, NULL, 0, NULL)); [ 298s] | ^~~~~~~~~~~ [ 298s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 298s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 298s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 298s] | ^~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 298s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 298s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 298s] | ^~~~~~~~~~~~ [ 298s] test-endpoint.c:300:9: note: in expansion of macro 'ASSERT_RETURN' [ 298s] 300 | ASSERT_RETURN(ret,>=,0); [ 298s] | ^~~~~~~~~~~~~ [ 298s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 298s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 298s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 298s] | ^~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 298s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 298s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 298s] | ^~~~~~~~~~~~ [ 298s] test-endpoint.c:306:17: note: in expansion of macro 'ASSERT_ZERO' [ 298s] 306 | ASSERT_ZERO(unpriv_test_custom_ep(env->buspath)); [ 298s] | ^~~~~~~~~~~ [ 298s] test-endpoint.c: In function 'unpriv_test_custom_ep': [ 298s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 298s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 298s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 298s] | ^~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 298s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 298s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 298s] | ^~~~~~~~~~~~ [ 298s] test-endpoint.c:100:9: note: in expansion of macro 'ASSERT_NONZERO' [ 298s] 100 | ASSERT_NONZERO(tmp1 = strdup(buspath)); [ 298s] | ^~~~~~~~~~~~~~ [ 298s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 298s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 298s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 298s] | ^~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 298s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 298s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 298s] | ^~~~~~~~~~~~ [ 298s] test-endpoint.c:101:9: note: in expansion of macro 'ASSERT_NONZERO' [ 298s] 101 | ASSERT_NONZERO(tmp2 = strdup(buspath)); [ 298s] | ^~~~~~~~~~~~~~ [ 298s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 298s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 298s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 298s] | ^~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 298s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 298s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 298s] | ^~~~~~~~~~~~ [ 298s] test-endpoint.c:104:9: note: in expansion of macro 'ASSERT_RETURN' [ 298s] 104 | ASSERT_RETURN(ret,>,0); [ 298s] | ^~~~~~~~~~~~~ [ 298s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 298s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 298s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 298s] | ^~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 298s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 298s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 298s] | ^~~~~~~~~~~~ [ 298s] test-endpoint.c:107:9: note: in expansion of macro 'ASSERT_RETURN' [ 298s] 107 | ASSERT_RETURN(ret,>,0); [ 298s] | ^~~~~~~~~~~~~ [ 298s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 298s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 298s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 298s] | ^~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 298s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 298s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 298s] | ^~~~~~~~~~~~ [ 298s] test-endpoint.c:114:9: note: in expansion of macro 'ASSERT_RETURN' [ 298s] 114 | ASSERT_RETURN(ep_fd1,>=,0); [ 298s] | ^~~~~~~~~~~~~ [ 298s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 298s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 298s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 298s] | ^~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 298s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 298s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 298s] | ^~~~~~~~~~~~ [ 298s] test-endpoint.c:119:9: note: in expansion of macro 'ASSERT_RETURN' [ 298s] 119 | ASSERT_RETURN(ep_fd2,>=,0); [ 298s] | ^~~~~~~~~~~~~ [ 298s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 298s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 298s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 298s] | ^~~~ [ 298s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 298s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 298s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 298s] | ^~~~~~~~~~~~ [ 298s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 298s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 298s] | ^~~~~~~~~~~ [ 298s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 298s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 298s] | ^~~~~~~~~~ [ 298s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 298s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 298s] | ^~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 298s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 298s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 298s] | ^~~~~~~~~~~~ [ 298s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 298s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 298s] | ^~~~~~~~~~~~~~~ [ 298s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 298s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 298s] | ^~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 298s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] test-endpoint.c:121:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 298s] 121 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 298s] | ^~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 298s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 298s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 298s] | ^~~~ [ 298s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 298s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 298s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 298s] | ^~~~~~~~~~~~ [ 298s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 298s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 298s] | ^~~~~~~~~~~ [ 298s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 298s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 298s] | ^~~~~~~~~~ [ 298s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 298s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 298s] | ^~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 298s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] test-endpoint.c:121:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 298s] 121 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 298s] | ^~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 298s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 298s] | ^~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 298s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 298s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 298s] | ^~~~~~~~~~~~ [ 298s] test-endpoint.c:131:17: note: in expansion of macro 'ASSERT_EXIT' [ 298s] 131 | ASSERT_EXIT(ep_fd,==,-EPERM); [ 298s] | ^~~~~~~~~~~ [ 298s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 298s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 298s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 298s] | ^~~~ [ 298s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 298s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 298s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 298s] | ^~~~~~~~~~~~ [ 298s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 298s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 298s] | ^~~~~~~~~~~ [ 298s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 298s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 298s] | ^~~~~~~~~~ [ 298s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 298s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 298s] | ^~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 298s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] test-endpoint.c:121:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 298s] 121 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 298s] | ^~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 298s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 298s] | ^~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 298s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 298s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 298s] | ^~~~~~~~~~~~ [ 298s] test-endpoint.c:138:17: note: in expansion of macro 'ASSERT_EXIT' [ 298s] 138 | ASSERT_EXIT(errno,==,EACCES); [ 298s] | ^~~~~~~~~~~ [ 298s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 298s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 298s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 298s] | ^~~~ [ 298s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 298s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 298s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 298s] | ^~~~~~~~~~~~ [ 298s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 298s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 298s] | ^~~~~~~~~~~ [ 298s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 298s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 298s] | ^~~~~~~~~~ [ 298s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 298s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 298s] | ^~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 298s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] test-endpoint.c:121:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 298s] 121 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 298s] | ^~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 298s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 298s] | ^~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 298s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 298s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 298s] | ^~~~~~~~~~~~ [ 298s] test-endpoint.c:139:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 298s] 139 | ASSERT_EXIT_ZERO(ep_conn); [ 298s] | ^~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 298s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 298s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 298s] | ^~~~ [ 298s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 298s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 298s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 298s] | ^~~~~~~~~~~~ [ 298s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 298s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 298s] | ^~~~~~~~~~~ [ 298s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 298s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 298s] | ^~~~~~~~~~ [ 298s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 298s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 298s] | ^~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 298s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] test-endpoint.c:121:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 298s] 121 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 298s] | ^~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 298s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 298s] | ^~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 298s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 298s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 298s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 299s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 299s] | ^~~~~~~~~~~~ [ 299s] test-endpoint.c:142:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 299s] 142 | ASSERT_EXIT_NONZERO(ep_conn = kdbus_hello(ep2, 0, NULL, 0)); [ 299s] | ^~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 299s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 299s] | ^~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 299s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 299s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 299s] | ^~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 299s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 299s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 299s] | ^~~~~~~~~~~~~ [ 299s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 299s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 299s] | ^~~~~~~~~~ [ 299s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 299s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 299s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] test-endpoint.c:121:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 299s] 121 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 299s] | ^~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 299s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 299s] | ^~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 299s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 299s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 299s] | ^~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 299s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 299s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 299s] | ^~~~~~~~~~~~~~ [ 299s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 299s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 299s] | ^~~~~~~~~~ [ 299s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 299s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 299s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] test-endpoint.c:121:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 299s] 121 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 299s] | ^~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 299s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 299s] | ^~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 299s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 299s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 299s] | ^~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 299s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 299s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 299s] | ^~~~~~~~~~~ [ 299s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 299s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 299s] | ^~~~~~~~~~ [ 299s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 299s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 299s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] test-endpoint.c:121:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 299s] 121 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 299s] | ^~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 299s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 299s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 299s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 299s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 299s] | ^~~~~~~~~~~~ [ 299s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 299s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 299s] | ^~~~~~~~~~~ [ 299s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 299s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 299s] | ^~~~~~~~~~ [ 299s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 299s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 299s] | ^~~~~~~~~~~~~~~~~~~~ [ 299s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 299s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 299s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 299s] test-endpoint.c:121:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 299s] 121 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 299s] | ^~~~~~~~~~~~~~~~ [ 300s] cc -c test-fd.c -o test-fd.o -O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -I../../include/uapi/ -I../../samples/kdbus/ -std=gnu99 -Wno-error=shadow -DKBUILD_MODNAME=\"kdbus\" -D_GNU_SOURCE [ 300s] In file included from test-fd.c:19: [ 300s] test-fd.c: In function 'kdbus_test_fd_passing': [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 300s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:661:9: note: in expansion of macro 'ASSERT_NONZERO' [ 300s] 661 | ASSERT_NONZERO(conn_src = kdbus_hello(env->buspath, 0, NULL, 0)); [ 300s] | ^~~~~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 300s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:662:9: note: in expansion of macro 'ASSERT_NONZERO' [ 300s] 662 | ASSERT_NONZERO(conn_dst = kdbus_hello(env->buspath, 0, NULL, 0)); [ 300s] | ^~~~~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 300s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:667:9: note: in expansion of macro 'ASSERT_ZERO' [ 300s] 667 | ASSERT_ZERO(socketpair(AF_UNIX, SOCK_STREAM, 0, sock_pair)); [ 300s] | ^~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 300s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:671:9: note: in expansion of macro 'ASSERT_RETURN' [ 300s] 671 | ASSERT_RETURN(memfd,>=,0); [ 300s] | ^~~~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 300s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:676:9: note: in expansion of macro 'ASSERT_ZERO' [ 300s] 676 | ASSERT_ZERO(ret); [ 300s] | ^~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 300s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:679:9: note: in expansion of macro 'ASSERT_RETURN' [ 300s] 679 | ASSERT_RETURN(i,==,strlen(str)); [ 300s] | ^~~~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 300s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:685:9: note: in expansion of macro 'ASSERT_RETURN' [ 300s] 685 | ASSERT_RETURN(-ENOTSUP,==,send_fds(conn_src, conn_dst->id, fds_conn, 2)); [ 300s] | ^~~~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 300s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:686:9: note: in expansion of macro 'ASSERT_RETURN' [ 300s] 686 | ASSERT_RETURN(-ENOTSUP,==,send_fds(conn_dst, conn_src->id, fds_conn, 2)); [ 300s] | ^~~~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 300s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:691:9: note: in expansion of macro 'ASSERT_ZERO' [ 300s] 691 | ASSERT_ZERO(send_fds(conn_src, conn_dst->id, sock_pair, 2)); [ 300s] | ^~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 300s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:692:9: note: in expansion of macro 'ASSERT_ZERO' [ 300s] 692 | ASSERT_ZERO(kdbus_msg_recv(conn_dst, &msg, NULL)); [ 300s] | ^~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 300s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:697:25: note: in expansion of macro 'ASSERT_RETURN' [ 300s] 697 | ASSERT_RETURN(nfds,==,2); [ 300s] | ^~~~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 300s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:704:9: note: in expansion of macro 'ASSERT_ZERO' [ 300s] 704 | ASSERT_ZERO(kdbus_test_no_fds(env, fds, (int *)&memfd)); [ 300s] | ^~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 300s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:707:9: note: in expansion of macro 'ASSERT_RETURN' [ 300s] 707 | ASSERT_RETURN(-ENOTUNIQ,==,send_fds(conn_src, KDBUS_DST_ID_BROADCAST, fds, 1)); [ 300s] | ^~~~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 300s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:710:9: note: in expansion of macro 'ASSERT_ZERO' [ 300s] 710 | ASSERT_ZERO(send_memfds(conn_src, KDBUS_DST_ID_BROADCAST, (int *)&memfd, 1)); [ 300s] | ^~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 300s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:718:9: note: in expansion of macro 'ASSERT_ZERO' [ 300s] 718 | ASSERT_ZERO(send_fds(conn_src, conn_dst->id, fds, 1)); [ 300s] | ^~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 300s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:721:9: note: in expansion of macro 'ASSERT_ZERO' [ 300s] 721 | ASSERT_ZERO(kdbus_msg_recv(conn_dst, &msg, NULL)); [ 300s] | ^~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 300s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:728:25: note: in expansion of macro 'ASSERT_RETURN' [ 300s] 728 | ASSERT_RETURN(sizeof(tmp),==,strlen(str)); [ 300s] | ^~~~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 300s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:729:25: note: in expansion of macro 'ASSERT_RETURN' [ 300s] 729 | ASSERT_RETURN(nfds,==,1); [ 300s] | ^~~~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 300s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:733:33: note: in expansion of macro 'ASSERT_RETURN' [ 300s] 733 | ASSERT_RETURN(i,==,sizeof(tmp)); [ 300s] | ^~~~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 300s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:734:33: note: in expansion of macro 'ASSERT_ZERO' [ 300s] 734 | ASSERT_ZERO(memcmp(tmp, str, sizeof(tmp))); [ 300s] | ^~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 300s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:764:9: note: in expansion of macro 'ASSERT_RETURN' [ 300s] 764 | ASSERT_RETURN(-EBADF,==,send_fds(conn_src, conn_dst->id, fds, 1)); [ 300s] | ^~~~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 300s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:768:9: note: in expansion of macro 'ASSERT_ZERO' [ 300s] 768 | ASSERT_ZERO(kdbus_send_multiple_fds(conn_src, conn_dst)); [ 300s] | ^~~~~~~~~~~ [ 300s] test-fd.c: In function 'memfd_write': [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 300s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:84:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 300s] 84 | ASSERT_RETURN_VAL(memfd,>=,0, memfd); [ 300s] | ^~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 300s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:87:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 300s] 87 | ASSERT_RETURN_VAL(ret,==,(ssize_t)bufsize, -EAGAIN); [ 300s] | ^~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 300s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:90:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 300s] 90 | ASSERT_RETURN_VAL(ret,==,0, -errno); [ 300s] | ^~~~~~~~~~~~~~~~~ [ 300s] test-fd.c: In function 'kdbus_test_no_fds': [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 300s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:257:9: note: in expansion of macro 'ASSERT_NONZERO' [ 300s] 257 | ASSERT_NONZERO(conn_src = kdbus_hello(env->buspath, 0, NULL, 0)); [ 300s] | ^~~~~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 300s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:260:9: note: in expansion of macro 'ASSERT_RETURN' [ 300s] 260 | ASSERT_RETURN(connfd1,>=,0); [ 300s] | ^~~~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 300s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:263:9: note: in expansion of macro 'ASSERT_RETURN' [ 300s] 263 | ASSERT_RETURN(connfd2,>=,0); [ 300s] | ^~~~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 300s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:269:9: note: in expansion of macro 'ASSERT_NONZERO' [ 300s] 269 | ASSERT_NONZERO(conn_dst = alloc(sizeof(*conn_dst))); [ 300s] | ^~~~~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 300s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:270:9: note: in expansion of macro 'ASSERT_NONZERO' [ 300s] 270 | ASSERT_NONZERO(conn_dummy = alloc(sizeof(*conn_dummy))); [ 300s] | ^~~~~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 300s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:277:9: note: in expansion of macro 'ASSERT_ZERO' [ 300s] 277 | ASSERT_ZERO(kdbus_cmd_hello(connfd1, &hello)); [ 300s] | ^~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 300s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:281:9: note: in expansion of macro 'ASSERT_ZERO' [ 300s] 281 | ASSERT_ZERO(kdbus_cmd_free(connfd1, &cmd_free)); [ 300s] | ^~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 300s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:292:9: note: in expansion of macro 'ASSERT_ZERO' [ 300s] 292 | ASSERT_ZERO(kdbus_cmd_hello(connfd2, &hello)); [ 300s] | ^~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 300s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:296:9: note: in expansion of macro 'ASSERT_ZERO' [ 300s] 296 | ASSERT_ZERO(kdbus_cmd_free(connfd2, &cmd_free)); [ 300s] | ^~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 300s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:304:9: note: in expansion of macro 'ASSERT_RETURN' [ 300s] 304 | ASSERT_RETURN(conn_dst->buf,!=,MAP_FAILED); [ 300s] | ^~~~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 300s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:308:9: note: in expansion of macro 'ASSERT_RETURN' [ 300s] 308 | ASSERT_RETURN(conn_dummy->buf,!=,MAP_FAILED); [ 300s] | ^~~~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 300s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:313:9: note: in expansion of macro 'ASSERT_RETURN' [ 300s] 313 | ASSERT_RETURN(-ECOMM,==,send_fds(conn_src, conn_dst->id, fds, 1)); [ 300s] | ^~~~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 300s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:318:9: note: in expansion of macro 'ASSERT_ZERO' [ 300s] 318 | ASSERT_ZERO(send_memfds(conn_src, conn_dst->id, memfd, 1)); [ 300s] | ^~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 300s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:320:9: note: in expansion of macro 'ASSERT_ZERO' [ 300s] 320 | ASSERT_ZERO(kdbus_msg_recv_poll(conn_dst, 100, NULL, NULL)); [ 300s] | ^~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 300s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:325:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 300s] 325 | ASSERT_RETURN_VAL(pid,>=,0, pid); [ 300s] | ^~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 300s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:334:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 300s] 334 | ASSERT_EXIT_NONZERO(msg_sync_reply = get_kdbus_msg_with_fd(conn_dst, conn_dummy->id, cookie, fds[0])); [ 300s] | ^~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 300s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:336:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 300s] 336 | ASSERT_EXIT_ZERO(clock_gettime(CLOCK_MONOTONIC_COARSE, &now)); [ 300s] | ^~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 300s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:347:17: note: in expansion of macro 'ASSERT_EXIT' [ 300s] 347 | ASSERT_EXIT(-ECOMM,==,kdbus_cmd_send(conn_dst->fd, &cmd)); [ 300s] | ^~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 300s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:357:17: note: in expansion of macro 'ASSERT_EXIT' [ 300s] 357 | ASSERT_EXIT(-EREMOTEIO,==,kdbus_msg_send_sync(conn_dst, NULL, cookie, KDBUS_MSG_EXPECT_REPLY, 5000000000ULL, 0, conn_src->id, -1)); [ 300s] | ^~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 300s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:360:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 300s] 360 | ASSERT_EXIT_ZERO(kdbus_msg_recv_poll(conn_dst, 100, &msg, NULL)); [ 300s] | ^~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 300s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 300s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:361:17: note: in expansion of macro 'ASSERT_EXIT' [ 300s] 361 | ASSERT_EXIT(msg->cookie,==,cookie); [ 300s] | ^~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 300s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:361:17: note: in expansion of macro 'ASSERT_EXIT' [ 300s] 361 | ASSERT_EXIT(msg->cookie,==,cookie); [ 300s] | ^~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 300s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:369:9: note: in expansion of macro 'ASSERT_RETURN' [ 300s] 369 | ASSERT_RETURN(-ETIMEDOUT,==,kdbus_msg_recv_poll(conn_dummy, 100, NULL, NULL)); [ 300s] | ^~~~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 300s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:372:9: note: in expansion of macro 'ASSERT_ZERO' [ 300s] 372 | ASSERT_ZERO(kdbus_msg_recv_poll(conn_src, 100, &msg, NULL)); [ 300s] | ^~~~~~~~~~~ [ 300s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 300s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 300s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:373:9: note: in expansion of macro 'ASSERT_RETURN' [ 300s] 373 | ASSERT_RETURN(msg->cookie,==,cookie); [ 300s] | ^~~~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 300s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:373:9: note: in expansion of macro 'ASSERT_RETURN' [ 300s] 373 | ASSERT_RETURN(msg->cookie,==,cookie); [ 300s] | ^~~~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 300s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:384:9: note: in expansion of macro 'ASSERT_NONZERO' [ 300s] 384 | ASSERT_NONZERO(msg_sync_reply); [ 300s] | ^~~~~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 300s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:392:9: note: in expansion of macro 'ASSERT_RETURN' [ 300s] 392 | ASSERT_RETURN(-EOPNOTSUPP,==,kdbus_cmd_send(conn_src->fd, &cmd)); [ 300s] | ^~~~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 300s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:405:9: note: in expansion of macro 'ASSERT_NONZERO' [ 300s] 405 | ASSERT_NONZERO(msg_sync_reply); [ 300s] | ^~~~~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 300s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:413:9: note: in expansion of macro 'ASSERT_RETURN' [ 300s] 413 | ASSERT_RETURN(-ECOMM,==,kdbus_cmd_send(conn_src->fd, &cmd)); [ 300s] | ^~~~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 300s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:422:9: note: in expansion of macro 'ASSERT_ZERO' [ 300s] 422 | ASSERT_ZERO(kdbus_msg_send(conn_src, NULL, cookie, 0, 0, 0, conn_dst->id)); [ 300s] | ^~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 300s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:425:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 300s] 425 | ASSERT_RETURN_VAL(ret,>=,0, ret); [ 300s] | ^~~~~~~~~~~~~~~~~ [ 300s] test-fd.c: In function 'get_kdbus_msg_with_fd': [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 300s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:231:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 300s] 231 | ASSERT_RETURN_VAL(ret,==,0, NULL); [ 300s] | ^~~~~~~~~~~~~~~~~ [ 300s] test-fd.c: In function 'make_msg_payload_dbus': [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 300s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:39:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 300s] 39 | ASSERT_RETURN_VAL(msg,!=,NULL, -ENOMEM); [ 300s] | ^~~~~~~~~~~~~~~~~ [ 300s] test-fd.c: In function 'send_memfds': [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 300s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:111:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 300s] 111 | ASSERT_RETURN_VAL(ret,==,0, ret); [ 300s] | ^~~~~~~~~~~~~~~~~ [ 300s] test-fd.c: In function 'send_fds': [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 300s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:154:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 300s] 154 | ASSERT_RETURN_VAL(ret,==,0, ret); [ 300s] | ^~~~~~~~~~~~~~~~~ [ 300s] test-fd.c: In function 'kdbus_send_multiple_fds': [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 300s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:441:17: note: in expansion of macro 'ASSERT_RETURN' [ 300s] 441 | ASSERT_RETURN(-1,==,ARRAY_NAME[_MAKE_FDS_i_]);\ [ 300s] | ^~~~~~~~~~~~~ [ 300s] test-fd.c:479:33: note: in expansion of macro 'MAKE_FDS_' [ 300s] 479 | #define MAKE_FDS(ARRAY_NAME) MAKE_FDS_(ARRAY_NAME, make_value_checked_fd) [ 300s] | ^~~~~~~~~ [ 300s] test-fd.c:549:9: note: in expansion of macro 'MAKE_FDS' [ 300s] 549 | MAKE_FDS(fds); [ 300s] | ^~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 300s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:443:17: note: in expansion of macro 'ASSERT_RETURN' [ 300s] 443 | ASSERT_RETURN(0,<=,ARRAY_NAME[_MAKE_FDS_i_]);\ [ 300s] | ^~~~~~~~~~~~~ [ 300s] test-fd.c:479:33: note: in expansion of macro 'MAKE_FDS_' [ 300s] 479 | #define MAKE_FDS(ARRAY_NAME) MAKE_FDS_(ARRAY_NAME, make_value_checked_fd) [ 300s] | ^~~~~~~~~ [ 300s] test-fd.c:549:9: note: in expansion of macro 'MAKE_FDS' [ 300s] 549 | MAKE_FDS(fds); [ 300s] | ^~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 300s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:552:9: note: in expansion of macro 'ASSERT_RETURN' [ 300s] 552 | ASSERT_RETURN(-EMFILE,==,send_fds(conn_src, conn_dst->id, fds, KDBUS_CONN_MAX_FDS_PER_USER + 1)); [ 300s] | ^~~~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 300s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:555:9: note: in expansion of macro 'ASSERT_ZERO' [ 300s] 555 | ASSERT_ZERO(send_fds(conn_src, conn_dst->id, fds, KDBUS_CONN_MAX_FDS_PER_USER)); [ 300s] | ^~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 300s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:556:9: note: in expansion of macro 'ASSERT_ZERO' [ 300s] 556 | ASSERT_ZERO(kdbus_msg_recv(conn_dst, &msg, NULL)); [ 300s] | ^~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 300s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:539:36: note: in expansion of macro 'ASSERT_ZERO' [ 300s] 539 | #define CHECK_FDS(ARRAY,COUNT,MSG) ASSERT_ZERO(check_fds((COUNT), ELEMENTSOF((ARRAY)), (MSG))) [ 300s] | ^~~~~~~~~~~ [ 300s] test-fd.c:557:9: note: in expansion of macro 'CHECK_FDS' [ 300s] 557 | CHECK_FDS(fds, KDBUS_CONN_MAX_FDS_PER_USER, msg); [ 300s] | ^~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 300s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:441:17: note: in expansion of macro 'ASSERT_RETURN' [ 300s] 441 | ASSERT_RETURN(-1,==,ARRAY_NAME[_MAKE_FDS_i_]);\ [ 300s] | ^~~~~~~~~~~~~ [ 300s] test-fd.c:480:33: note: in expansion of macro 'MAKE_FDS_' [ 300s] 480 | #define MAKE_MEMFDS(ARRAY_NAME) MAKE_FDS_(ARRAY_NAME, make_value_checked_memfd) [ 300s] | ^~~~~~~~~ [ 300s] test-fd.c:560:9: note: in expansion of macro 'MAKE_MEMFDS' [ 300s] 560 | MAKE_MEMFDS(memfds); [ 300s] | ^~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 300s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:443:17: note: in expansion of macro 'ASSERT_RETURN' [ 300s] 443 | ASSERT_RETURN(0,<=,ARRAY_NAME[_MAKE_FDS_i_]);\ [ 300s] | ^~~~~~~~~~~~~ [ 300s] test-fd.c:480:33: note: in expansion of macro 'MAKE_FDS_' [ 300s] 480 | #define MAKE_MEMFDS(ARRAY_NAME) MAKE_FDS_(ARRAY_NAME, make_value_checked_memfd) [ 300s] | ^~~~~~~~~ [ 300s] test-fd.c:560:9: note: in expansion of macro 'MAKE_MEMFDS' [ 300s] 560 | MAKE_MEMFDS(memfds); [ 300s] | ^~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 300s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:563:9: note: in expansion of macro 'ASSERT_RETURN' [ 300s] 563 | ASSERT_RETURN(-E2BIG,==,send_memfds(conn_src, conn_dst->id, memfds, KDBUS_MSG_MAX_ITEMS + 1)); [ 300s] | ^~~~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 300s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:564:9: note: in expansion of macro 'ASSERT_RETURN' [ 300s] 564 | ASSERT_RETURN(-E2BIG,==,send_memfds(conn_src, conn_dst->id, memfds, KDBUS_MSG_MAX_MEMFD_ITEMS + 1)); [ 300s] | ^~~~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 300s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:567:9: note: in expansion of macro 'ASSERT_ZERO' [ 300s] 567 | ASSERT_ZERO(send_memfds(conn_src, conn_dst->id, memfds, KDBUS_MSG_MAX_MEMFD_ITEMS)); [ 300s] | ^~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 300s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:568:9: note: in expansion of macro 'ASSERT_ZERO' [ 300s] 568 | ASSERT_ZERO(kdbus_msg_recv(conn_dst, &msg, NULL)); [ 300s] | ^~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 300s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:540:39: note: in expansion of macro 'ASSERT_ZERO' [ 300s] 540 | #define CHECK_MEMFDS(ARRAY,COUNT,MSG) ASSERT_ZERO(check_memfds((COUNT), ELEMENTSOF((ARRAY)), (MSG))) [ 300s] | ^~~~~~~~~~~ [ 300s] test-fd.c:571:9: note: in expansion of macro 'CHECK_MEMFDS' [ 300s] 571 | CHECK_MEMFDS(memfds, KDBUS_MSG_MAX_MEMFD_ITEMS, msg); [ 300s] | ^~~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 300s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:473:17: note: in expansion of macro 'ASSERT_RETURN' [ 300s] 473 | ASSERT_RETURN(0,<=,ARRAY_NAME[_CLOSE_FDS_i_]);\ [ 300s] | ^~~~~~~~~~~~~ [ 300s] test-fd.c:448:9: note: in expansion of macro 'CLOSE_FDS' [ 300s] 448 | CLOSE_FDS(ARRAY_NAME);\ [ 300s] | ^~~~~~~~~ [ 300s] test-fd.c:481:35: note: in expansion of macro 'REMAKE_FDS_' [ 300s] 481 | #define REMAKE_FDS(ARRAY_NAME) REMAKE_FDS_(ARRAY_NAME, make_value_checked_fd) [ 300s] | ^~~~~~~~~~~ [ 300s] test-fd.c:575:9: note: in expansion of macro 'REMAKE_FDS' [ 300s] 575 | REMAKE_FDS(fds); [ 300s] | ^~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 300s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:441:17: note: in expansion of macro 'ASSERT_RETURN' [ 300s] 441 | ASSERT_RETURN(-1,==,ARRAY_NAME[_MAKE_FDS_i_]);\ [ 300s] | ^~~~~~~~~~~~~ [ 300s] test-fd.c:449:9: note: in expansion of macro 'MAKE_FDS_' [ 300s] 449 | MAKE_FDS_(ARRAY_NAME,MAKE_ELEM);\ [ 300s] | ^~~~~~~~~ [ 300s] test-fd.c:481:35: note: in expansion of macro 'REMAKE_FDS_' [ 300s] 481 | #define REMAKE_FDS(ARRAY_NAME) REMAKE_FDS_(ARRAY_NAME, make_value_checked_fd) [ 300s] | ^~~~~~~~~~~ [ 300s] test-fd.c:575:9: note: in expansion of macro 'REMAKE_FDS' [ 300s] 575 | REMAKE_FDS(fds); [ 300s] | ^~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 300s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:443:17: note: in expansion of macro 'ASSERT_RETURN' [ 300s] 443 | ASSERT_RETURN(0,<=,ARRAY_NAME[_MAKE_FDS_i_]);\ [ 300s] | ^~~~~~~~~~~~~ [ 300s] test-fd.c:449:9: note: in expansion of macro 'MAKE_FDS_' [ 300s] 449 | MAKE_FDS_(ARRAY_NAME,MAKE_ELEM);\ [ 300s] | ^~~~~~~~~ [ 300s] test-fd.c:481:35: note: in expansion of macro 'REMAKE_FDS_' [ 300s] 481 | #define REMAKE_FDS(ARRAY_NAME) REMAKE_FDS_(ARRAY_NAME, make_value_checked_fd) [ 300s] | ^~~~~~~~~~~ [ 300s] test-fd.c:575:9: note: in expansion of macro 'REMAKE_FDS' [ 300s] 575 | REMAKE_FDS(fds); [ 300s] | ^~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 300s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:473:17: note: in expansion of macro 'ASSERT_RETURN' [ 300s] 473 | ASSERT_RETURN(0,<=,ARRAY_NAME[_CLOSE_FDS_i_]);\ [ 300s] | ^~~~~~~~~~~~~ [ 300s] test-fd.c:448:9: note: in expansion of macro 'CLOSE_FDS' [ 300s] 448 | CLOSE_FDS(ARRAY_NAME);\ [ 300s] | ^~~~~~~~~ [ 300s] test-fd.c:482:35: note: in expansion of macro 'REMAKE_FDS_' [ 300s] 482 | #define REMAKE_MEMFDS(ARRAY_NAME) REMAKE_FDS_(ARRAY_NAME, make_value_checked_memfd) [ 300s] | ^~~~~~~~~~~ [ 300s] test-fd.c:576:9: note: in expansion of macro 'REMAKE_MEMFDS' [ 300s] 576 | REMAKE_MEMFDS(memfds); [ 300s] | ^~~~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 300s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:441:17: note: in expansion of macro 'ASSERT_RETURN' [ 300s] 441 | ASSERT_RETURN(-1,==,ARRAY_NAME[_MAKE_FDS_i_]);\ [ 300s] | ^~~~~~~~~~~~~ [ 300s] test-fd.c:449:9: note: in expansion of macro 'MAKE_FDS_' [ 300s] 449 | MAKE_FDS_(ARRAY_NAME,MAKE_ELEM);\ [ 300s] | ^~~~~~~~~ [ 300s] test-fd.c:482:35: note: in expansion of macro 'REMAKE_FDS_' [ 300s] 482 | #define REMAKE_MEMFDS(ARRAY_NAME) REMAKE_FDS_(ARRAY_NAME, make_value_checked_memfd) [ 300s] | ^~~~~~~~~~~ [ 300s] test-fd.c:576:9: note: in expansion of macro 'REMAKE_MEMFDS' [ 300s] 576 | REMAKE_MEMFDS(memfds); [ 300s] | ^~~~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 300s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:443:17: note: in expansion of macro 'ASSERT_RETURN' [ 300s] 443 | ASSERT_RETURN(0,<=,ARRAY_NAME[_MAKE_FDS_i_]);\ [ 300s] | ^~~~~~~~~~~~~ [ 300s] test-fd.c:449:9: note: in expansion of macro 'MAKE_FDS_' [ 300s] 449 | MAKE_FDS_(ARRAY_NAME,MAKE_ELEM);\ [ 300s] | ^~~~~~~~~ [ 300s] test-fd.c:482:35: note: in expansion of macro 'REMAKE_FDS_' [ 300s] 482 | #define REMAKE_MEMFDS(ARRAY_NAME) REMAKE_FDS_(ARRAY_NAME, make_value_checked_memfd) [ 300s] | ^~~~~~~~~~~ [ 300s] test-fd.c:576:9: note: in expansion of macro 'REMAKE_MEMFDS' [ 300s] 576 | REMAKE_MEMFDS(memfds); [ 300s] | ^~~~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 300s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:582:9: note: in expansion of macro 'ASSERT_RETURN' [ 300s] 582 | ASSERT_RETURN(-EMFILE,==,send_fds_memfds(conn_src, conn_dst->id, fds, KDBUS_CONN_MAX_FDS_PER_USER + 1, memfds, 10)); [ 300s] | ^~~~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 300s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:583:9: note: in expansion of macro 'ASSERT_RETURN' [ 300s] 583 | ASSERT_RETURN(-EAGAIN,==,kdbus_msg_recv(conn_dst, NULL, NULL)); [ 300s] | ^~~~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 300s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:590:9: note: in expansion of macro 'ASSERT_RETURN' [ 300s] 590 | ASSERT_RETURN(-E2BIG,==,send_fds_memfds(conn_src, conn_dst->id, fds, KDBUS_CONN_MAX_FDS_PER_USER, memfds, (KDBUS_MSG_MAX_ITEMS - 1) + 1)); [ 300s] | ^~~~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 300s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:591:9: note: in expansion of macro 'ASSERT_RETURN' [ 300s] 591 | ASSERT_RETURN(-E2BIG,==,send_fds_memfds(conn_src, conn_dst->id, fds, KDBUS_CONN_MAX_FDS_PER_USER, memfds, KDBUS_MSG_MAX_MEMFD_ITEMS + 1)); [ 300s] | ^~~~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 300s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:592:9: note: in expansion of macro 'ASSERT_RETURN' [ 300s] 592 | ASSERT_RETURN(-EAGAIN,==,kdbus_msg_recv(conn_dst, NULL, NULL)); [ 300s] | ^~~~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 300s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:598:9: note: in expansion of macro 'ASSERT_ZERO' [ 300s] 598 | ASSERT_ZERO(send_fds_memfds(conn_src, conn_dst->id, fds, KDBUS_CONN_MAX_FDS_PER_USER, memfds, KDBUS_MSG_MAX_MEMFD_ITEMS)); [ 300s] | ^~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 300s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:600:9: note: in expansion of macro 'ASSERT_ZERO' [ 300s] 600 | ASSERT_ZERO(kdbus_msg_recv(conn_dst, &msg, NULL)); [ 300s] | ^~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 300s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:539:36: note: in expansion of macro 'ASSERT_ZERO' [ 300s] 539 | #define CHECK_FDS(ARRAY,COUNT,MSG) ASSERT_ZERO(check_fds((COUNT), ELEMENTSOF((ARRAY)), (MSG))) [ 300s] | ^~~~~~~~~~~ [ 300s] test-fd.c:603:9: note: in expansion of macro 'CHECK_FDS' [ 300s] 603 | CHECK_FDS(fds, KDBUS_CONN_MAX_FDS_PER_USER, msg); [ 300s] | ^~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 300s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:540:39: note: in expansion of macro 'ASSERT_ZERO' [ 300s] 540 | #define CHECK_MEMFDS(ARRAY,COUNT,MSG) ASSERT_ZERO(check_memfds((COUNT), ELEMENTSOF((ARRAY)), (MSG))) [ 300s] | ^~~~~~~~~~~ [ 300s] test-fd.c:604:9: note: in expansion of macro 'CHECK_MEMFDS' [ 300s] 604 | CHECK_MEMFDS(memfds, KDBUS_MSG_MAX_MEMFD_ITEMS, msg); [ 300s] | ^~~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 300s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:473:17: note: in expansion of macro 'ASSERT_RETURN' [ 300s] 473 | ASSERT_RETURN(0,<=,ARRAY_NAME[_CLOSE_FDS_i_]);\ [ 300s] | ^~~~~~~~~~~~~ [ 300s] test-fd.c:448:9: note: in expansion of macro 'CLOSE_FDS' [ 300s] 448 | CLOSE_FDS(ARRAY_NAME);\ [ 300s] | ^~~~~~~~~ [ 300s] test-fd.c:481:35: note: in expansion of macro 'REMAKE_FDS_' [ 300s] 481 | #define REMAKE_FDS(ARRAY_NAME) REMAKE_FDS_(ARRAY_NAME, make_value_checked_fd) [ 300s] | ^~~~~~~~~~~ [ 300s] test-fd.c:608:9: note: in expansion of macro 'REMAKE_FDS' [ 300s] 608 | REMAKE_FDS(fds); [ 300s] | ^~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 300s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:441:17: note: in expansion of macro 'ASSERT_RETURN' [ 300s] 441 | ASSERT_RETURN(-1,==,ARRAY_NAME[_MAKE_FDS_i_]);\ [ 300s] | ^~~~~~~~~~~~~ [ 300s] test-fd.c:449:9: note: in expansion of macro 'MAKE_FDS_' [ 300s] 449 | MAKE_FDS_(ARRAY_NAME,MAKE_ELEM);\ [ 300s] | ^~~~~~~~~ [ 300s] test-fd.c:481:35: note: in expansion of macro 'REMAKE_FDS_' [ 300s] 481 | #define REMAKE_FDS(ARRAY_NAME) REMAKE_FDS_(ARRAY_NAME, make_value_checked_fd) [ 300s] | ^~~~~~~~~~~ [ 300s] test-fd.c:608:9: note: in expansion of macro 'REMAKE_FDS' [ 300s] 608 | REMAKE_FDS(fds); [ 300s] | ^~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 300s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:443:17: note: in expansion of macro 'ASSERT_RETURN' [ 300s] 443 | ASSERT_RETURN(0,<=,ARRAY_NAME[_MAKE_FDS_i_]);\ [ 300s] | ^~~~~~~~~~~~~ [ 300s] test-fd.c:449:9: note: in expansion of macro 'MAKE_FDS_' [ 300s] 449 | MAKE_FDS_(ARRAY_NAME,MAKE_ELEM);\ [ 300s] | ^~~~~~~~~ [ 300s] test-fd.c:481:35: note: in expansion of macro 'REMAKE_FDS_' [ 300s] 481 | #define REMAKE_FDS(ARRAY_NAME) REMAKE_FDS_(ARRAY_NAME, make_value_checked_fd) [ 300s] | ^~~~~~~~~~~ [ 300s] test-fd.c:608:9: note: in expansion of macro 'REMAKE_FDS' [ 300s] 608 | REMAKE_FDS(fds); [ 300s] | ^~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 300s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:473:17: note: in expansion of macro 'ASSERT_RETURN' [ 300s] 473 | ASSERT_RETURN(0,<=,ARRAY_NAME[_CLOSE_FDS_i_]);\ [ 300s] | ^~~~~~~~~~~~~ [ 300s] test-fd.c:448:9: note: in expansion of macro 'CLOSE_FDS' [ 300s] 448 | CLOSE_FDS(ARRAY_NAME);\ [ 300s] | ^~~~~~~~~ [ 300s] test-fd.c:482:35: note: in expansion of macro 'REMAKE_FDS_' [ 300s] 482 | #define REMAKE_MEMFDS(ARRAY_NAME) REMAKE_FDS_(ARRAY_NAME, make_value_checked_memfd) [ 300s] | ^~~~~~~~~~~ [ 300s] test-fd.c:609:9: note: in expansion of macro 'REMAKE_MEMFDS' [ 300s] 609 | REMAKE_MEMFDS(memfds); [ 300s] | ^~~~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 300s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:441:17: note: in expansion of macro 'ASSERT_RETURN' [ 300s] 441 | ASSERT_RETURN(-1,==,ARRAY_NAME[_MAKE_FDS_i_]);\ [ 300s] | ^~~~~~~~~~~~~ [ 300s] test-fd.c:449:9: note: in expansion of macro 'MAKE_FDS_' [ 300s] 449 | MAKE_FDS_(ARRAY_NAME,MAKE_ELEM);\ [ 300s] | ^~~~~~~~~ [ 300s] test-fd.c:482:35: note: in expansion of macro 'REMAKE_FDS_' [ 300s] 482 | #define REMAKE_MEMFDS(ARRAY_NAME) REMAKE_FDS_(ARRAY_NAME, make_value_checked_memfd) [ 300s] | ^~~~~~~~~~~ [ 300s] test-fd.c:609:9: note: in expansion of macro 'REMAKE_MEMFDS' [ 300s] 609 | REMAKE_MEMFDS(memfds); [ 300s] | ^~~~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 300s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:443:17: note: in expansion of macro 'ASSERT_RETURN' [ 300s] 443 | ASSERT_RETURN(0,<=,ARRAY_NAME[_MAKE_FDS_i_]);\ [ 300s] | ^~~~~~~~~~~~~ [ 300s] test-fd.c:449:9: note: in expansion of macro 'MAKE_FDS_' [ 300s] 449 | MAKE_FDS_(ARRAY_NAME,MAKE_ELEM);\ [ 300s] | ^~~~~~~~~ [ 300s] test-fd.c:482:35: note: in expansion of macro 'REMAKE_FDS_' [ 300s] 482 | #define REMAKE_MEMFDS(ARRAY_NAME) REMAKE_FDS_(ARRAY_NAME, make_value_checked_memfd) [ 300s] | ^~~~~~~~~~~ [ 300s] test-fd.c:609:9: note: in expansion of macro 'REMAKE_MEMFDS' [ 300s] 609 | REMAKE_MEMFDS(memfds); [ 300s] | ^~~~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 300s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:615:9: note: in expansion of macro 'ASSERT_ZERO' [ 300s] 615 | ASSERT_ZERO(send_fds_memfds(conn_src, conn_dst->id, fds, KDBUS_CONN_MAX_FDS_PER_USER, memfds, KDBUS_MSG_MAX_MEMFD_ITEMS)); [ 300s] | ^~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 300s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:473:17: note: in expansion of macro 'ASSERT_RETURN' [ 300s] 473 | ASSERT_RETURN(0,<=,ARRAY_NAME[_CLOSE_FDS_i_]);\ [ 300s] | ^~~~~~~~~~~~~ [ 300s] test-fd.c:448:9: note: in expansion of macro 'CLOSE_FDS' [ 300s] 448 | CLOSE_FDS(ARRAY_NAME);\ [ 300s] | ^~~~~~~~~ [ 300s] test-fd.c:481:35: note: in expansion of macro 'REMAKE_FDS_' [ 300s] 481 | #define REMAKE_FDS(ARRAY_NAME) REMAKE_FDS_(ARRAY_NAME, make_value_checked_fd) [ 300s] | ^~~~~~~~~~~ [ 300s] test-fd.c:618:9: note: in expansion of macro 'REMAKE_FDS' [ 300s] 618 | REMAKE_FDS(fds); [ 300s] | ^~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 300s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:441:17: note: in expansion of macro 'ASSERT_RETURN' [ 300s] 441 | ASSERT_RETURN(-1,==,ARRAY_NAME[_MAKE_FDS_i_]);\ [ 300s] | ^~~~~~~~~~~~~ [ 300s] test-fd.c:449:9: note: in expansion of macro 'MAKE_FDS_' [ 300s] 449 | MAKE_FDS_(ARRAY_NAME,MAKE_ELEM);\ [ 300s] | ^~~~~~~~~ [ 300s] test-fd.c:481:35: note: in expansion of macro 'REMAKE_FDS_' [ 300s] 481 | #define REMAKE_FDS(ARRAY_NAME) REMAKE_FDS_(ARRAY_NAME, make_value_checked_fd) [ 300s] | ^~~~~~~~~~~ [ 300s] test-fd.c:618:9: note: in expansion of macro 'REMAKE_FDS' [ 300s] 618 | REMAKE_FDS(fds); [ 300s] | ^~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 300s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:443:17: note: in expansion of macro 'ASSERT_RETURN' [ 300s] 443 | ASSERT_RETURN(0,<=,ARRAY_NAME[_MAKE_FDS_i_]);\ [ 300s] | ^~~~~~~~~~~~~ [ 300s] test-fd.c:449:9: note: in expansion of macro 'MAKE_FDS_' [ 300s] 449 | MAKE_FDS_(ARRAY_NAME,MAKE_ELEM);\ [ 300s] | ^~~~~~~~~ [ 300s] test-fd.c:481:35: note: in expansion of macro 'REMAKE_FDS_' [ 300s] 481 | #define REMAKE_FDS(ARRAY_NAME) REMAKE_FDS_(ARRAY_NAME, make_value_checked_fd) [ 300s] | ^~~~~~~~~~~ [ 300s] test-fd.c:618:9: note: in expansion of macro 'REMAKE_FDS' [ 300s] 618 | REMAKE_FDS(fds); [ 300s] | ^~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 300s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:621:9: note: in expansion of macro 'ASSERT_RETURN' [ 300s] 621 | ASSERT_RETURN(-EMFILE,==,send_fds(conn_src, conn_dst->id, fds, KDBUS_CONN_MAX_FDS_PER_USER)); [ 300s] | ^~~~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 300s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:624:9: note: in expansion of macro 'ASSERT_ZERO' [ 300s] 624 | ASSERT_ZERO(send_memfds(conn_src, conn_dst->id, memfds, KDBUS_MSG_MAX_MEMFD_ITEMS)); [ 300s] | ^~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 300s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:625:9: note: in expansion of macro 'ASSERT_ZERO' [ 300s] 625 | ASSERT_ZERO(kdbus_msg_recv(conn_dst, &msg, NULL)); [ 300s] | ^~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 300s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:539:36: note: in expansion of macro 'ASSERT_ZERO' [ 300s] 539 | #define CHECK_FDS(ARRAY,COUNT,MSG) ASSERT_ZERO(check_fds((COUNT), ELEMENTSOF((ARRAY)), (MSG))) [ 300s] | ^~~~~~~~~~~ [ 300s] test-fd.c:626:9: note: in expansion of macro 'CHECK_FDS' [ 300s] 626 | CHECK_FDS(fds, KDBUS_CONN_MAX_FDS_PER_USER, msg); [ 300s] | ^~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 300s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:540:39: note: in expansion of macro 'ASSERT_ZERO' [ 300s] 540 | #define CHECK_MEMFDS(ARRAY,COUNT,MSG) ASSERT_ZERO(check_memfds((COUNT), ELEMENTSOF((ARRAY)), (MSG))) [ 300s] | ^~~~~~~~~~~ [ 300s] test-fd.c:627:9: note: in expansion of macro 'CHECK_MEMFDS' [ 300s] 627 | CHECK_MEMFDS(memfds, KDBUS_MSG_MAX_MEMFD_ITEMS, msg); [ 300s] | ^~~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 300s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:630:9: note: in expansion of macro 'ASSERT_ZERO' [ 300s] 630 | ASSERT_ZERO(kdbus_msg_recv(conn_dst, &msg, NULL)); [ 300s] | ^~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 300s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:540:39: note: in expansion of macro 'ASSERT_ZERO' [ 300s] 540 | #define CHECK_MEMFDS(ARRAY,COUNT,MSG) ASSERT_ZERO(check_memfds((COUNT), ELEMENTSOF((ARRAY)), (MSG))) [ 300s] | ^~~~~~~~~~~ [ 300s] test-fd.c:633:9: note: in expansion of macro 'CHECK_MEMFDS' [ 300s] 633 | CHECK_MEMFDS(memfds, KDBUS_MSG_MAX_MEMFD_ITEMS, msg); [ 300s] | ^~~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 300s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:636:9: note: in expansion of macro 'ASSERT_RETURN' [ 300s] 636 | ASSERT_RETURN(-EAGAIN,==,kdbus_msg_recv(conn_dst, NULL, NULL)); [ 300s] | ^~~~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 300s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:473:17: note: in expansion of macro 'ASSERT_RETURN' [ 300s] 473 | ASSERT_RETURN(0,<=,ARRAY_NAME[_CLOSE_FDS_i_]);\ [ 300s] | ^~~~~~~~~~~~~ [ 300s] test-fd.c:638:9: note: in expansion of macro 'CLOSE_FDS' [ 300s] 638 | CLOSE_FDS(fds); [ 300s] | ^~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 300s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:473:17: note: in expansion of macro 'ASSERT_RETURN' [ 300s] 473 | ASSERT_RETURN(0,<=,ARRAY_NAME[_CLOSE_FDS_i_]);\ [ 300s] | ^~~~~~~~~~~~~ [ 300s] test-fd.c:639:9: note: in expansion of macro 'CLOSE_FDS' [ 300s] 639 | CLOSE_FDS(memfds); [ 300s] | ^~~~~~~~~ [ 300s] test-fd.c: In function 'send_fds_memfds': [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 300s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:196:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 300s] 196 | ASSERT_RETURN_VAL(ret,==,0, ret); [ 300s] | ^~~~~~~~~~~~~~~~~ [ 300s] test-fd.c: In function 'check_fds': [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 300s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:487:9: note: in expansion of macro 'ASSERT_RETURN' [ 300s] 487 | ASSERT_RETURN(0,<,togo); [ 300s] | ^~~~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 300s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:488:9: note: in expansion of macro 'ASSERT_RETURN' [ 300s] 488 | ASSERT_RETURN(togo,<=,total_count); [ 300s] | ^~~~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 300s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:494:25: note: in expansion of macro 'ASSERT_NONZERO' [ 300s] 494 | ASSERT_NONZERO(togo); [ 300s] | ^~~~~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 300s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:499:41: note: in expansion of macro 'ASSERT_ZERO' [ 300s] 499 | ASSERT_ZERO(eventfd_read(fd, &value)); [ 300s] | ^~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 300s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:500:41: note: in expansion of macro 'ASSERT_RETURN' [ 300s] 500 | ASSERT_RETURN(value,==,++value_checked_in); [ 300s] | ^~~~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 300s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:504:25: note: in expansion of macro 'ASSERT_ZERO' [ 300s] 504 | ASSERT_ZERO(togo); [ 300s] | ^~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 300s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:506:9: note: in expansion of macro 'ASSERT_ZERO' [ 300s] 506 | ASSERT_ZERO(togo); [ 300s] | ^~~~~~~~~~~ [ 300s] test-fd.c: In function 'check_memfds': [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 300s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:514:9: note: in expansion of macro 'ASSERT_RETURN' [ 300s] 514 | ASSERT_RETURN(0,<,togo); [ 300s] | ^~~~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 300s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:515:9: note: in expansion of macro 'ASSERT_RETURN' [ 300s] 515 | ASSERT_RETURN(togo,<=,total_count); [ 300s] | ^~~~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 300s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:520:25: note: in expansion of macro 'ASSERT_NONZERO' [ 300s] 520 | ASSERT_NONZERO(togo); [ 300s] | ^~~~~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 300s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:526:33: note: in expansion of macro 'ASSERT_ZERO' [ 300s] 526 | ASSERT_ZERO(sys_memfd_get_size(fd, &size)); [ 300s] | ^~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 300s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:527:33: note: in expansion of macro 'ASSERT_RETURN' [ 300s] 527 | ASSERT_RETURN(size,==,(typeof(size))sizeof(value_checked_in)); [ 300s] | ^~~~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 300s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:528:33: note: in expansion of macro 'ASSERT_RETURN' [ 300s] 528 | ASSERT_RETURN((uint64_t)size,==,item->memfd.size); [ 300s] | ^~~~~~~~~~~~~ [ 300s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 300s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 300s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:528:33: note: in expansion of macro 'ASSERT_RETURN' [ 300s] 528 | ASSERT_RETURN((uint64_t)size,==,item->memfd.size); [ 300s] | ^~~~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 300s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:529:33: note: in expansion of macro 'ASSERT_RETURN' [ 300s] 529 | ASSERT_RETURN(MAP_FAILED, !=, (buf = mmap(NULL, size, PROT_READ, MAP_PRIVATE, fd, 0))); [ 300s] | ^~~~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 300s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:530:33: note: in expansion of macro 'ASSERT_RETURN' [ 300s] 530 | ASSERT_RETURN(*buf,==,++value_checked_in); [ 300s] | ^~~~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 300s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:531:33: note: in expansion of macro 'ASSERT_ZERO' [ 300s] 531 | ASSERT_ZERO(munmap(buf, size)); [ 300s] | ^~~~~~~~~~~ [ 300s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 300s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 300s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 300s] | ^~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 300s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 300s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 300s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 300s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 300s] | ^~~~~~~~~~~~ [ 300s] test-fd.c:534:9: note: in expansion of macro 'ASSERT_ZERO' [ 300s] 534 | ASSERT_ZERO(togo); [ 300s] | ^~~~~~~~~~~ [ 304s] cc -c test-free.c -o test-free.o -O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -I../../include/uapi/ -I../../samples/kdbus/ -std=gnu99 -Wno-error=shadow -DKBUILD_MODNAME=\"kdbus\" -D_GNU_SOURCE [ 304s] In file included from test-free.c:15: [ 304s] test-free.c: In function 'kdbus_test_free': [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-free.c:61:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 61 | ASSERT_RETURN(-ENXIO,==,kdbus_cmd_free(env->conn->fd, &cmd_free)); [ 304s] | ^~~~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-free.c:66:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 66 | ASSERT_RETURN(-ENXIO,==,kdbus_cmd_free(env->conn->fd, &cmd_free)); [ 304s] | ^~~~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-free.c:79:17: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 79 | ASSERT_ZERO(sample_ioctl_call(env, &off, &siz)); [ 304s] | ^~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-free.c:82:33: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 82 | ASSERT_ZERO(area_before(off,siz,offset[j])); [ 304s] | ^~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-free.c:86:33: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 86 | ASSERT_ZERO(area_before(offset[j],size[j],off)); [ 304s] | ^~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-free.c:90:17: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 90 | ASSERT_RETURN(j+1,>=,0); [ 304s] | ^~~~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-free.c:91:17: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 91 | ASSERT_RETURN((unsigned)(j+1),<=,i); [ 304s] | ^~~~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-free.c:106:25: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 106 | ASSERT_RETURN(-ENXIO,==,kdbus_cmd_free(env->conn->fd, &cmd_free)); [ 304s] | ^~~~~~~~~~~~~ [ 304s] test-free.c: In function 'sample_ioctl_call': [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-free.c:26:9: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 26 | ASSERT_ZERO(kdbus_cmd_list(env->conn->fd, &cmd_list)); [ 304s] | ^~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-free.c:28:29: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 28 | #define A(L,R) do { ASSERT_RETURN((typeof(L))(R),==,(R)); *p##L = L = (R); } while (0) [ 304s] | ^~~~~~~~~~~~~ [ 304s] test-free.c:29:17: note: in expansion of macro 'A' [ 304s] 29 | A(off, cmd_list.offset); [ 304s] | ^ [ 304s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 304s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-free.c:28:29: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 28 | #define A(L,R) do { ASSERT_RETURN((typeof(L))(R),==,(R)); *p##L = L = (R); } while (0) [ 304s] | ^~~~~~~~~~~~~ [ 304s] test-free.c:29:17: note: in expansion of macro 'A' [ 304s] 29 | A(off, cmd_list.offset); [ 304s] | ^ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-free.c:30:17: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 30 | ASSERT_RETURN(off,<,POOL_SIZE); [ 304s] | ^~~~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-free.c:28:29: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 28 | #define A(L,R) do { ASSERT_RETURN((typeof(L))(R),==,(R)); *p##L = L = (R); } while (0) [ 304s] | ^~~~~~~~~~~~~ [ 304s] test-free.c:31:17: note: in expansion of macro 'A' [ 304s] 31 | A(size, ((struct kdbus_info *)((uintptr_t)env->conn->buf + off))->size); [ 304s] | ^ [ 304s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 304s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-free.c:28:29: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 28 | #define A(L,R) do { ASSERT_RETURN((typeof(L))(R),==,(R)); *p##L = L = (R); } while (0) [ 304s] | ^~~~~~~~~~~~~ [ 304s] test-free.c:31:17: note: in expansion of macro 'A' [ 304s] 31 | A(size, ((struct kdbus_info *)((uintptr_t)env->conn->buf + off))->size); [ 304s] | ^ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-free.c:34:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 34 | ASSERT_RETURN(off+size,<,POOL_SIZE); [ 304s] | ^~~~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-free.c:35:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 35 | ASSERT_RETURN(off+size,>=,size); [ 304s] | ^~~~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-free.c:36:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 36 | ASSERT_RETURN(off+size,>,off); [ 304s] | ^~~~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 304s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-free.c:37:9: note: in expansion of macro 'ASSERT_ZERO' [ 304s] 37 | ASSERT_ZERO(size % 8); [ 304s] | ^~~~~~~~~~~ [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-free.c:38:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 38 | ASSERT_RETURN(size,>=,sizeof(struct kdbus_info)); [ 304s] | ^~~~~~~~~~~~~ [ 304s] test-free.c: In function 'area_before': [ 304s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 304s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 304s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 304s] | ^~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 304s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 304s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 304s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 304s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 304s] | ^~~~~~~~~~~~ [ 304s] test-free.c:47:9: note: in expansion of macro 'ASSERT_RETURN' [ 304s] 47 | ASSERT_RETURN(off_left+size_left,<=,off_right); [ 304s] | ^~~~~~~~~~~~~ [ 304s] cc -c test-match.c -o test-match.o -O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -I../../include/uapi/ -I../../samples/kdbus/ -std=gnu99 -Wno-error=shadow -DKBUILD_MODNAME=\"kdbus\" -D_GNU_SOURCE [ 305s] In file included from test-match.c:15: [ 305s] test-match.c: In function 'kdbus_test_match_id_add': [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:38:9: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 38 | ASSERT_ZERO(add_id_match_((CONN),(FLAGS),KDBUS_ITEM_ID_##NOTIFICATION_TYPE,(ID))) [ 305s] | ^~~~~~~~~~~ [ 305s] test-match.c:46:9: note: in expansion of macro 'ADD_ID_MATCH' [ 305s] 46 | ADD_ID_MATCH(env->conn, 0, ADD, KDBUS_MATCH_ID_ANY); [ 305s] | ^~~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:49:9: note: in expansion of macro 'ASSERT_NONZERO' [ 305s] 49 | ASSERT_NONZERO(conn = kdbus_hello(env->buspath, 0, NULL, 0)); [ 305s] | ^~~~~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:52:9: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 52 | ASSERT_ZERO(kdbus_msg_recv(env->conn, &msg, NULL)); [ 305s] | ^~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 305s] | ^~~~~~~~~~~~~ [ 305s] test-match.c:53:9: note: in expansion of macro 'ASSERT_NO_PENDING' [ 305s] 53 | ASSERT_NO_PENDING(env->conn); [ 305s] | ^~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 305s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:55:9: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 55 | ASSERT_RETURN(msg->items[0].type,==,(typeof(msg->items[0].type))KDBUS_ITEM_ID_ADD); [ 305s] | ^~~~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:55:9: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 55 | ASSERT_RETURN(msg->items[0].type,==,(typeof(msg->items[0].type))KDBUS_ITEM_ID_ADD); [ 305s] | ^~~~~~~~~~~~~ [ 305s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 305s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:55:9: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 55 | ASSERT_RETURN(msg->items[0].type,==,(typeof(msg->items[0].type))KDBUS_ITEM_ID_ADD); [ 305s] | ^~~~~~~~~~~~~ [ 305s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 305s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:56:9: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 56 | ASSERT_RETURN(msg->items[0].id_change.id,==,conn->id); [ 305s] | ^~~~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:56:9: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 56 | ASSERT_RETURN(msg->items[0].id_change.id,==,conn->id); [ 305s] | ^~~~~~~~~~~~~ [ 305s] test-match.c: In function 'add_id_match_': [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:34:9: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 34 | ASSERT_ZERO(kdbus_cmd_match_add(conn->fd, &buf.cmd)); [ 305s] | ^~~~~~~~~~~ [ 305s] test-match.c: In function 'kdbus_test_match_id_remove': [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:70:9: note: in expansion of macro 'ASSERT_NONZERO' [ 305s] 70 | ASSERT_NONZERO(conn = kdbus_hello(env->buspath, 0, NULL, 0)); [ 305s] | ^~~~~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:38:9: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 38 | ASSERT_ZERO(add_id_match_((CONN),(FLAGS),KDBUS_ITEM_ID_##NOTIFICATION_TYPE,(ID))) [ 305s] | ^~~~~~~~~~~ [ 305s] test-match.c:74:9: note: in expansion of macro 'ADD_ID_MATCH' [ 305s] 74 | ADD_ID_MATCH(env->conn, 0, REMOVE, id); [ 305s] | ^~~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:80:9: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 80 | ASSERT_ZERO(kdbus_msg_recv(env->conn, &msg, NULL)); [ 305s] | ^~~~~~~~~~~ [ 305s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 305s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:82:9: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 82 | ASSERT_RETURN(msg->items[0].type,==,(typeof(msg->items[0].type))KDBUS_ITEM_ID_REMOVE); [ 305s] | ^~~~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:82:9: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 82 | ASSERT_RETURN(msg->items[0].type,==,(typeof(msg->items[0].type))KDBUS_ITEM_ID_REMOVE); [ 305s] | ^~~~~~~~~~~~~ [ 305s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 305s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:82:9: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 82 | ASSERT_RETURN(msg->items[0].type,==,(typeof(msg->items[0].type))KDBUS_ITEM_ID_REMOVE); [ 305s] | ^~~~~~~~~~~~~ [ 305s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 305s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:83:9: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 83 | ASSERT_RETURN(msg->items[0].id_change.id,==,id); [ 305s] | ^~~~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:83:9: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 83 | ASSERT_RETURN(msg->items[0].id_change.id,==,id); [ 305s] | ^~~~~~~~~~~~~ [ 305s] test-match.c: In function 'kdbus_test_match_replace': [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:95:9: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 95 | ASSERT_RETURN(kdbus_test_match_id_add(env),==,TEST_OK); [ 305s] | ^~~~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:38:9: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 38 | ASSERT_ZERO(add_id_match_((CONN),(FLAGS),KDBUS_ITEM_ID_##NOTIFICATION_TYPE,(ID))) [ 305s] | ^~~~~~~~~~~ [ 305s] test-match.c:98:9: note: in expansion of macro 'ADD_ID_MATCH' [ 305s] 98 | ADD_ID_MATCH(env->conn, KDBUS_MATCH_REPLACE, REMOVE, KDBUS_MATCH_ID_ANY); [ 305s] | ^~~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:101:9: note: in expansion of macro 'ASSERT_NONZERO' [ 305s] 101 | ASSERT_NONZERO(conn = kdbus_hello(env->buspath, 0, NULL, 0)); [ 305s] | ^~~~~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:105:9: note: in expansion of macro 'ASSERT_NONZERO' [ 305s] 105 | ASSERT_NONZERO(kdbus_msg_recv(env->conn, &msg, NULL)); [ 305s] | ^~~~~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:111:9: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 111 | ASSERT_ZERO(kdbus_msg_recv(env->conn, &msg, NULL)); [ 305s] | ^~~~~~~~~~~ [ 305s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 305s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:113:9: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 113 | ASSERT_RETURN(msg->items[0].type,==,(typeof(msg->items[0].type))KDBUS_ITEM_ID_REMOVE); [ 305s] | ^~~~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:113:9: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 113 | ASSERT_RETURN(msg->items[0].type,==,(typeof(msg->items[0].type))KDBUS_ITEM_ID_REMOVE); [ 305s] | ^~~~~~~~~~~~~ [ 305s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 305s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:113:9: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 113 | ASSERT_RETURN(msg->items[0].type,==,(typeof(msg->items[0].type))KDBUS_ITEM_ID_REMOVE); [ 305s] | ^~~~~~~~~~~~~ [ 305s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 305s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:114:9: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 114 | ASSERT_RETURN(msg->items[0].id_change.id,==,id); [ 305s] | ^~~~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:114:9: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 114 | ASSERT_RETURN(msg->items[0].id_change.id,==,id); [ 305s] | ^~~~~~~~~~~~~ [ 305s] test-match.c: In function 'kdbus_test_match_name_add': [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:187:9: note: in expansion of macro 'ASSERT_NONZERO' [ 305s] 187 | ASSERT_NONZERO(listener = kdbus_hello(env->buspath, 0, NULL, 0)); [ 305s] | ^~~~~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:149:9: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 149 | ASSERT_ZERO(add_name_match_((CONN),(FLAGS),(OLD_ID),(NEW_ID),KDBUS_ITEM_NAME_##NOTIFICATION_TYPE,(NAME))) [ 305s] | ^~~~~~~~~~~ [ 305s] test-match.c:190:9: note: in expansion of macro 'ADD_NAME_MATCH' [ 305s] 190 | ADD_NAME_MATCH(env->conn, 0, KDBUS_MATCH_ID_ANY, KDBUS_MATCH_ID_ANY, ADD, name); [ 305s] | ^~~~~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:193:9: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 193 | ASSERT_ZERO(kdbus_test_match_name_add_(env, name, NULL)); [ 305s] | ^~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 305s] | ^~~~~~~~~~~~~ [ 305s] test-match.c:194:9: note: in expansion of macro 'ASSERT_NO_PENDING' [ 305s] 194 | ASSERT_NO_PENDING(listener); [ 305s] | ^~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:149:9: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 149 | ASSERT_ZERO(add_name_match_((CONN),(FLAGS),(OLD_ID),(NEW_ID),KDBUS_ITEM_NAME_##NOTIFICATION_TYPE,(NAME))) [ 305s] | ^~~~~~~~~~~ [ 305s] test-match.c:197:17: note: in expansion of macro 'ADD_NAME_MATCH' [ 305s] 197 | ADD_NAME_MATCH(listener, KDBUS_MATCH_REPLACE, KDBUS_MATCH_ID_ANY, (ID), ADD, NAME);\ [ 305s] | ^~~~~~~~~~~~~~ [ 305s] test-match.c:201:17: note: in expansion of macro 'CHECK' [ 305s] 201 | CHECK(KDBUS_MATCH_ID_ANY, UNMATCHED_NAME, NULL); /* wrong name */ [ 305s] | ^~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:198:17: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 198 | ASSERT_ZERO(kdbus_test_match_name_add_(env, name, (CONN_IF_WILL_MATCH)));\ [ 305s] | ^~~~~~~~~~~ [ 305s] test-match.c:201:17: note: in expansion of macro 'CHECK' [ 305s] 201 | CHECK(KDBUS_MATCH_ID_ANY, UNMATCHED_NAME, NULL); /* wrong name */ [ 305s] | ^~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 305s] | ^~~~~~~~~~~~~ [ 305s] test-match.c:199:17: note: in expansion of macro 'ASSERT_NO_PENDING' [ 305s] 199 | ASSERT_NO_PENDING(listener);\ [ 305s] | ^~~~~~~~~~~~~~~~~ [ 305s] test-match.c:201:17: note: in expansion of macro 'CHECK' [ 305s] 201 | CHECK(KDBUS_MATCH_ID_ANY, UNMATCHED_NAME, NULL); /* wrong name */ [ 305s] | ^~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:149:9: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 149 | ASSERT_ZERO(add_name_match_((CONN),(FLAGS),(OLD_ID),(NEW_ID),KDBUS_ITEM_NAME_##NOTIFICATION_TYPE,(NAME))) [ 305s] | ^~~~~~~~~~~ [ 305s] test-match.c:197:17: note: in expansion of macro 'ADD_NAME_MATCH' [ 305s] 197 | ADD_NAME_MATCH(listener, KDBUS_MATCH_REPLACE, KDBUS_MATCH_ID_ANY, (ID), ADD, NAME);\ [ 305s] | ^~~~~~~~~~~~~~ [ 305s] test-match.c:202:17: note: in expansion of macro 'CHECK' [ 305s] 202 | CHECK(KDBUS_MATCH_ID_ANY, NULL, listener); /* wildcard name */ [ 305s] | ^~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:198:17: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 198 | ASSERT_ZERO(kdbus_test_match_name_add_(env, name, (CONN_IF_WILL_MATCH)));\ [ 305s] | ^~~~~~~~~~~ [ 305s] test-match.c:202:17: note: in expansion of macro 'CHECK' [ 305s] 202 | CHECK(KDBUS_MATCH_ID_ANY, NULL, listener); /* wildcard name */ [ 305s] | ^~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 305s] | ^~~~~~~~~~~~~ [ 305s] test-match.c:199:17: note: in expansion of macro 'ASSERT_NO_PENDING' [ 305s] 199 | ASSERT_NO_PENDING(listener);\ [ 305s] | ^~~~~~~~~~~~~~~~~ [ 305s] test-match.c:202:17: note: in expansion of macro 'CHECK' [ 305s] 202 | CHECK(KDBUS_MATCH_ID_ANY, NULL, listener); /* wildcard name */ [ 305s] | ^~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:149:9: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 149 | ASSERT_ZERO(add_name_match_((CONN),(FLAGS),(OLD_ID),(NEW_ID),KDBUS_ITEM_NAME_##NOTIFICATION_TYPE,(NAME))) [ 305s] | ^~~~~~~~~~~ [ 305s] test-match.c:197:17: note: in expansion of macro 'ADD_NAME_MATCH' [ 305s] 197 | ADD_NAME_MATCH(listener, KDBUS_MATCH_REPLACE, KDBUS_MATCH_ID_ANY, (ID), ADD, NAME);\ [ 305s] | ^~~~~~~~~~~~~~ [ 305s] test-match.c:203:17: note: in expansion of macro 'CHECK' [ 305s] 203 | CHECK(env->conn->id, NULL, listener); /* wildcard name + good id */ [ 305s] | ^~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:198:17: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 198 | ASSERT_ZERO(kdbus_test_match_name_add_(env, name, (CONN_IF_WILL_MATCH)));\ [ 305s] | ^~~~~~~~~~~ [ 305s] test-match.c:203:17: note: in expansion of macro 'CHECK' [ 305s] 203 | CHECK(env->conn->id, NULL, listener); /* wildcard name + good id */ [ 305s] | ^~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 305s] | ^~~~~~~~~~~~~ [ 305s] test-match.c:199:17: note: in expansion of macro 'ASSERT_NO_PENDING' [ 305s] 199 | ASSERT_NO_PENDING(listener);\ [ 305s] | ^~~~~~~~~~~~~~~~~ [ 305s] test-match.c:203:17: note: in expansion of macro 'CHECK' [ 305s] 203 | CHECK(env->conn->id, NULL, listener); /* wildcard name + good id */ [ 305s] | ^~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:149:9: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 149 | ASSERT_ZERO(add_name_match_((CONN),(FLAGS),(OLD_ID),(NEW_ID),KDBUS_ITEM_NAME_##NOTIFICATION_TYPE,(NAME))) [ 305s] | ^~~~~~~~~~~ [ 305s] test-match.c:197:17: note: in expansion of macro 'ADD_NAME_MATCH' [ 305s] 197 | ADD_NAME_MATCH(listener, KDBUS_MATCH_REPLACE, KDBUS_MATCH_ID_ANY, (ID), ADD, NAME);\ [ 305s] | ^~~~~~~~~~~~~~ [ 305s] test-match.c:204:17: note: in expansion of macro 'CHECK' [ 305s] 204 | CHECK(env->conn->id + 1, NULL, NULL); /* wildcard name + bad id */ [ 305s] | ^~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:198:17: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 198 | ASSERT_ZERO(kdbus_test_match_name_add_(env, name, (CONN_IF_WILL_MATCH)));\ [ 305s] | ^~~~~~~~~~~ [ 305s] test-match.c:204:17: note: in expansion of macro 'CHECK' [ 305s] 204 | CHECK(env->conn->id + 1, NULL, NULL); /* wildcard name + bad id */ [ 305s] | ^~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 305s] | ^~~~~~~~~~~~~ [ 305s] test-match.c:199:17: note: in expansion of macro 'ASSERT_NO_PENDING' [ 305s] 199 | ASSERT_NO_PENDING(listener);\ [ 305s] | ^~~~~~~~~~~~~~~~~ [ 305s] test-match.c:204:17: note: in expansion of macro 'CHECK' [ 305s] 204 | CHECK(env->conn->id + 1, NULL, NULL); /* wildcard name + bad id */ [ 305s] | ^~~~~ [ 305s] test-match.c: In function 'add_name_match_': [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:145:9: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 145 | ASSERT_ZERO(kdbus_cmd_match_add(conn->fd, &buf.cmd)); [ 305s] | ^~~~~~~~~~~ [ 305s] test-match.c: In function 'kdbus_test_match_name_add_': [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:169:9: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 169 | ASSERT_ZERO(kdbus_name_acquire(env->conn, name, NULL)); [ 305s] | ^~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:164:9: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 164 | ASSERT_ZERO(assert_single_match_((CONN),(OLD_ID),(NEW_ID),KDBUS_ITEM_NAME_##NOTIFICATION_TYPE,(NAME))) [ 305s] | ^~~~~~~~~~~ [ 305s] test-match.c:171:29: note: in expansion of macro 'ASSERT_SINGLE_MATCH' [ 305s] 171 | #define CHECK(CONN) ASSERT_SINGLE_MATCH((CONN), 0, env->conn->id, ADD, name) [ 305s] | ^~~~~~~~~~~~~~~~~~~ [ 305s] test-match.c:172:17: note: in expansion of macro 'CHECK' [ 305s] 172 | CHECK(env->conn); [ 305s] | ^~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:164:9: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 164 | ASSERT_ZERO(assert_single_match_((CONN),(OLD_ID),(NEW_ID),KDBUS_ITEM_NAME_##NOTIFICATION_TYPE,(NAME))) [ 305s] | ^~~~~~~~~~~ [ 305s] test-match.c:171:29: note: in expansion of macro 'ASSERT_SINGLE_MATCH' [ 305s] 171 | #define CHECK(CONN) ASSERT_SINGLE_MATCH((CONN), 0, env->conn->id, ADD, name) [ 305s] | ^~~~~~~~~~~~~~~~~~~ [ 305s] test-match.c:174:25: note: in expansion of macro 'CHECK' [ 305s] 174 | CHECK(listener); [ 305s] | ^~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:177:9: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 177 | ASSERT_ZERO(kdbus_name_release(env->conn, name)); [ 305s] | ^~~~~~~~~~~ [ 305s] test-match.c: In function 'assert_single_match_': [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:154:9: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 154 | ASSERT_ZERO(kdbus_msg_recv(conn, &msg, NULL)); [ 305s] | ^~~~~~~~~~~ [ 305s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 305s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:155:9: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 155 | ASSERT_RETURN(msg->items[0].type,==,notification_type); [ 305s] | ^~~~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:155:9: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 155 | ASSERT_RETURN(msg->items[0].type,==,notification_type); [ 305s] | ^~~~~~~~~~~~~ [ 305s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 305s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:156:9: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 156 | ASSERT_RETURN(msg->items[0].name_change.old_id.id,==,old_id); [ 305s] | ^~~~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:156:9: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 156 | ASSERT_RETURN(msg->items[0].name_change.old_id.id,==,old_id); [ 305s] | ^~~~~~~~~~~~~ [ 305s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 305s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:157:9: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 157 | ASSERT_RETURN(msg->items[0].name_change.new_id.id,==,new_id); [ 305s] | ^~~~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:157:9: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 157 | ASSERT_RETURN(msg->items[0].name_change.new_id.id,==,new_id); [ 305s] | ^~~~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:158:9: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 158 | ASSERT_ZERO(strcmp(msg->items[0].name_change.name, name)); [ 305s] | ^~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:159:9: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 159 | ASSERT_ZERO(kdbus_free_msg(conn, msg)); [ 305s] | ^~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 305s] | ^~~~~~~~~~~~~ [ 305s] test-match.c:160:9: note: in expansion of macro 'ASSERT_NO_PENDING' [ 305s] 160 | ASSERT_NO_PENDING(conn); [ 305s] | ^~~~~~~~~~~~~~~~~ [ 305s] test-match.c: In function 'kdbus_test_match_name_remove': [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:234:9: note: in expansion of macro 'ASSERT_NONZERO' [ 305s] 234 | ASSERT_NONZERO(listener = kdbus_hello(env->buspath, 0, NULL, 0)); [ 305s] | ^~~~~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:149:9: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 149 | ASSERT_ZERO(add_name_match_((CONN),(FLAGS),(OLD_ID),(NEW_ID),KDBUS_ITEM_NAME_##NOTIFICATION_TYPE,(NAME))) [ 305s] | ^~~~~~~~~~~ [ 305s] test-match.c:237:9: note: in expansion of macro 'ADD_NAME_MATCH' [ 305s] 237 | ADD_NAME_MATCH(env->conn, 0, KDBUS_MATCH_ID_ANY, KDBUS_MATCH_ID_ANY, REMOVE, name); [ 305s] | ^~~~~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:240:9: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 240 | ASSERT_ZERO(kdbus_test_match_name_remove_(env, name, NULL)); [ 305s] | ^~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 305s] | ^~~~~~~~~~~~~ [ 305s] test-match.c:241:9: note: in expansion of macro 'ASSERT_NO_PENDING' [ 305s] 241 | ASSERT_NO_PENDING(listener); [ 305s] | ^~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:149:9: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 149 | ASSERT_ZERO(add_name_match_((CONN),(FLAGS),(OLD_ID),(NEW_ID),KDBUS_ITEM_NAME_##NOTIFICATION_TYPE,(NAME))) [ 305s] | ^~~~~~~~~~~ [ 305s] test-match.c:244:17: note: in expansion of macro 'ADD_NAME_MATCH' [ 305s] 244 | ADD_NAME_MATCH(listener, KDBUS_MATCH_REPLACE, (ID), KDBUS_MATCH_ID_ANY, REMOVE, NAME);\ [ 305s] | ^~~~~~~~~~~~~~ [ 305s] test-match.c:248:17: note: in expansion of macro 'CHECK' [ 305s] 248 | CHECK(KDBUS_MATCH_ID_ANY, UNMATCHED_NAME, NULL); /* wrong name */ [ 305s] | ^~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:245:17: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 245 | ASSERT_ZERO(kdbus_test_match_name_remove_(env, name, (CONN_IF_WILL_MATCH)));\ [ 305s] | ^~~~~~~~~~~ [ 305s] test-match.c:248:17: note: in expansion of macro 'CHECK' [ 305s] 248 | CHECK(KDBUS_MATCH_ID_ANY, UNMATCHED_NAME, NULL); /* wrong name */ [ 305s] | ^~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 305s] | ^~~~~~~~~~~~~ [ 305s] test-match.c:246:17: note: in expansion of macro 'ASSERT_NO_PENDING' [ 305s] 246 | ASSERT_NO_PENDING(listener);\ [ 305s] | ^~~~~~~~~~~~~~~~~ [ 305s] test-match.c:248:17: note: in expansion of macro 'CHECK' [ 305s] 248 | CHECK(KDBUS_MATCH_ID_ANY, UNMATCHED_NAME, NULL); /* wrong name */ [ 305s] | ^~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:149:9: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 149 | ASSERT_ZERO(add_name_match_((CONN),(FLAGS),(OLD_ID),(NEW_ID),KDBUS_ITEM_NAME_##NOTIFICATION_TYPE,(NAME))) [ 305s] | ^~~~~~~~~~~ [ 305s] test-match.c:244:17: note: in expansion of macro 'ADD_NAME_MATCH' [ 305s] 244 | ADD_NAME_MATCH(listener, KDBUS_MATCH_REPLACE, (ID), KDBUS_MATCH_ID_ANY, REMOVE, NAME);\ [ 305s] | ^~~~~~~~~~~~~~ [ 305s] test-match.c:249:17: note: in expansion of macro 'CHECK' [ 305s] 249 | CHECK(KDBUS_MATCH_ID_ANY, NULL, listener); /* wildcard name */ [ 305s] | ^~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:245:17: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 245 | ASSERT_ZERO(kdbus_test_match_name_remove_(env, name, (CONN_IF_WILL_MATCH)));\ [ 305s] | ^~~~~~~~~~~ [ 305s] test-match.c:249:17: note: in expansion of macro 'CHECK' [ 305s] 249 | CHECK(KDBUS_MATCH_ID_ANY, NULL, listener); /* wildcard name */ [ 305s] | ^~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 305s] | ^~~~~~~~~~~~~ [ 305s] test-match.c:246:17: note: in expansion of macro 'ASSERT_NO_PENDING' [ 305s] 246 | ASSERT_NO_PENDING(listener);\ [ 305s] | ^~~~~~~~~~~~~~~~~ [ 305s] test-match.c:249:17: note: in expansion of macro 'CHECK' [ 305s] 249 | CHECK(KDBUS_MATCH_ID_ANY, NULL, listener); /* wildcard name */ [ 305s] | ^~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:149:9: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 149 | ASSERT_ZERO(add_name_match_((CONN),(FLAGS),(OLD_ID),(NEW_ID),KDBUS_ITEM_NAME_##NOTIFICATION_TYPE,(NAME))) [ 305s] | ^~~~~~~~~~~ [ 305s] test-match.c:244:17: note: in expansion of macro 'ADD_NAME_MATCH' [ 305s] 244 | ADD_NAME_MATCH(listener, KDBUS_MATCH_REPLACE, (ID), KDBUS_MATCH_ID_ANY, REMOVE, NAME);\ [ 305s] | ^~~~~~~~~~~~~~ [ 305s] test-match.c:250:17: note: in expansion of macro 'CHECK' [ 305s] 250 | CHECK(env->conn->id, NULL, listener); /* wildcard name + good id */ [ 305s] | ^~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:245:17: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 245 | ASSERT_ZERO(kdbus_test_match_name_remove_(env, name, (CONN_IF_WILL_MATCH)));\ [ 305s] | ^~~~~~~~~~~ [ 305s] test-match.c:250:17: note: in expansion of macro 'CHECK' [ 305s] 250 | CHECK(env->conn->id, NULL, listener); /* wildcard name + good id */ [ 305s] | ^~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 305s] | ^~~~~~~~~~~~~ [ 305s] test-match.c:246:17: note: in expansion of macro 'ASSERT_NO_PENDING' [ 305s] 246 | ASSERT_NO_PENDING(listener);\ [ 305s] | ^~~~~~~~~~~~~~~~~ [ 305s] test-match.c:250:17: note: in expansion of macro 'CHECK' [ 305s] 250 | CHECK(env->conn->id, NULL, listener); /* wildcard name + good id */ [ 305s] | ^~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:149:9: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 149 | ASSERT_ZERO(add_name_match_((CONN),(FLAGS),(OLD_ID),(NEW_ID),KDBUS_ITEM_NAME_##NOTIFICATION_TYPE,(NAME))) [ 305s] | ^~~~~~~~~~~ [ 305s] test-match.c:244:17: note: in expansion of macro 'ADD_NAME_MATCH' [ 305s] 244 | ADD_NAME_MATCH(listener, KDBUS_MATCH_REPLACE, (ID), KDBUS_MATCH_ID_ANY, REMOVE, NAME);\ [ 305s] | ^~~~~~~~~~~~~~ [ 305s] test-match.c:251:17: note: in expansion of macro 'CHECK' [ 305s] 251 | CHECK(env->conn->id + 1, NULL, NULL); /* wildcard name + bad id */ [ 305s] | ^~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:245:17: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 245 | ASSERT_ZERO(kdbus_test_match_name_remove_(env, name, (CONN_IF_WILL_MATCH)));\ [ 305s] | ^~~~~~~~~~~ [ 305s] test-match.c:251:17: note: in expansion of macro 'CHECK' [ 305s] 251 | CHECK(env->conn->id + 1, NULL, NULL); /* wildcard name + bad id */ [ 305s] | ^~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 305s] | ^~~~~~~~~~~~~ [ 305s] test-match.c:246:17: note: in expansion of macro 'ASSERT_NO_PENDING' [ 305s] 246 | ASSERT_NO_PENDING(listener);\ [ 305s] | ^~~~~~~~~~~~~~~~~ [ 305s] test-match.c:251:17: note: in expansion of macro 'CHECK' [ 305s] 251 | CHECK(env->conn->id + 1, NULL, NULL); /* wildcard name + bad id */ [ 305s] | ^~~~~ [ 305s] test-match.c: In function 'kdbus_test_match_name_remove_': [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:214:9: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 214 | ASSERT_ZERO(kdbus_name_acquire(env->conn, name, NULL)); [ 305s] | ^~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:217:9: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 217 | ASSERT_ZERO(kdbus_name_release(env->conn, name)); [ 305s] | ^~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:164:9: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 164 | ASSERT_ZERO(assert_single_match_((CONN),(OLD_ID),(NEW_ID),KDBUS_ITEM_NAME_##NOTIFICATION_TYPE,(NAME))) [ 305s] | ^~~~~~~~~~~ [ 305s] test-match.c:220:29: note: in expansion of macro 'ASSERT_SINGLE_MATCH' [ 305s] 220 | #define CHECK(CONN) ASSERT_SINGLE_MATCH((CONN), env->conn->id, 0, REMOVE, name) [ 305s] | ^~~~~~~~~~~~~~~~~~~ [ 305s] test-match.c:221:17: note: in expansion of macro 'CHECK' [ 305s] 221 | CHECK(env->conn); [ 305s] | ^~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:164:9: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 164 | ASSERT_ZERO(assert_single_match_((CONN),(OLD_ID),(NEW_ID),KDBUS_ITEM_NAME_##NOTIFICATION_TYPE,(NAME))) [ 305s] | ^~~~~~~~~~~ [ 305s] test-match.c:220:29: note: in expansion of macro 'ASSERT_SINGLE_MATCH' [ 305s] 220 | #define CHECK(CONN) ASSERT_SINGLE_MATCH((CONN), env->conn->id, 0, REMOVE, name) [ 305s] | ^~~~~~~~~~~~~~~~~~~ [ 305s] test-match.c:223:25: note: in expansion of macro 'CHECK' [ 305s] 223 | CHECK(listener); [ 305s] | ^~~~~ [ 305s] test-match.c: In function 'kdbus_test_match_name_change': [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:292:9: note: in expansion of macro 'ASSERT_NONZERO' [ 305s] 292 | ASSERT_NONZERO(conn = kdbus_hello(env->buspath, 0, NULL, 0)); [ 305s] | ^~~~~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:294:9: note: in expansion of macro 'ASSERT_NONZERO' [ 305s] 294 | ASSERT_NONZERO(listener = kdbus_hello(env->buspath, 0, NULL, 0)); [ 305s] | ^~~~~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:149:9: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 149 | ASSERT_ZERO(add_name_match_((CONN),(FLAGS),(OLD_ID),(NEW_ID),KDBUS_ITEM_NAME_##NOTIFICATION_TYPE,(NAME))) [ 305s] | ^~~~~~~~~~~ [ 305s] test-match.c:296:9: note: in expansion of macro 'ADD_NAME_MATCH' [ 305s] 296 | ADD_NAME_MATCH(env->conn, 0, KDBUS_MATCH_ID_ANY, KDBUS_MATCH_ID_ANY, CHANGE, name); [ 305s] | ^~~~~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:299:9: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 299 | ASSERT_ZERO(kdbus_test_match_name_change_(env, conn, name, NULL)); [ 305s] | ^~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 305s] | ^~~~~~~~~~~~~ [ 305s] test-match.c:300:9: note: in expansion of macro 'ASSERT_NO_PENDING' [ 305s] 300 | ASSERT_NO_PENDING(listener); [ 305s] | ^~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:149:9: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 149 | ASSERT_ZERO(add_name_match_((CONN),(FLAGS),(OLD_ID),(NEW_ID),KDBUS_ITEM_NAME_##NOTIFICATION_TYPE,(NAME))) [ 305s] | ^~~~~~~~~~~ [ 305s] test-match.c:303:17: note: in expansion of macro 'ADD_NAME_MATCH' [ 305s] 303 | ADD_NAME_MATCH(listener, KDBUS_MATCH_REPLACE, (OLD_ID), (NEW_ID), CHANGE, NAME);\ [ 305s] | ^~~~~~~~~~~~~~ [ 305s] test-match.c:307:17: note: in expansion of macro 'CHECK' [ 305s] 307 | CHECK(KDBUS_MATCH_ID_ANY, KDBUS_MATCH_ID_ANY, UNMATCHED_NAME, NULL); /* wrong name */ [ 305s] | ^~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:304:17: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 304 | ASSERT_ZERO(kdbus_test_match_name_change_(env, conn, name, (CONN_IF_WILL_MATCH)));\ [ 305s] | ^~~~~~~~~~~ [ 305s] test-match.c:307:17: note: in expansion of macro 'CHECK' [ 305s] 307 | CHECK(KDBUS_MATCH_ID_ANY, KDBUS_MATCH_ID_ANY, UNMATCHED_NAME, NULL); /* wrong name */ [ 305s] | ^~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 305s] | ^~~~~~~~~~~~~ [ 305s] test-match.c:305:17: note: in expansion of macro 'ASSERT_NO_PENDING' [ 305s] 305 | ASSERT_NO_PENDING(listener);\ [ 305s] | ^~~~~~~~~~~~~~~~~ [ 305s] test-match.c:307:17: note: in expansion of macro 'CHECK' [ 305s] 307 | CHECK(KDBUS_MATCH_ID_ANY, KDBUS_MATCH_ID_ANY, UNMATCHED_NAME, NULL); /* wrong name */ [ 305s] | ^~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:149:9: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 149 | ASSERT_ZERO(add_name_match_((CONN),(FLAGS),(OLD_ID),(NEW_ID),KDBUS_ITEM_NAME_##NOTIFICATION_TYPE,(NAME))) [ 305s] | ^~~~~~~~~~~ [ 305s] test-match.c:303:17: note: in expansion of macro 'ADD_NAME_MATCH' [ 305s] 303 | ADD_NAME_MATCH(listener, KDBUS_MATCH_REPLACE, (OLD_ID), (NEW_ID), CHANGE, NAME);\ [ 305s] | ^~~~~~~~~~~~~~ [ 305s] test-match.c:308:17: note: in expansion of macro 'CHECK' [ 305s] 308 | CHECK(KDBUS_MATCH_ID_ANY, KDBUS_MATCH_ID_ANY, NULL, listener); /* wildcard name */ [ 305s] | ^~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:304:17: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 304 | ASSERT_ZERO(kdbus_test_match_name_change_(env, conn, name, (CONN_IF_WILL_MATCH)));\ [ 305s] | ^~~~~~~~~~~ [ 305s] test-match.c:308:17: note: in expansion of macro 'CHECK' [ 305s] 308 | CHECK(KDBUS_MATCH_ID_ANY, KDBUS_MATCH_ID_ANY, NULL, listener); /* wildcard name */ [ 305s] | ^~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 305s] | ^~~~~~~~~~~~~ [ 305s] test-match.c:305:17: note: in expansion of macro 'ASSERT_NO_PENDING' [ 305s] 305 | ASSERT_NO_PENDING(listener);\ [ 305s] | ^~~~~~~~~~~~~~~~~ [ 305s] test-match.c:308:17: note: in expansion of macro 'CHECK' [ 305s] 308 | CHECK(KDBUS_MATCH_ID_ANY, KDBUS_MATCH_ID_ANY, NULL, listener); /* wildcard name */ [ 305s] | ^~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:149:9: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 149 | ASSERT_ZERO(add_name_match_((CONN),(FLAGS),(OLD_ID),(NEW_ID),KDBUS_ITEM_NAME_##NOTIFICATION_TYPE,(NAME))) [ 305s] | ^~~~~~~~~~~ [ 305s] test-match.c:303:17: note: in expansion of macro 'ADD_NAME_MATCH' [ 305s] 303 | ADD_NAME_MATCH(listener, KDBUS_MATCH_REPLACE, (OLD_ID), (NEW_ID), CHANGE, NAME);\ [ 305s] | ^~~~~~~~~~~~~~ [ 305s] test-match.c:310:17: note: in expansion of macro 'CHECK' [ 305s] 310 | CHECK(env->conn->id, KDBUS_MATCH_ID_ANY, NULL, listener); /* wildcard name + good id */ [ 305s] | ^~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:304:17: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 304 | ASSERT_ZERO(kdbus_test_match_name_change_(env, conn, name, (CONN_IF_WILL_MATCH)));\ [ 305s] | ^~~~~~~~~~~ [ 305s] test-match.c:310:17: note: in expansion of macro 'CHECK' [ 305s] 310 | CHECK(env->conn->id, KDBUS_MATCH_ID_ANY, NULL, listener); /* wildcard name + good id */ [ 305s] | ^~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 305s] | ^~~~~~~~~~~~~ [ 305s] test-match.c:305:17: note: in expansion of macro 'ASSERT_NO_PENDING' [ 305s] 305 | ASSERT_NO_PENDING(listener);\ [ 305s] | ^~~~~~~~~~~~~~~~~ [ 305s] test-match.c:310:17: note: in expansion of macro 'CHECK' [ 305s] 310 | CHECK(env->conn->id, KDBUS_MATCH_ID_ANY, NULL, listener); /* wildcard name + good id */ [ 305s] | ^~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:149:9: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 149 | ASSERT_ZERO(add_name_match_((CONN),(FLAGS),(OLD_ID),(NEW_ID),KDBUS_ITEM_NAME_##NOTIFICATION_TYPE,(NAME))) [ 305s] | ^~~~~~~~~~~ [ 305s] test-match.c:303:17: note: in expansion of macro 'ADD_NAME_MATCH' [ 305s] 303 | ADD_NAME_MATCH(listener, KDBUS_MATCH_REPLACE, (OLD_ID), (NEW_ID), CHANGE, NAME);\ [ 305s] | ^~~~~~~~~~~~~~ [ 305s] test-match.c:311:17: note: in expansion of macro 'CHECK' [ 305s] 311 | CHECK(env->conn->id + 1, KDBUS_MATCH_ID_ANY, NULL, NULL); /* wildcard name + bad id */ [ 305s] | ^~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:304:17: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 304 | ASSERT_ZERO(kdbus_test_match_name_change_(env, conn, name, (CONN_IF_WILL_MATCH)));\ [ 305s] | ^~~~~~~~~~~ [ 305s] test-match.c:311:17: note: in expansion of macro 'CHECK' [ 305s] 311 | CHECK(env->conn->id + 1, KDBUS_MATCH_ID_ANY, NULL, NULL); /* wildcard name + bad id */ [ 305s] | ^~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 305s] | ^~~~~~~~~~~~~ [ 305s] test-match.c:305:17: note: in expansion of macro 'ASSERT_NO_PENDING' [ 305s] 305 | ASSERT_NO_PENDING(listener);\ [ 305s] | ^~~~~~~~~~~~~~~~~ [ 305s] test-match.c:311:17: note: in expansion of macro 'CHECK' [ 305s] 311 | CHECK(env->conn->id + 1, KDBUS_MATCH_ID_ANY, NULL, NULL); /* wildcard name + bad id */ [ 305s] | ^~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:149:9: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 149 | ASSERT_ZERO(add_name_match_((CONN),(FLAGS),(OLD_ID),(NEW_ID),KDBUS_ITEM_NAME_##NOTIFICATION_TYPE,(NAME))) [ 305s] | ^~~~~~~~~~~ [ 305s] test-match.c:303:17: note: in expansion of macro 'ADD_NAME_MATCH' [ 305s] 303 | ADD_NAME_MATCH(listener, KDBUS_MATCH_REPLACE, (OLD_ID), (NEW_ID), CHANGE, NAME);\ [ 305s] | ^~~~~~~~~~~~~~ [ 305s] test-match.c:313:17: note: in expansion of macro 'CHECK' [ 305s] 313 | CHECK(KDBUS_MATCH_ID_ANY, conn->id, NULL, listener); /* good id */ [ 305s] | ^~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:304:17: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 304 | ASSERT_ZERO(kdbus_test_match_name_change_(env, conn, name, (CONN_IF_WILL_MATCH)));\ [ 305s] | ^~~~~~~~~~~ [ 305s] test-match.c:313:17: note: in expansion of macro 'CHECK' [ 305s] 313 | CHECK(KDBUS_MATCH_ID_ANY, conn->id, NULL, listener); /* good id */ [ 305s] | ^~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 305s] | ^~~~~~~~~~~~~ [ 305s] test-match.c:305:17: note: in expansion of macro 'ASSERT_NO_PENDING' [ 305s] 305 | ASSERT_NO_PENDING(listener);\ [ 305s] | ^~~~~~~~~~~~~~~~~ [ 305s] test-match.c:313:17: note: in expansion of macro 'CHECK' [ 305s] 313 | CHECK(KDBUS_MATCH_ID_ANY, conn->id, NULL, listener); /* good id */ [ 305s] | ^~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:149:9: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 149 | ASSERT_ZERO(add_name_match_((CONN),(FLAGS),(OLD_ID),(NEW_ID),KDBUS_ITEM_NAME_##NOTIFICATION_TYPE,(NAME))) [ 305s] | ^~~~~~~~~~~ [ 305s] test-match.c:303:17: note: in expansion of macro 'ADD_NAME_MATCH' [ 305s] 303 | ADD_NAME_MATCH(listener, KDBUS_MATCH_REPLACE, (OLD_ID), (NEW_ID), CHANGE, NAME);\ [ 305s] | ^~~~~~~~~~~~~~ [ 305s] test-match.c:314:17: note: in expansion of macro 'CHECK' [ 305s] 314 | CHECK(KDBUS_MATCH_ID_ANY, conn->id + 1, NULL, NULL); /* bad id */ [ 305s] | ^~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:304:17: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 304 | ASSERT_ZERO(kdbus_test_match_name_change_(env, conn, name, (CONN_IF_WILL_MATCH)));\ [ 305s] | ^~~~~~~~~~~ [ 305s] test-match.c:314:17: note: in expansion of macro 'CHECK' [ 305s] 314 | CHECK(KDBUS_MATCH_ID_ANY, conn->id + 1, NULL, NULL); /* bad id */ [ 305s] | ^~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 305s] | ^~~~~~~~~~~~~ [ 305s] test-match.c:305:17: note: in expansion of macro 'ASSERT_NO_PENDING' [ 305s] 305 | ASSERT_NO_PENDING(listener);\ [ 305s] | ^~~~~~~~~~~~~~~~~ [ 305s] test-match.c:314:17: note: in expansion of macro 'CHECK' [ 305s] 314 | CHECK(KDBUS_MATCH_ID_ANY, conn->id + 1, NULL, NULL); /* bad id */ [ 305s] | ^~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:149:9: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 149 | ASSERT_ZERO(add_name_match_((CONN),(FLAGS),(OLD_ID),(NEW_ID),KDBUS_ITEM_NAME_##NOTIFICATION_TYPE,(NAME))) [ 305s] | ^~~~~~~~~~~ [ 305s] test-match.c:303:17: note: in expansion of macro 'ADD_NAME_MATCH' [ 305s] 303 | ADD_NAME_MATCH(listener, KDBUS_MATCH_REPLACE, (OLD_ID), (NEW_ID), CHANGE, NAME);\ [ 305s] | ^~~~~~~~~~~~~~ [ 305s] test-match.c:316:17: note: in expansion of macro 'CHECK' [ 305s] 316 | CHECK(env->conn->id, conn->id, NULL, listener); /* wildcard name + good id */ [ 305s] | ^~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:304:17: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 304 | ASSERT_ZERO(kdbus_test_match_name_change_(env, conn, name, (CONN_IF_WILL_MATCH)));\ [ 305s] | ^~~~~~~~~~~ [ 305s] test-match.c:316:17: note: in expansion of macro 'CHECK' [ 305s] 316 | CHECK(env->conn->id, conn->id, NULL, listener); /* wildcard name + good id */ [ 305s] | ^~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 305s] | ^~~~~~~~~~~~~ [ 305s] test-match.c:305:17: note: in expansion of macro 'ASSERT_NO_PENDING' [ 305s] 305 | ASSERT_NO_PENDING(listener);\ [ 305s] | ^~~~~~~~~~~~~~~~~ [ 305s] test-match.c:316:17: note: in expansion of macro 'CHECK' [ 305s] 316 | CHECK(env->conn->id, conn->id, NULL, listener); /* wildcard name + good id */ [ 305s] | ^~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:149:9: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 149 | ASSERT_ZERO(add_name_match_((CONN),(FLAGS),(OLD_ID),(NEW_ID),KDBUS_ITEM_NAME_##NOTIFICATION_TYPE,(NAME))) [ 305s] | ^~~~~~~~~~~ [ 305s] test-match.c:303:17: note: in expansion of macro 'ADD_NAME_MATCH' [ 305s] 303 | ADD_NAME_MATCH(listener, KDBUS_MATCH_REPLACE, (OLD_ID), (NEW_ID), CHANGE, NAME);\ [ 305s] | ^~~~~~~~~~~~~~ [ 305s] test-match.c:318:17: note: in expansion of macro 'CHECK' [ 305s] 318 | CHECK(env->conn->id + 1, conn->id, NULL, NULL); /* wildcard name + bad id */ [ 305s] | ^~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:304:17: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 304 | ASSERT_ZERO(kdbus_test_match_name_change_(env, conn, name, (CONN_IF_WILL_MATCH)));\ [ 305s] | ^~~~~~~~~~~ [ 305s] test-match.c:318:17: note: in expansion of macro 'CHECK' [ 305s] 318 | CHECK(env->conn->id + 1, conn->id, NULL, NULL); /* wildcard name + bad id */ [ 305s] | ^~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 305s] | ^~~~~~~~~~~~~ [ 305s] test-match.c:305:17: note: in expansion of macro 'ASSERT_NO_PENDING' [ 305s] 305 | ASSERT_NO_PENDING(listener);\ [ 305s] | ^~~~~~~~~~~~~~~~~ [ 305s] test-match.c:318:17: note: in expansion of macro 'CHECK' [ 305s] 318 | CHECK(env->conn->id + 1, conn->id, NULL, NULL); /* wildcard name + bad id */ [ 305s] | ^~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:149:9: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 149 | ASSERT_ZERO(add_name_match_((CONN),(FLAGS),(OLD_ID),(NEW_ID),KDBUS_ITEM_NAME_##NOTIFICATION_TYPE,(NAME))) [ 305s] | ^~~~~~~~~~~ [ 305s] test-match.c:303:17: note: in expansion of macro 'ADD_NAME_MATCH' [ 305s] 303 | ADD_NAME_MATCH(listener, KDBUS_MATCH_REPLACE, (OLD_ID), (NEW_ID), CHANGE, NAME);\ [ 305s] | ^~~~~~~~~~~~~~ [ 305s] test-match.c:319:17: note: in expansion of macro 'CHECK' [ 305s] 319 | CHECK(env->conn->id, conn->id + 1, NULL, NULL); /* wildcard name + bad id */ [ 305s] | ^~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:304:17: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 304 | ASSERT_ZERO(kdbus_test_match_name_change_(env, conn, name, (CONN_IF_WILL_MATCH)));\ [ 305s] | ^~~~~~~~~~~ [ 305s] test-match.c:319:17: note: in expansion of macro 'CHECK' [ 305s] 319 | CHECK(env->conn->id, conn->id + 1, NULL, NULL); /* wildcard name + bad id */ [ 305s] | ^~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 305s] | ^~~~~~~~~~~~~ [ 305s] test-match.c:305:17: note: in expansion of macro 'ASSERT_NO_PENDING' [ 305s] 305 | ASSERT_NO_PENDING(listener);\ [ 305s] | ^~~~~~~~~~~~~~~~~ [ 305s] test-match.c:319:17: note: in expansion of macro 'CHECK' [ 305s] 319 | CHECK(env->conn->id, conn->id + 1, NULL, NULL); /* wildcard name + bad id */ [ 305s] | ^~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 305s] | ^~~~~~~~~~~~~ [ 305s] test-match.c:322:9: note: in expansion of macro 'ASSERT_NO_PENDING' [ 305s] 322 | ASSERT_NO_PENDING(conn); [ 305s] | ^~~~~~~~~~~~~~~~~ [ 305s] test-match.c: In function 'kdbus_test_match_name_change_': [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:263:9: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 263 | ASSERT_ZERO(kdbus_name_acquire(env->conn, name, NULL)); [ 305s] | ^~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:268:9: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 268 | ASSERT_ZERO(kdbus_name_acquire(conn, name, &flags)); [ 305s] | ^~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:269:9: note: in expansion of macro 'ASSERT_NONZERO' [ 305s] 269 | ASSERT_NONZERO(flags & KDBUS_NAME_IN_QUEUE); [ 305s] | ^~~~~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:272:9: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 272 | ASSERT_ZERO(kdbus_name_release(env->conn, name)); [ 305s] | ^~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:164:9: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 164 | ASSERT_ZERO(assert_single_match_((CONN),(OLD_ID),(NEW_ID),KDBUS_ITEM_NAME_##NOTIFICATION_TYPE,(NAME))) [ 305s] | ^~~~~~~~~~~ [ 305s] test-match.c:275:29: note: in expansion of macro 'ASSERT_SINGLE_MATCH' [ 305s] 275 | #define CHECK(CONN) ASSERT_SINGLE_MATCH((CONN), env->conn->id, conn->id, CHANGE, name) [ 305s] | ^~~~~~~~~~~~~~~~~~~ [ 305s] test-match.c:276:17: note: in expansion of macro 'CHECK' [ 305s] 276 | CHECK(env->conn); [ 305s] | ^~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:164:9: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 164 | ASSERT_ZERO(assert_single_match_((CONN),(OLD_ID),(NEW_ID),KDBUS_ITEM_NAME_##NOTIFICATION_TYPE,(NAME))) [ 305s] | ^~~~~~~~~~~ [ 305s] test-match.c:275:29: note: in expansion of macro 'ASSERT_SINGLE_MATCH' [ 305s] 275 | #define CHECK(CONN) ASSERT_SINGLE_MATCH((CONN), env->conn->id, conn->id, CHANGE, name) [ 305s] | ^~~~~~~~~~~~~~~~~~~ [ 305s] test-match.c:278:25: note: in expansion of macro 'CHECK' [ 305s] 278 | CHECK(listener); [ 305s] | ^~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:281:9: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 281 | ASSERT_ZERO(kdbus_name_release(conn, name)); [ 305s] | ^~~~~~~~~~~ [ 305s] test-match.c: In function 'kdbus_test_match_bloom': [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:401:9: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 401 | ASSERT_ZERO(kdbus_cmd_match_add(env->conn->fd, &buf.cmd)); [ 305s] | ^~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:404:9: note: in expansion of macro 'ASSERT_NONZERO' [ 305s] 404 | ASSERT_NONZERO(conn = kdbus_hello(env->buspath, 0, NULL, 0)); [ 305s] | ^~~~~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:408:9: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 408 | ASSERT_ZERO(send_bloom_filter(conn, ++cookie, filter, sizeof(filter), 0)); [ 305s] | ^~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:410:9: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 410 | ASSERT_RETURN(-EAGAIN,==,kdbus_msg_recv(env->conn, &msg, NULL)); [ 305s] | ^~~~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:415:9: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 415 | ASSERT_ZERO(send_bloom_filter(conn, ++cookie, filter, sizeof(filter), 0)); [ 305s] | ^~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:417:9: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 417 | ASSERT_ZERO(kdbus_msg_recv(env->conn, &msg, NULL)); [ 305s] | ^~~~~~~~~~~ [ 305s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 305s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:418:9: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 418 | ASSERT_RETURN(msg->cookie,==,cookie); [ 305s] | ^~~~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:418:9: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 418 | ASSERT_RETURN(msg->cookie,==,cookie); [ 305s] | ^~~~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:424:9: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 424 | ASSERT_ZERO(send_bloom_filter(conn, ++cookie, filter, sizeof(filter), 0)); [ 305s] | ^~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:426:9: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 426 | ASSERT_ZERO(kdbus_msg_recv(env->conn, &msg, NULL)); [ 305s] | ^~~~~~~~~~~ [ 305s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 305s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:427:9: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 427 | ASSERT_RETURN(msg->cookie,==,cookie); [ 305s] | ^~~~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:427:9: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 427 | ASSERT_RETURN(msg->cookie,==,cookie); [ 305s] | ^~~~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:430:9: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 430 | ASSERT_ZERO(send_bloom_filter(conn, ++cookie, filter, sizeof(filter), 1)); [ 305s] | ^~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:432:9: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 432 | ASSERT_RETURN(-EAGAIN,==,kdbus_msg_recv(env->conn, &msg, NULL)); [ 305s] | ^~~~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:437:9: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 437 | ASSERT_ZERO(send_bloom_filter(conn, ++cookie, filter, sizeof(filter), 1)); [ 305s] | ^~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:439:9: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 439 | ASSERT_ZERO(kdbus_msg_recv(env->conn, &msg, NULL)); [ 305s] | ^~~~~~~~~~~ [ 305s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 305s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:440:9: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 440 | ASSERT_RETURN(msg->cookie,==,cookie); [ 305s] | ^~~~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:440:9: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 440 | ASSERT_RETURN(msg->cookie,==,cookie); [ 305s] | ^~~~~~~~~~~~~ [ 305s] test-match.c: In function 'kdbus_test_big_metadata': [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:492:9: note: in expansion of macro 'ASSERT_NONZERO' [ 305s] 492 | ASSERT_NONZERO(conn = kdbus_hello(env->buspath, 0, NULL, 0)); [ 305s] | ^~~~~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:496:17: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 496 | ASSERT_ZERO(kdbus_name_acquire(conn, buf, NULL)); [ 305s] | ^~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:501:9: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 501 | ASSERT_ZERO(kdbus_msg_send(conn, NULL, 1, 0, 0, 0, env->conn->id)); [ 305s] | ^~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:505:9: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 505 | ASSERT_ZERO(kdbus_msg_recv(env->conn, &msg, NULL)); [ 305s] | ^~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:508:9: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 508 | ASSERT_ZERO(has_all_names(msg->items, msg->size - offsetof(typeof(*msg), items))); [ 305s] | ^~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:512:9: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 512 | ASSERT_ZERO(kdbus_conn_info(env->conn, conn->id, NULL, _KDBUS_ATTACH_ALL, &offset)); [ 305s] | ^~~~~~~~~~~ [ 305s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 305s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:514:9: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 514 | ASSERT_RETURN(info->id,==,conn->id); [ 305s] | ^~~~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:514:9: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 514 | ASSERT_RETURN(info->id,==,conn->id); [ 305s] | ^~~~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:515:9: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 515 | ASSERT_ZERO(has_all_names(info->items, info->size - offsetof(typeof(*info), items))); [ 305s] | ^~~~~~~~~~~ [ 305s] test-match.c: In function 'has_all_names': [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:459:25: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 459 | ASSERT_RETURN(255u,==,strlen(item->name.name)); [ 305s] | ^~~~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:460:25: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 460 | ASSERT_RETURN(0,==,memcmp(item->name.name, "big.n", 5)); [ 305s] | ^~~~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:462:33: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 462 | ASSERT_RETURN('0',==,(int)item->name.name[i]); [ 305s] | ^~~~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:463:25: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 463 | ASSERT_RETURN('0',<=,(int)item->name.name[252]); [ 305s] | ^~~~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:464:25: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 464 | ASSERT_RETURN((int)item->name.name[252],<=,'9'); [ 305s] | ^~~~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:465:25: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 465 | ASSERT_RETURN('0',<=,(int)item->name.name[253]); [ 305s] | ^~~~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:466:25: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 466 | ASSERT_RETURN((int)item->name.name[253],<=,'9'); [ 305s] | ^~~~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:467:25: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 467 | ASSERT_RETURN('0',<=,(int)item->name.name[254]); [ 305s] | ^~~~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:468:25: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 468 | ASSERT_RETURN((int)item->name.name[254],<=,'9'); [ 305s] | ^~~~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:470:25: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 470 | ASSERT_RETURN(0,<=,i); [ 305s] | ^~~~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:471:25: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 471 | ASSERT_RETURN(i,<,256); [ 305s] | ^~~~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:472:25: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 472 | ASSERT_ZERO((int)seen[i]); [ 305s] | ^~~~~~~~~~~ [ 305s] test-match.c: In function 'kdbus_test_match_itemless': [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:536:9: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 536 | ASSERT_ZERO(kdbus_cmd_match_add(env->conn->fd, &cmd)); [ 305s] | ^~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:539:9: note: in expansion of macro 'ASSERT_NONZERO' [ 305s] 539 | ASSERT_NONZERO(conn = kdbus_hello(env->buspath, 0, NULL, 0)); [ 305s] | ^~~~~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:542:9: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 542 | ASSERT_ZERO(kdbus_msg_recv(env->conn, &msg, NULL)); [ 305s] | ^~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 305s] | ^~~~~~~~~~~~~ [ 305s] test-match.c:543:9: note: in expansion of macro 'ASSERT_NO_PENDING' [ 305s] 543 | ASSERT_NO_PENDING(env->conn); [ 305s] | ^~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 305s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:544:9: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 544 | ASSERT_RETURN(msg->items[0].type,==,(typeof(msg->items[0].type))KDBUS_ITEM_ID_ADD); [ 305s] | ^~~~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:544:9: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 544 | ASSERT_RETURN(msg->items[0].type,==,(typeof(msg->items[0].type))KDBUS_ITEM_ID_ADD); [ 305s] | ^~~~~~~~~~~~~ [ 305s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 305s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:544:9: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 544 | ASSERT_RETURN(msg->items[0].type,==,(typeof(msg->items[0].type))KDBUS_ITEM_ID_ADD); [ 305s] | ^~~~~~~~~~~~~ [ 305s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 305s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:545:9: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 545 | ASSERT_RETURN(msg->items[0].id_change.id,==,conn->id); [ 305s] | ^~~~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:545:9: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 545 | ASSERT_RETURN(msg->items[0].id_change.id,==,conn->id); [ 305s] | ^~~~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:549:9: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 549 | ASSERT_ZERO(send_bloom_filter(conn, ++cookie, filter, sizeof(filter), 0)); [ 305s] | ^~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:551:9: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 551 | ASSERT_ZERO(kdbus_msg_recv(env->conn, &msg, NULL)); [ 305s] | ^~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 305s] | ^~~~~~~~~~~~~ [ 305s] test-match.c:552:9: note: in expansion of macro 'ASSERT_NO_PENDING' [ 305s] 552 | ASSERT_NO_PENDING(env->conn); [ 305s] | ^~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 305s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:553:9: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 553 | ASSERT_RETURN(msg->cookie,==,cookie); [ 305s] | ^~~~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:553:9: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 553 | ASSERT_RETURN(msg->cookie,==,cookie); [ 305s] | ^~~~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:555:9: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 555 | ASSERT_ZERO(kdbus_name_acquire(conn, "mein.volk", NULL)); [ 305s] | ^~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:557:9: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 557 | ASSERT_ZERO(kdbus_msg_recv(env->conn, &msg, NULL)); [ 305s] | ^~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 305s] | ^~~~~~~~~~~~~ [ 305s] test-match.c:558:9: note: in expansion of macro 'ASSERT_NO_PENDING' [ 305s] 558 | ASSERT_NO_PENDING(env->conn); [ 305s] | ^~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 305s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:559:9: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 559 | ASSERT_RETURN(msg->items[0].type,==,(typeof(msg->items[0].type))KDBUS_ITEM_NAME_ADD); [ 305s] | ^~~~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:559:9: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 559 | ASSERT_RETURN(msg->items[0].type,==,(typeof(msg->items[0].type))KDBUS_ITEM_NAME_ADD); [ 305s] | ^~~~~~~~~~~~~ [ 305s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 305s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:559:9: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 559 | ASSERT_RETURN(msg->items[0].type,==,(typeof(msg->items[0].type))KDBUS_ITEM_NAME_ADD); [ 305s] | ^~~~~~~~~~~~~ [ 305s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 305s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:560:9: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 560 | ASSERT_RETURN(msg->items[0].name_change.new_id.id,==,conn->id); [ 305s] | ^~~~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:560:9: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 560 | ASSERT_RETURN(msg->items[0].name_change.new_id.id,==,conn->id); [ 305s] | ^~~~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:562:9: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 562 | ASSERT_ZERO(kdbus_name_release(conn, "mein.volk")); [ 305s] | ^~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:564:9: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 564 | ASSERT_ZERO(kdbus_msg_recv(env->conn, &msg, NULL)); [ 305s] | ^~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 305s] | ^~~~~~~~~~~~~ [ 305s] test-match.c:565:9: note: in expansion of macro 'ASSERT_NO_PENDING' [ 305s] 565 | ASSERT_NO_PENDING(env->conn); [ 305s] | ^~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 305s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:566:9: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 566 | ASSERT_RETURN(msg->items[0].type,==,(typeof(msg->items[0].type))KDBUS_ITEM_NAME_REMOVE); [ 305s] | ^~~~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:566:9: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 566 | ASSERT_RETURN(msg->items[0].type,==,(typeof(msg->items[0].type))KDBUS_ITEM_NAME_REMOVE); [ 305s] | ^~~~~~~~~~~~~ [ 305s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 305s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:566:9: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 566 | ASSERT_RETURN(msg->items[0].type,==,(typeof(msg->items[0].type))KDBUS_ITEM_NAME_REMOVE); [ 305s] | ^~~~~~~~~~~~~ [ 305s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 305s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:567:9: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 567 | ASSERT_RETURN(msg->items[0].name_change.old_id.id,==,conn->id); [ 305s] | ^~~~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:567:9: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 567 | ASSERT_RETURN(msg->items[0].name_change.old_id.id,==,conn->id); [ 305s] | ^~~~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 305s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:572:9: note: in expansion of macro 'ASSERT_ZERO' [ 305s] 572 | ASSERT_ZERO(kdbus_msg_recv(env->conn, &msg, NULL)); [ 305s] | ^~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 305s] | ^~~~~~~~~~~~~ [ 305s] test-match.c:573:9: note: in expansion of macro 'ASSERT_NO_PENDING' [ 305s] 573 | ASSERT_NO_PENDING(env->conn); [ 305s] | ^~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 305s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:574:9: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 574 | ASSERT_RETURN(msg->items[0].type,==,(typeof(msg->items[0].type))KDBUS_ITEM_ID_REMOVE); [ 305s] | ^~~~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:574:9: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 574 | ASSERT_RETURN(msg->items[0].type,==,(typeof(msg->items[0].type))KDBUS_ITEM_ID_REMOVE); [ 305s] | ^~~~~~~~~~~~~ [ 305s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 305s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:574:9: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 574 | ASSERT_RETURN(msg->items[0].type,==,(typeof(msg->items[0].type))KDBUS_ITEM_ID_REMOVE); [ 305s] | ^~~~~~~~~~~~~ [ 305s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 305s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:575:9: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 575 | ASSERT_RETURN(msg->items[0].id_change.id,==,conn->id); [ 305s] | ^~~~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] test-match.c:575:9: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 575 | ASSERT_RETURN(msg->items[0].id_change.id,==,conn->id); [ 305s] | ^~~~~~~~~~~~~ [ 305s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 305s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 305s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 305s] | ^~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 305s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 305s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 305s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 305s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 305s] | ^~~~~~~~~~~~ [ 305s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 305s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 305s] | ^~~~~~~~~~~~~ [ 305s] test-match.c:577:9: note: in expansion of macro 'ASSERT_NO_PENDING' [ 305s] 577 | ASSERT_NO_PENDING(env->conn); [ 305s] | ^~~~~~~~~~~~~~~~~ [ 308s] cc -c test-message.c -o test-message.o -O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -I../../include/uapi/ -I../../samples/kdbus/ -std=gnu99 -Wno-error=shadow -DKBUILD_MODNAME=\"kdbus\" -D_GNU_SOURCE [ 308s] In file included from test-message.c:19: [ 308s] test-message.c: In function 'kdbus_test_message_basic': [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:38:9: note: in expansion of macro 'ASSERT_NONZERO' [ 308s] 38 | ASSERT_NONZERO(sender = kdbus_hello(env->buspath, 0, NULL, 0)); [ 308s] | ^~~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:41:9: note: in expansion of macro 'ASSERT_NONZERO' [ 308s] 41 | ASSERT_NONZERO(conn = kdbus_hello(env->buspath, 0, NULL, 0)); [ 308s] | ^~~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:43:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 43 | ASSERT_ZERO(kdbus_add_match_empty(conn)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:45:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 45 | ASSERT_ZERO(kdbus_add_match_empty(sender)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:48:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 48 | ASSERT_ZERO(kdbus_msg_send(sender, NULL, cookie, 0, 0, 0, KDBUS_DST_ID_BROADCAST)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:51:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 51 | ASSERT_ZERO(kdbus_msg_recv(sender, &msg, &offset)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 308s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:52:9: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 52 | ASSERT_RETURN(msg->cookie,==,cookie); [ 308s] | ^~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:52:9: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 52 | ASSERT_RETURN(msg->cookie,==,cookie); [ 308s] | ^~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:56:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 56 | ASSERT_ZERO(kdbus_msg_recv_poll(conn, 100, &msg, &offset)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 308s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:57:9: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 57 | ASSERT_RETURN(msg->cookie,==,cookie); [ 308s] | ^~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:57:9: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 57 | ASSERT_RETURN(msg->cookie,==,cookie); [ 308s] | ^~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:62:9: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 62 | ASSERT_RETURN(-EINVAL,==,kdbus_msg_send(sender, NULL, 0, KDBUS_MSG_EXPECT_REPLY, 1000000000, 0, conn->id)); /* no cookie */ [ 308s] | ^~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:63:9: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 63 | ASSERT_RETURN(-EINVAL,==,kdbus_msg_send(sender, NULL, 1, KDBUS_MSG_EXPECT_REPLY, 0, 0, conn->id)); /* no timeout */ [ 308s] | ^~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:64:9: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 64 | ASSERT_RETURN(-EINVAL,==,kdbus_msg_send(sender, NULL, 0, KDBUS_MSG_EXPECT_REPLY, 0, 0, conn->id)); /* neither cookie nor timeout */ [ 308s] | ^~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:67:9: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 67 | ASSERT_RETURN(ONTIZEN(0,-EBADSLT),==,kdbus_msg_send_reply(conn, time(NULL) ^ cookie, sender->id)); [ 308s] | ^~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:69:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 69 | ASSERT_ZERO(kdbus_free(conn, offset)); [ 308s] | ^~~~~~~~~~~ [ 308s] test-message.c: In function 'kdbus_test_message_prio': [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:120:9: note: in expansion of macro 'ASSERT_NONZERO' [ 308s] 120 | ASSERT_NONZERO(a = kdbus_hello(env->buspath, 0, NULL, 0)); [ 308s] | ^~~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:121:9: note: in expansion of macro 'ASSERT_NONZERO' [ 308s] 121 | ASSERT_NONZERO(b = kdbus_hello(env->buspath, 0, NULL, 0)); [ 308s] | ^~~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:123:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 123 | ASSERT_ZERO(kdbus_msg_send(b, NULL, ++cookie, 0, 0, 25, a->id)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:124:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 124 | ASSERT_ZERO(kdbus_msg_send(b, NULL, ++cookie, 0, 0, -600, a->id)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:125:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 125 | ASSERT_ZERO(kdbus_msg_send(b, NULL, ++cookie, 0, 0, 10, a->id)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:126:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 126 | ASSERT_ZERO(kdbus_msg_send(b, NULL, ++cookie, 0, 0, -35, a->id)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:127:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 127 | ASSERT_ZERO(kdbus_msg_send(b, NULL, ++cookie, 0, 0, -100, a->id)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:128:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 128 | ASSERT_ZERO(kdbus_msg_send(b, NULL, ++cookie, 0, 0, 20, a->id)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:129:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 129 | ASSERT_ZERO(kdbus_msg_send(b, NULL, ++cookie, 0, 0, -15, a->id)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:130:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 130 | ASSERT_ZERO(kdbus_msg_send(b, NULL, ++cookie, 0, 0, -800, a->id)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:131:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 131 | ASSERT_ZERO(kdbus_msg_send(b, NULL, ++cookie, 0, 0, -150, a->id)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:132:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 132 | ASSERT_ZERO(kdbus_msg_send(b, NULL, ++cookie, 0, 0, 10, a->id)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:133:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 133 | ASSERT_ZERO(kdbus_msg_send(b, NULL, ++cookie, 0, 0, -800, a->id)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:134:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 134 | ASSERT_ZERO(kdbus_msg_send(b, NULL, ++cookie, 0, 0, -10, a->id)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:136:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 136 | ASSERT_ZERO(msg_recv_prio(a, -200, -800)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:137:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 137 | ASSERT_ZERO(msg_recv_prio(a, -100, -800)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:138:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 138 | ASSERT_ZERO(msg_recv_prio(a, -400, -600)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:139:9: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 139 | ASSERT_RETURN(msg_recv_prio(a, -400, -600),==,-EAGAIN); [ 308s] | ^~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:140:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 140 | ASSERT_ZERO(msg_recv_prio(a, 10, -150)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:141:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 141 | ASSERT_ZERO(msg_recv_prio(a, 10, -100)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:144:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 144 | ASSERT_ZERO(kdbus_msg_recv(a, NULL, NULL)); [ 308s] | ^~~~~~~~~~~ [ 308s] test-message.c: In function 'kdbus_test_activator_quota': [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:275:9: note: in expansion of macro 'ASSERT_NONZERO' [ 308s] 275 | ASSERT_NONZERO(activator = kdbus_hello_activator(env->buspath, "foo.test.activator", &access, 1)); [ 308s] | ^~~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:277:9: note: in expansion of macro 'ASSERT_NONZERO' [ 308s] 277 | ASSERT_NONZERO(conn = kdbus_hello(env->buspath, 0, NULL, 0)); [ 308s] | ^~~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:278:9: note: in expansion of macro 'ASSERT_NONZERO' [ 308s] 278 | ASSERT_NONZERO(sender = kdbus_hello(env->buspath, 0, NULL, 0)); [ 308s] | ^~~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:280:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 280 | ASSERT_ZERO(kdbus_list(sender, KDBUS_LIST_NAMES | KDBUS_LIST_UNIQUE | KDBUS_LIST_ACTIVATORS | KDBUS_LIST_QUEUED)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:285:17: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 285 | ASSERT_RETURN(i,<=,KDBUS_CONN_MAX_MSGS);\ [ 308s] | ^~~~~~~~~~~~~ [ 308s] test-message.c:293:9: note: in expansion of macro 'EXHAUST' [ 308s] 293 | EXHAUST(-ENOBUFS,kdbus_msg_send(sender, "foo.test.activator", ++cookie, 0, 0, 0, KDBUS_DST_ID_NAME)); [ 308s] | ^~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:287:25: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 287 | ASSERT_RETURN((EXPECTERR),==,ret);\ [ 308s] | ^~~~~~~~~~~~~ [ 308s] test-message.c:293:9: note: in expansion of macro 'EXHAUST' [ 308s] 293 | EXHAUST(-ENOBUFS,kdbus_msg_send(sender, "foo.test.activator", ++cookie, 0, 0, 0, KDBUS_DST_ID_NAME)); [ 308s] | ^~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:288:25: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 288 | ASSERT_RETURN(i,<,KDBUS_CONN_MAX_MSGS);\ [ 308s] | ^~~~~~~~~~~~~ [ 308s] test-message.c:293:9: note: in expansion of macro 'EXHAUST' [ 308s] 293 | EXHAUST(-ENOBUFS,kdbus_msg_send(sender, "foo.test.activator", ++cookie, 0, 0, 0, KDBUS_DST_ID_NAME)); [ 308s] | ^~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 308s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:297:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 308s] 297 | ASSERT_RETURN_VAL(i,>,0U, -errno); [ 308s] | ^~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:302:9: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 302 | ASSERT_RETURN(-ENXIO,==,kdbus_msg_send(conn, NULL, ++cookie, 0, 0, 0, activator->id)); [ 308s] | ^~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:305:9: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 305 | ASSERT_RETURN(-ENOBUFS,==,kdbus_msg_send(conn, "foo.test.activator", ++cookie, 0, 0, 0, KDBUS_DST_ID_NAME)); [ 308s] | ^~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:308:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 308 | ASSERT_ZERO(kdbus_msg_send(conn, NULL, ++cookie, 0, 0, 0, KDBUS_DST_ID_BROADCAST)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:311:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 311 | ASSERT_ZERO(kdbus_cmd_recv(activator->fd, &recv)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 308s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:312:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 312 | ASSERT_ZERO(recv.dropped_msgs); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:312:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 312 | ASSERT_ZERO(recv.dropped_msgs); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 308s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:312:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 312 | ASSERT_ZERO(recv.dropped_msgs); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 308s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:315:9: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 315 | ASSERT_RETURN(msg->src_id,==,sender->id); [ 308s] | ^~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:315:9: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 315 | ASSERT_RETURN(msg->src_id,==,sender->id); [ 308s] | ^~~~~~~~~~~~~ [ 308s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 308s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:316:9: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 316 | ASSERT_RETURN(msg->dst_id,==,(typeof(msg->dst_id))KDBUS_DST_ID_NAME); [ 308s] | ^~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:316:9: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 316 | ASSERT_RETURN(msg->dst_id,==,(typeof(msg->dst_id))KDBUS_DST_ID_NAME); [ 308s] | ^~~~~~~~~~~~~ [ 308s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 308s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:316:9: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 316 | ASSERT_RETURN(msg->dst_id,==,(typeof(msg->dst_id))KDBUS_DST_ID_NAME); [ 308s] | ^~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:285:17: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 285 | ASSERT_RETURN(i,<=,KDBUS_CONN_MAX_MSGS);\ [ 308s] | ^~~~~~~~~~~~~ [ 308s] test-message.c:324:9: note: in expansion of macro 'EXHAUST' [ 308s] 324 | EXHAUST(-ENOBUFS,kdbus_msg_send(conn, NULL, ++cookie, 0, 0, 0, conn->id)); [ 308s] | ^~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:287:25: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 287 | ASSERT_RETURN((EXPECTERR),==,ret);\ [ 308s] | ^~~~~~~~~~~~~ [ 308s] test-message.c:324:9: note: in expansion of macro 'EXHAUST' [ 308s] 324 | EXHAUST(-ENOBUFS,kdbus_msg_send(conn, NULL, ++cookie, 0, 0, 0, conn->id)); [ 308s] | ^~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:288:25: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 288 | ASSERT_RETURN(i,<,KDBUS_CONN_MAX_MSGS);\ [ 308s] | ^~~~~~~~~~~~~ [ 308s] test-message.c:324:9: note: in expansion of macro 'EXHAUST' [ 308s] 324 | EXHAUST(-ENOBUFS,kdbus_msg_send(conn, NULL, ++cookie, 0, 0, 0, conn->id)); [ 308s] | ^~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:329:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 329 | ASSERT_ZERO(kdbus_cmd_recv(conn->fd, &recv)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 308s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:330:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 330 | ASSERT_ZERO(recv.dropped_msgs); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:330:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 330 | ASSERT_ZERO(recv.dropped_msgs); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 308s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:330:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 330 | ASSERT_ZERO(recv.dropped_msgs); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:335:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 335 | ASSERT_ZERO(kdbus_name_acquire(conn, "foo.test.activator", &flags)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:340:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 340 | ASSERT_ZERO(kdbus_cmd_recv(conn->fd, &recv)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 308s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:341:9: note: in expansion of macro 'ASSERT_NONZERO' [ 308s] 341 | ASSERT_NONZERO(recv.dropped_msgs); [ 308s] | ^~~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:341:9: note: in expansion of macro 'ASSERT_NONZERO' [ 308s] 341 | ASSERT_NONZERO(recv.dropped_msgs); [ 308s] | ^~~~~~~~~~~~~~ [ 308s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 308s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:341:9: note: in expansion of macro 'ASSERT_NONZERO' [ 308s] 341 | ASSERT_NONZERO(recv.dropped_msgs); [ 308s] | ^~~~~~~~~~~~~~ [ 308s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 308s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:344:9: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 344 | ASSERT_RETURN(recv.dropped_msgs,<,activator_msgs_count); [ 308s] | ^~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:344:9: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 344 | ASSERT_RETURN(recv.dropped_msgs,<,activator_msgs_count); [ 308s] | ^~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:356:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 356 | ASSERT_ZERO(kdbus_name_release(conn, "foo.test.activator")); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:359:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 359 | ASSERT_ZERO(kdbus_msg_recv(activator, &msg, NULL)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 308s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:360:9: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 360 | ASSERT_RETURN(msg->src_id,==,sender->id); [ 308s] | ^~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:360:9: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 360 | ASSERT_RETURN(msg->src_id,==,sender->id); [ 308s] | ^~~~~~~~~~~~~ [ 308s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 308s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:361:9: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 361 | ASSERT_RETURN(msg->dst_id,==,(typeof(msg->dst_id))KDBUS_DST_ID_NAME); [ 308s] | ^~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:361:9: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 361 | ASSERT_RETURN(msg->dst_id,==,(typeof(msg->dst_id))KDBUS_DST_ID_NAME); [ 308s] | ^~~~~~~~~~~~~ [ 308s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 308s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:361:9: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 361 | ASSERT_RETURN(msg->dst_id,==,(typeof(msg->dst_id))KDBUS_DST_ID_NAME); [ 308s] | ^~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:285:17: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 285 | ASSERT_RETURN(i,<=,KDBUS_CONN_MAX_MSGS);\ [ 308s] | ^~~~~~~~~~~~~ [ 308s] test-message.c:369:9: note: in expansion of macro 'EXHAUST' [ 308s] 369 | EXHAUST(-EAGAIN,kdbus_msg_recv(conn, NULL, NULL)); [ 308s] | ^~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:287:25: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 287 | ASSERT_RETURN((EXPECTERR),==,ret);\ [ 308s] | ^~~~~~~~~~~~~ [ 308s] test-message.c:369:9: note: in expansion of macro 'EXHAUST' [ 308s] 369 | EXHAUST(-EAGAIN,kdbus_msg_recv(conn, NULL, NULL)); [ 308s] | ^~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:288:25: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 288 | ASSERT_RETURN(i,<,KDBUS_CONN_MAX_MSGS);\ [ 308s] | ^~~~~~~~~~~~~ [ 308s] test-message.c:369:9: note: in expansion of macro 'EXHAUST' [ 308s] 369 | EXHAUST(-EAGAIN,kdbus_msg_recv(conn, NULL, NULL)); [ 308s] | ^~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:285:17: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 285 | ASSERT_RETURN(i,<=,KDBUS_CONN_MAX_MSGS);\ [ 308s] | ^~~~~~~~~~~~~ [ 308s] test-message.c:370:9: note: in expansion of macro 'EXHAUST' [ 308s] 370 | EXHAUST(-ENOBUFS,kdbus_msg_send(sender, NULL, ++cookie, 0, 0, 0, conn->id)); [ 308s] | ^~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:287:25: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 287 | ASSERT_RETURN((EXPECTERR),==,ret);\ [ 308s] | ^~~~~~~~~~~~~ [ 308s] test-message.c:370:9: note: in expansion of macro 'EXHAUST' [ 308s] 370 | EXHAUST(-ENOBUFS,kdbus_msg_send(sender, NULL, ++cookie, 0, 0, 0, conn->id)); [ 308s] | ^~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:288:25: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 288 | ASSERT_RETURN(i,<,KDBUS_CONN_MAX_MSGS);\ [ 308s] | ^~~~~~~~~~~~~ [ 308s] test-message.c:370:9: note: in expansion of macro 'EXHAUST' [ 308s] 370 | EXHAUST(-ENOBUFS,kdbus_msg_send(sender, NULL, ++cookie, 0, 0, 0, conn->id)); [ 308s] | ^~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:374:17: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 374 | ASSERT_RETURN(-EAGAIN,==,kdbus_msg_recv(activator, NULL, NULL)); [ 308s] | ^~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:378:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 378 | ASSERT_ZERO(kdbus_name_acquire(conn, "foo.test.activator", &flags)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:388:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 388 | ASSERT_ZERO(kdbus_cmd_recv(conn->fd, &recv)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 308s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:389:9: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 389 | ASSERT_RETURN(recv.dropped_msgs,==,activator_msgs_count); [ 308s] | ^~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:389:9: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 389 | ASSERT_RETURN(recv.dropped_msgs,==,activator_msgs_count); [ 308s] | ^~~~~~~~~~~~~ [ 308s] test-message.c: In function 'kdbus_test_pool_quota': [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 308s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:524:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 308s] 524 | ASSERT_RETURN_VAL(payload,!=,NULL, -ENOMEM); [ 308s] | ^~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:526:9: note: in expansion of macro 'ASSERT_NONZERO' [ 308s] 526 | ASSERT_NONZERO(a = kdbus_hello(env->buspath, 0, NULL, 0)); [ 308s] | ^~~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:527:9: note: in expansion of macro 'ASSERT_NONZERO' [ 308s] 527 | ASSERT_NONZERO(b = kdbus_hello(env->buspath, 0, NULL, 0)); [ 308s] | ^~~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:528:9: note: in expansion of macro 'ASSERT_NONZERO' [ 308s] 528 | ASSERT_NONZERO(c = kdbus_hello(env->buspath, 0, NULL, 0)); [ 308s] | ^~~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 308s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:534:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 308s] 534 | ASSERT_RETURN_VAL(msg,!=,NULL, -ENOMEM); [ 308s] | ^~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 308s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:562:17: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 308s] 562 | ASSERT_RETURN_VAL(ret,==,0, ret); [ 308s] | ^~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:567:9: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 567 | ASSERT_RETURN(-ENOBUFS,==,kdbus_cmd_send(a->fd, &cmd)); [ 308s] | ^~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:570:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 570 | ASSERT_ZERO(kdbus_msg_send(b, NULL, cookie++, 0, 0, 0, c->id)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:573:17: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 573 | ASSERT_ZERO(kdbus_msg_recv(c, &recv_msg, NULL)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 308s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:574:17: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 574 | ASSERT_RETURN(recv_msg->src_id,==,a->id); [ 308s] | ^~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:574:17: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 574 | ASSERT_RETURN(recv_msg->src_id,==,a->id); [ 308s] | ^~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:579:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 579 | ASSERT_ZERO(kdbus_msg_recv(c, &recv_msg, NULL)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 308s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:580:9: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 580 | ASSERT_RETURN(recv_msg->src_id,==,b->id); [ 308s] | ^~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:580:9: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 580 | ASSERT_RETURN(recv_msg->src_id,==,b->id); [ 308s] | ^~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:584:9: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 584 | ASSERT_RETURN(-EAGAIN,==,kdbus_msg_recv(c, NULL, NULL)); [ 308s] | ^~~~~~~~~~~~~ [ 308s] test-message.c: In function 'kdbus_test_message_quota': [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:602:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 602 | ASSERT_ZERO(kdbus_test_notify_kernel_quota(env)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:604:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 604 | ASSERT_ZERO(kdbus_test_pool_quota(env)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:606:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 606 | ASSERT_ZERO(kdbus_test_expected_reply_timeouts_or_quota(env)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:608:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 608 | ASSERT_ZERO(kdbus_test_expected_reply_quota(env)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:613:9: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 613 | ASSERT_RETURN((typeof(kdbus_fill_conn_queue(b, a->id, KDBUS_CONN_MAX_MSGS)))KDBUS_CONN_MAX_MSGS,==,kdbus_fill_conn_queue(b, a->id, KDBUS_CONN_MAX_MSGS)); [ 308s] | ^~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:615:9: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 615 | ASSERT_RETURN(-ENOBUFS,==,kdbus_msg_send(b, NULL, ++cookie, 0, 0, 0, a->id)); [ 308s] | ^~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:618:17: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 618 | ASSERT_ZERO(kdbus_msg_recv(a, NULL, NULL)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:620:9: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 620 | ASSERT_RETURN(-EAGAIN,==,kdbus_msg_recv(a, NULL, NULL)); [ 308s] | ^~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:622:9: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 622 | ASSERT_RETURN((typeof(kdbus_fill_conn_queue(b, a->id, KDBUS_CONN_MAX_MSGS + 1)))KDBUS_CONN_MAX_MSGS,==,kdbus_fill_conn_queue(b, a->id, KDBUS_CONN_MAX_MSGS + 1)); [ 308s] | ^~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:624:9: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 624 | ASSERT_RETURN(-ENOBUFS,==,kdbus_msg_send(b, NULL, ++cookie, 0, 0, 0, a->id)); [ 308s] | ^~~~~~~~~~~~~ [ 308s] test-message.c: In function 'kdbus_test_notify_kernel_quota': [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:160:9: note: in expansion of macro 'ASSERT_NONZERO' [ 308s] 160 | ASSERT_NONZERO(reader = kdbus_hello(env->buspath, 0, NULL, 0)); [ 308s] | ^~~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:161:9: note: in expansion of macro 'ASSERT_NONZERO' [ 308s] 161 | ASSERT_NONZERO(conn = kdbus_hello(env->buspath, 0, NULL, 0)); [ 308s] | ^~~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:164:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 164 | ASSERT_ZERO(kdbus_add_match_id(reader, 0x1, KDBUS_ITEM_ID_ADD, KDBUS_MATCH_ID_ANY)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:166:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 166 | ASSERT_ZERO(kdbus_add_match_id(reader, 0x2, KDBUS_ITEM_ID_REMOVE, KDBUS_MATCH_ID_ANY)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:171:17: note: in expansion of macro 'ASSERT_NONZERO' [ 308s] 171 | ASSERT_NONZERO(notifier = kdbus_hello(env->buspath, 0, NULL, 0)); [ 308s] | ^~~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:179:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 179 | ASSERT_ZERO(kdbus_msg_send(conn, NULL, 0xdeadbeef, 0, 0, 0, reader->id)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:184:9: note: in expansion of macro 'ASSERT_NONZERO' [ 308s] 184 | ASSERT_NONZERO(conn = kdbus_hello(env->buspath, 0, NULL, 0)); [ 308s] | ^~~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:192:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 192 | ASSERT_ZERO(kdbus_cmd_recv(reader->fd, &recv)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 308s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:193:9: note: in expansion of macro 'ASSERT_NONZERO' [ 308s] 193 | ASSERT_NONZERO(recv.return_flags & KDBUS_RECV_RETURN_DROPPED_MSGS); [ 308s] | ^~~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:193:9: note: in expansion of macro 'ASSERT_NONZERO' [ 308s] 193 | ASSERT_NONZERO(recv.return_flags & KDBUS_RECV_RETURN_DROPPED_MSGS); [ 308s] | ^~~~~~~~~~~~~~ [ 308s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 308s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:193:9: note: in expansion of macro 'ASSERT_NONZERO' [ 308s] 193 | ASSERT_NONZERO(recv.return_flags & KDBUS_RECV_RETURN_DROPPED_MSGS); [ 308s] | ^~~~~~~~~~~~~~ [ 308s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 308s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 194 | ASSERT_RETURN(recv.dropped_msgs,==,3U); [ 308s] | ^~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 194 | ASSERT_RETURN(recv.dropped_msgs,==,3U); [ 308s] | ^~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:204:17: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 204 | ASSERT_ZERO(kdbus_cmd_recv(reader->fd, &recv)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 308s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:205:17: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 205 | ASSERT_ZERO(recv.return_flags & KDBUS_RECV_RETURN_DROPPED_MSGS); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:205:17: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 205 | ASSERT_ZERO(recv.return_flags & KDBUS_RECV_RETURN_DROPPED_MSGS); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 308s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:205:17: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 205 | ASSERT_ZERO(recv.return_flags & KDBUS_RECV_RETURN_DROPPED_MSGS); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:211:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 211 | ASSERT_ZERO(kdbus_msg_recv(reader, NULL, NULL)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:213:9: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 213 | ASSERT_RETURN(-EAGAIN,==,kdbus_msg_recv(reader, NULL, NULL)); [ 308s] | ^~~~~~~~~~~~~ [ 308s] test-message.c: In function 'kdbus_test_expected_reply_timeouts_or_quota': [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:435:9: note: in expansion of macro 'ASSERT_NONZERO' [ 308s] 435 | ASSERT_NONZERO(conn = kdbus_hello(env->buspath, 0, NULL, 0)); [ 308s] | ^~~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:438:17: note: in expansion of macro 'ASSERT_NONZERO' [ 308s] 438 | ASSERT_NONZERO(connections[i] = kdbus_hello(env->buspath, 0, NULL, 0)); [ 308s] | ^~~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:445:25: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 445 | ASSERT_ZERO(kdbus_msg_send(conn, NULL, first_cookie + i + n*TIMEOUT_CONNECTION_COUNT, [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:450:25: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 450 | ASSERT_ZERO(kdbus_msg_recv(connections[i], NULL, NULL)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:455:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 455 | ASSERT_ZERO(kdbus_test_expected_reply_validate_timeouts(conn, first_cookie, KDBUS_ITEM_REPLY_TIMEOUT)); [ 308s] | ^~~~~~~~~~~ [ 308s] test-message.c: In function 'kdbus_test_expected_reply_validate_timeouts': [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:411:17: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 411 | ASSERT_ZERO(timeout_msg_recv(conn, type, &cookie_reply, &seqnum, &monotonic_ns, &realtime_ns)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:412:37: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 412 | #define A(W,R) do { ASSERT_RETURN(prev_##W,R,W); prev_##W = W; } while (0); [ 308s] | ^~~~~~~~~~~~~ [ 308s] test-message.c:413:25: note: in expansion of macro 'A' [ 308s] 413 | A(seqnum,<) [ 308s] | ^ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:412:37: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 412 | #define A(W,R) do { ASSERT_RETURN(prev_##W,R,W); prev_##W = W; } while (0); [ 308s] | ^~~~~~~~~~~~~ [ 308s] test-message.c:414:25: note: in expansion of macro 'A' [ 308s] 414 | A(monotonic_ns,<=) [ 308s] | ^ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:412:37: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 412 | #define A(W,R) do { ASSERT_RETURN(prev_##W,R,W); prev_##W = W; } while (0); [ 308s] | ^~~~~~~~~~~~~ [ 308s] test-message.c:415:25: note: in expansion of macro 'A' [ 308s] 415 | A(realtime_ns,<=) [ 308s] | ^ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:417:17: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 417 | ASSERT_RETURN(first_cookie,<=,cookie_reply); [ 308s] | ^~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:421:17: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 421 | ASSERT_RETURN(r,==,next_cookie[n]); [ 308s] | ^~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] kdbus-util.h:194:9: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 194 | ASSERT_RETURN(-EAGAIN,==,_ASSERT_NO_PENDING_ret_);\ [ 308s] | ^~~~~~~~~~~~~ [ 308s] test-message.c:424:9: note: in expansion of macro 'ASSERT_NO_PENDING' [ 308s] 424 | ASSERT_NO_PENDING(conn); [ 308s] | ^~~~~~~~~~~~~~~~~ [ 308s] test-message.c: In function 'kdbus_test_expected_reply_quota': [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:472:9: note: in expansion of macro 'ASSERT_NONZERO' [ 308s] 472 | ASSERT_NONZERO(conn = kdbus_hello(env->buspath, 0, NULL, 0)); [ 308s] | ^~~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:475:17: note: in expansion of macro 'ASSERT_NONZERO' [ 308s] 475 | ASSERT_NONZERO(connections[i] = kdbus_hello(env->buspath, 0, NULL, 0)); [ 308s] | ^~~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:480:25: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 480 | ASSERT_ZERO(kdbus_msg_send(conn, NULL, first_cookie + i + n*TIMEOUT_CONNECTION_COUNT, [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:485:25: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 485 | ASSERT_ZERO(kdbus_msg_recv(connections[i], NULL, NULL)); [ 308s] | ^~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:493:9: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 493 | ASSERT_RETURN(-EMLINK,==,kdbus_msg_send(conn, NULL, first_cookie + TIMEOUT_CONNECTION_COUNT*TIMEOUTS_PER_CONNECTION, KDBUS_MSG_EXPECT_REPLY, 1000000000ULL, 0, connections[TIMEOUT_CONNECTION_COUNT]->id)); [ 308s] | ^~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:498:9: note: in expansion of macro 'ASSERT_ZERO' [ 308s] 498 | ASSERT_ZERO(kdbus_test_expected_reply_validate_timeouts(conn, first_cookie, KDBUS_ITEM_REPLY_DEAD)); [ 308s] | ^~~~~~~~~~~ [ 308s] test-message.c: In function 'kdbus_fill_conn_queue': [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 308s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:234:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 308s] 234 | ASSERT_RETURN_VAL(msg,!=,NULL, -ENOMEM); [ 308s] | ^~~~~~~~~~~~~~~~~ [ 308s] test-message.c: In function 'kdbus_test_memory_access': [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:673:9: note: in expansion of macro 'ASSERT_NONZERO' [ 308s] 673 | ASSERT_NONZERO(a = kdbus_hello(env->buspath, 0, NULL, 0)); [ 308s] | ^~~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 308s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:674:9: note: in expansion of macro 'ASSERT_NONZERO' [ 308s] 674 | ASSERT_NONZERO(b = kdbus_hello(env->buspath, 0, NULL, 0)); [ 308s] | ^~~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 308s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:680:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 308s] 680 | ASSERT_RETURN_VAL(msg,!=,NULL, -ENOMEM); [ 308s] | ^~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 308s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 308s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 308s] | ^~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 308s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 308s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 308s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 308s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 308s] | ^~~~~~~~~~~~ [ 308s] test-message.c:698:9: note: in expansion of macro 'ASSERT_RETURN' [ 308s] 698 | ASSERT_RETURN(-EFAULT,==,kdbus_cmd_send(a->fd, &cmd)); [ 308s] | ^~~~~~~~~~~~~ [ 309s] test-message.c: In function 'kdbus_test_pool_quota': [ 309s] test-message.c:543:13: warning: array subscript 'struct kdbus_item[0]' is partly outside array bounds of 'unsigned char[96]' [-Warray-bounds=] [ 309s] 543 | item->type = KDBUS_ITEM_PAYLOAD_VEC; [ 309s] | ^~ [ 309s] test-message.c:533:15: note: at offset 64 into object of size 96 allocated by 'malloc' [ 309s] 533 | msg = malloc(size); [ 309s] | ^~~~~~~~~~~~ [ 309s] test-message.c:544:13: warning: array subscript 'struct kdbus_item[0]' is partly outside array bounds of 'unsigned char[96]' [-Warray-bounds=] [ 309s] 544 | item->size = KDBUS_ITEM_HEADER_SIZE + sizeof(struct kdbus_vec); [ 309s] | ^~ [ 309s] test-message.c:533:15: note: at offset 64 into object of size 96 allocated by 'malloc' [ 309s] 533 | msg = malloc(size); [ 309s] | ^~~~~~~~~~~~ [ 309s] test-message.c:545:13: warning: array subscript 'struct kdbus_item[0]' is partly outside array bounds of 'unsigned char[96]' [-Warray-bounds=] [ 309s] 545 | item->vec.address = (uintptr_t)payload; [ 309s] | ^~ [ 309s] test-message.c:533:15: note: at offset 64 into object of size 96 allocated by 'malloc' [ 309s] 533 | msg = malloc(size); [ 309s] | ^~~~~~~~~~~~ [ 309s] test-message.c:546:13: warning: array subscript 'struct kdbus_item[0]' is partly outside array bounds of 'unsigned char[96]' [-Warray-bounds=] [ 309s] 546 | item->vec.size = KDBUS_MSG_MAX_PAYLOAD_VEC_SIZE; [ 309s] | ^~ [ 309s] test-message.c:533:15: note: at offset 64 into object of size 96 allocated by 'malloc' [ 309s] 533 | msg = malloc(size); [ 309s] | ^~~~~~~~~~~~ [ 310s] test-message.c: In function 'kdbus_test_memory_access': [ 310s] test-message.c:689:13: warning: array subscript 'struct kdbus_item[0]' is partly outside array bounds of 'unsigned char[96]' [-Warray-bounds=] [ 310s] 689 | item->type = KDBUS_ITEM_PAYLOAD_VEC; [ 310s] | ^~ [ 310s] In file included from /usr/include/stdlib.h:706, [ 310s] from test-message.c:4: [ 310s] test-message.c:679:15: note: at offset 64 into object of size 96 allocated by '__builtin_alloca' [ 310s] 679 | msg = alloca(size); [ 310s] | ^~~~~~ [ 310s] test-message.c:690:13: warning: array subscript 'struct kdbus_item[0]' is partly outside array bounds of 'unsigned char[96]' [-Warray-bounds=] [ 310s] 690 | item->size = KDBUS_ITEM_HEADER_SIZE + sizeof(struct kdbus_vec); [ 310s] | ^~ [ 310s] test-message.c:679:15: note: at offset 64 into object of size 96 allocated by '__builtin_alloca' [ 310s] 679 | msg = alloca(size); [ 310s] | ^~~~~~ [ 310s] test-message.c:691:13: warning: array subscript 'struct kdbus_item[0]' is partly outside array bounds of 'unsigned char[96]' [-Warray-bounds=] [ 310s] 691 | item->vec.address = test_addr; [ 310s] | ^~ [ 310s] test-message.c:679:15: note: at offset 64 into object of size 96 allocated by '__builtin_alloca' [ 310s] 679 | msg = alloca(size); [ 310s] | ^~~~~~ [ 310s] test-message.c:692:13: warning: array subscript 'struct kdbus_item[0]' is partly outside array bounds of 'unsigned char[96]' [-Warray-bounds=] [ 310s] 692 | item->vec.size = sizeof(void*); [ 310s] | ^~ [ 310s] test-message.c:679:15: note: at offset 64 into object of size 96 allocated by '__builtin_alloca' [ 310s] 679 | msg = alloca(size); [ 310s] | ^~~~~~ [ 311s] cc -c test-metadata-ns.c -o test-metadata-ns.o -O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -I../../include/uapi/ -I../../samples/kdbus/ -std=gnu99 -Wno-error=shadow -DKBUILD_MODNAME=\"kdbus\" -D_GNU_SOURCE [ 311s] In file included from test-metadata-ns.c:26: [ 311s] test-metadata-ns.c: In function 'kdbus_test_metadata_ns': [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 311s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:420:9: note: in expansion of macro 'ASSERT_RETURN' [ 311s] 420 | ASSERT_RETURN(ret,>=,0); [ 311s] | ^~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:426:9: note: in expansion of macro 'ASSERT_NONZERO' [ 311s] 426 | ASSERT_NONZERO(holder = kdbus_hello_registrar(env->buspath, "com.example.metadata", &policy_access, 1, KDBUS_HELLO_POLICY_HOLDER)); [ 311s] | ^~~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:428:9: note: in expansion of macro 'ASSERT_NONZERO' [ 311s] 428 | ASSERT_NONZERO(conn = kdbus_hello(env->buspath, 0, NULL, 0)); [ 311s] | ^~~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:430:9: note: in expansion of macro 'ASSERT_ZERO' [ 311s] 430 | ASSERT_ZERO(kdbus_add_match_empty(conn)); [ 311s] | ^~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:432:9: note: in expansion of macro 'ASSERT_ZERO' [ 311s] 432 | ASSERT_ZERO(kdbus_name_acquire(conn, "com.example.metadata", NULL)); [ 311s] | ^~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:434:9: note: in expansion of macro 'ASSERT_ZERO' [ 311s] 434 | ASSERT_ZERO(kdbus_clone_userns_test(env->buspath, conn)); [ 311s] | ^~~~~~~~~~~ [ 311s] test-metadata-ns.c: In function 'kdbus_clone_userns_test': [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:256:9: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 311s] 256 | ASSERT_EXIT_NONZERO(monitor = kdbus_hello(bus, KDBUS_HELLO_MONITOR, NULL, 0)); [ 311s] | ^~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 311s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:263:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 311s] 263 | ASSERT_RETURN_VAL(efd,>=,0, efd); [ 311s] | ^~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 311s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:268:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 311s] 268 | ASSERT_RETURN_VAL(pid,>=,0, -errno); [ 311s] | ^~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 311s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:272:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 311s] 272 | ASSERT_EXIT_VAL(ret,==,0, -errno); [ 311s] | ^~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:285:9: note: in expansion of macro 'ASSERT_ZERO' [ 311s] 285 | ASSERT_ZERO(kdbus_msg_recv_poll(conn, 300, &msg, NULL)); [ 311s] | ^~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:290:9: note: in expansion of macro 'ASSERT_ZERO' [ 311s] 290 | ASSERT_ZERO(kdbus_match_kdbus_creds(msg, &unmapped_creds)); [ 311s] | ^~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:298:9: note: in expansion of macro 'ASSERT_ZERO' [ 311s] 298 | ASSERT_ZERO(kdbus_match_kdbus_pids(msg, &expected_pids)); [ 311s] | ^~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:315:9: note: in expansion of macro 'ASSERT_ZERO' [ 311s] 315 | ASSERT_ZERO(ret); [ 311s] | ^~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:319:9: note: in expansion of macro 'ASSERT_NONZERO' [ 311s] 319 | ASSERT_NONZERO(item = kdbus_get_item(msg, KDBUS_ITEM_CAPS)); [ 311s] | ^~~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:325:9: note: in expansion of macro 'ASSERT_ZERO' [ 311s] 325 | ASSERT_ZERO(kdbus_match_kdbus_creds(msg, &unmapped_creds)); [ 311s] | ^~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:331:9: note: in expansion of macro 'ASSERT_NONZERO' [ 311s] 331 | ASSERT_NONZERO(item = kdbus_get_item(msg, KDBUS_ITEM_PIDS)); [ 311s] | ^~~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:333:9: note: in expansion of macro 'ASSERT_NONZERO' [ 311s] 333 | ASSERT_NONZERO(memcmp(&item->pids, &unmapped_pids, sizeof(struct kdbus_pids))); [ 311s] | ^~~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 311s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:339:9: note: in expansion of macro 'ASSERT_RETURN' [ 311s] 339 | ASSERT_RETURN((uint64_t)pid,==,item->pids.ppid); [ 311s] | ^~~~~~~~~~~~~ [ 311s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 311s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 311s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:339:9: note: in expansion of macro 'ASSERT_RETURN' [ 311s] 339 | ASSERT_RETURN((uint64_t)pid,==,item->pids.ppid); [ 311s] | ^~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:349:9: note: in expansion of macro 'ASSERT_ZERO' [ 311s] 349 | ASSERT_ZERO(kdbus_msg_send(conn, NULL, 0xdeadbeef, 0, 0, 0, unpriv_conn_id)); [ 311s] | ^~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:352:9: note: in expansion of macro 'ASSERT_ZERO' [ 311s] 352 | ASSERT_ZERO(eventfd_write(efd, 1)); [ 311s] | ^~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:358:9: note: in expansion of macro 'ASSERT_ZERO' [ 311s] 358 | ASSERT_ZERO(kdbus_msg_send(conn, NULL, 0xdeadbeef, 0, 0, 0, userns_conn_id)); [ 311s] | ^~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:363:9: note: in expansion of macro 'ASSERT_ZERO' [ 311s] 363 | ASSERT_ZERO(kdbus_msg_send(conn, NULL, 0xdeadbeef, 0, 0, 0, KDBUS_DST_ID_BROADCAST)); [ 311s] | ^~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 311s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:368:9: note: in expansion of macro 'ASSERT_RETURN' [ 311s] 368 | ASSERT_RETURN(ret,>=,0); [ 311s] | ^~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:370:9: note: in expansion of macro 'ASSERT_NONZERO' [ 311s] 370 | ASSERT_NONZERO(WIFEXITED(status)); [ 311s] | ^~~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:371:9: note: in expansion of macro 'ASSERT_ZERO' [ 311s] 371 | ASSERT_ZERO(WEXITSTATUS(status)); [ 311s] | ^~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:385:25: note: in expansion of macro 'ASSERT_NONZERO' [ 311s] 385 | ASSERT_NONZERO(item = kdbus_get_item(msg, KDBUS_ITEM_PIDS)); [ 311s] | ^~~~~~~~~~~~~~ [ 311s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 311s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:386:25: note: in expansion of macro 'ASSERT_NONZERO' [ 311s] 386 | ASSERT_NONZERO(item->pids.pid); [ 311s] | ^~~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:386:25: note: in expansion of macro 'ASSERT_NONZERO' [ 311s] 386 | ASSERT_NONZERO(item->pids.pid); [ 311s] | ^~~~~~~~~~~~~~ [ 311s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 311s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:386:25: note: in expansion of macro 'ASSERT_NONZERO' [ 311s] 386 | ASSERT_NONZERO(item->pids.pid); [ 311s] | ^~~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:387:25: note: in expansion of macro 'ASSERT_NONZERO' [ 311s] 387 | ASSERT_NONZERO(item->pids.tid != 0); [ 311s] | ^~~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:388:25: note: in expansion of macro 'ASSERT_NONZERO' [ 311s] 388 | ASSERT_NONZERO(item->pids.ppid != 0); [ 311s] | ^~~~~~~~~~~~~~ [ 311s] test-metadata-ns.c: In function '__kdbus_clone_userns_test': [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:93:9: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 311s] 93 | ASSERT_EXIT_ZERO(drop_privileges(UNPRIV_UID, UNPRIV_GID)); [ 311s] | ^~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:95:9: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 311s] 95 | ASSERT_EXIT_NONZERO(unpriv_conn = kdbus_hello(bus, 0, NULL, 0)); [ 311s] | ^~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:97:9: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 311s] 97 | ASSERT_EXIT_ZERO(kdbus_add_match_empty(unpriv_conn)); [ 311s] | ^~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:104:9: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 311s] 104 | ASSERT_EXIT_ZERO(kdbus_msg_send(unpriv_conn, NULL, cookie, 0, 0, 0, conn->id)); [ 311s] | ^~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:118:9: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 311s] 118 | ASSERT_EXIT_ZERO(prctl(PR_SET_DUMPABLE, SUID_DUMP_USER)); [ 311s] | ^~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 311s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] kdbus-util.h:160:9: note: in expansion of macro 'ASSERT_RETURN' [ 311s] 160 | ASSERT_RETURN(_efd_,>=,0); \ [ 311s] | ^~~~~~~~~~~~~ [ 311s] test-metadata-ns.c:122:15: note: in expansion of macro 'RUN_CLONE_CHILD' [ 311s] 122 | ret = RUN_CLONE_CHILD(&clone_ret, [ 311s] | ^~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 311s] | ^~~~~~~~~~~~ [ 311s] kdbus-util.h:165:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 311s] 165 | ASSERT_EXIT_ZERO(prctl(PR_SET_PDEATHSIG, SIGKILL)); \ [ 311s] | ^~~~~~~~~~~~~~~~ [ 311s] test-metadata-ns.c:122:15: note: in expansion of macro 'RUN_CLONE_CHILD' [ 311s] 122 | ret = RUN_CLONE_CHILD(&clone_ret, [ 311s] | ^~~~~~~~~~~~~~~ [ 311s] In file included from kdbus-test.h:6: [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-util.h:171:17: note: in definition of macro 'RUN_CLONE_CHILD' [ 311s] 171 | _child_body_; \ [ 311s] | ^~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:130:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 311s] 130 | ASSERT_EXIT_NONZERO(userns_conn = kdbus_hello(bus, 0, NULL, 0)); [ 311s] | ^~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-util.h:171:17: note: in definition of macro 'RUN_CLONE_CHILD' [ 311s] 171 | _child_body_; \ [ 311s] | ^~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:132:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 311s] 132 | ASSERT_EXIT_ZERO(kdbus_add_match_empty(userns_conn)); [ 311s] | ^~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-util.h:171:17: note: in definition of macro 'RUN_CLONE_CHILD' [ 311s] 171 | _child_body_; \ [ 311s] | ^~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:135:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 311s] 135 | ASSERT_EXIT_ZERO(kdbus_msg_send(userns_conn, NULL, cookie, 0, 0, 0, conn->id)); [ 311s] | ^~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-util.h:171:17: note: in definition of macro 'RUN_CLONE_CHILD' [ 311s] 171 | _child_body_; \ [ 311s] | ^~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 311s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:138:17: note: in expansion of macro 'ASSERT_RETURN' [ 311s] 138 | ASSERT_RETURN(0,<=,eventfd_read(signal_fd, &event_status)); [ 311s] | ^~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-util.h:171:17: note: in definition of macro 'RUN_CLONE_CHILD' [ 311s] 171 | _child_body_; \ [ 311s] | ^~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 311s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:139:17: note: in expansion of macro 'ASSERT_RETURN' [ 311s] 139 | ASSERT_RETURN(event_status,==,(eventfd_t)1); [ 311s] | ^~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-util.h:171:17: note: in definition of macro 'RUN_CLONE_CHILD' [ 311s] 171 | _child_body_; \ [ 311s] | ^~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:147:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 311s] 147 | ASSERT_EXIT_ZERO(kdbus_msg_recv_poll(userns_conn, 300, &msg, NULL)); [ 311s] | ^~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 311s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-util.h:171:17: note: in definition of macro 'RUN_CLONE_CHILD' [ 311s] 171 | _child_body_; \ [ 311s] | ^~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 311s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:148:17: note: in expansion of macro 'ASSERT_EXIT' [ 311s] 148 | ASSERT_EXIT(msg->dst_id,==,userns_conn->id); [ 311s] | ^~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-util.h:171:17: note: in definition of macro 'RUN_CLONE_CHILD' [ 311s] 171 | _child_body_; \ [ 311s] | ^~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 311s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:148:17: note: in expansion of macro 'ASSERT_EXIT' [ 311s] 148 | ASSERT_EXIT(msg->dst_id,==,userns_conn->id); [ 311s] | ^~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-util.h:171:17: note: in definition of macro 'RUN_CLONE_CHILD' [ 311s] 171 | _child_body_; \ [ 311s] | ^~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:150:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 311s] 150 | ASSERT_EXIT_NONZERO(item = kdbus_get_item(msg, KDBUS_ITEM_CAPS)); [ 311s] | ^~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-util.h:171:17: note: in definition of macro 'RUN_CLONE_CHILD' [ 311s] 171 | _child_body_; \ [ 311s] | ^~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:153:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 311s] 153 | ASSERT_EXIT_ZERO(kdbus_match_kdbus_creds(msg, &unmapped_creds)); [ 311s] | ^~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-util.h:171:17: note: in definition of macro 'RUN_CLONE_CHILD' [ 311s] 171 | _child_body_; \ [ 311s] | ^~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:159:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 311s] 159 | ASSERT_EXIT_ZERO(kdbus_match_kdbus_pids(msg, &unmapped_pids)); [ 311s] | ^~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-util.h:171:17: note: in definition of macro 'RUN_CLONE_CHILD' [ 311s] 171 | _child_body_; \ [ 311s] | ^~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:170:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 311s] 170 | ASSERT_EXIT_ZERO(kdbus_msg_recv_poll(userns_conn, 300, &msg, NULL)); [ 311s] | ^~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 311s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-util.h:171:17: note: in definition of macro 'RUN_CLONE_CHILD' [ 311s] 171 | _child_body_; \ [ 311s] | ^~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 311s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:171:17: note: in expansion of macro 'ASSERT_EXIT' [ 311s] 171 | ASSERT_EXIT(msg->dst_id,==,KDBUS_DST_ID_BROADCAST); [ 311s] | ^~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-util.h:171:17: note: in definition of macro 'RUN_CLONE_CHILD' [ 311s] 171 | _child_body_; \ [ 311s] | ^~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 311s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:171:17: note: in expansion of macro 'ASSERT_EXIT' [ 311s] 171 | ASSERT_EXIT(msg->dst_id,==,KDBUS_DST_ID_BROADCAST); [ 311s] | ^~~~~~~~~~~ [ 311s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 311s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-util.h:171:17: note: in definition of macro 'RUN_CLONE_CHILD' [ 311s] 171 | _child_body_; \ [ 311s] | ^~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 311s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:171:17: note: in expansion of macro 'ASSERT_EXIT' [ 311s] 171 | ASSERT_EXIT(msg->dst_id,==,KDBUS_DST_ID_BROADCAST); [ 311s] | ^~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-util.h:171:17: note: in definition of macro 'RUN_CLONE_CHILD' [ 311s] 171 | _child_body_; \ [ 311s] | ^~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:173:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 311s] 173 | ASSERT_EXIT_NONZERO(item = kdbus_get_item(msg, KDBUS_ITEM_CAPS)); [ 311s] | ^~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-util.h:171:17: note: in definition of macro 'RUN_CLONE_CHILD' [ 311s] 171 | _child_body_; \ [ 311s] | ^~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:176:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 311s] 176 | ASSERT_EXIT_ZERO(kdbus_match_kdbus_creds(msg, &unmapped_creds)); [ 311s] | ^~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-util.h:171:17: note: in definition of macro 'RUN_CLONE_CHILD' [ 311s] 171 | _child_body_; \ [ 311s] | ^~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:182:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 311s] 182 | ASSERT_EXIT_ZERO(kdbus_match_kdbus_pids(msg, &unmapped_pids)); [ 311s] | ^~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-util.h:174:17: note: in definition of macro 'RUN_CLONE_CHILD' [ 311s] 174 | _parent_setup_; \ [ 311s] | ^~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:191:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 311s] 191 | ASSERT_EXIT_ZERO(userns_map_uid_gid(_pid_, "0 65534 1", "0 65534 1")); [ 311s] | ^~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 311s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] kdbus-util.h:175:17: note: in expansion of macro 'ASSERT_RETURN' [ 311s] 175 | ASSERT_RETURN(eventfd_write(_efd_, 1),>=,0); \ [ 311s] | ^~~~~~~~~~~~~ [ 311s] test-metadata-ns.c:122:15: note: in expansion of macro 'RUN_CLONE_CHILD' [ 311s] 122 | ret = RUN_CLONE_CHILD(&clone_ret, [ 311s] | ^~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 311s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] kdbus-util.h:178:17: note: in expansion of macro 'ASSERT_RETURN' [ 311s] 178 | ASSERT_RETURN(_rpid_,==,_pid_); \ [ 311s] | ^~~~~~~~~~~~~ [ 311s] test-metadata-ns.c:122:15: note: in expansion of macro 'RUN_CLONE_CHILD' [ 311s] 122 | ret = RUN_CLONE_CHILD(&clone_ret, [ 311s] | ^~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] kdbus-util.h:179:17: note: in expansion of macro 'ASSERT_NONZERO' [ 311s] 179 | ASSERT_NONZERO(WIFEXITED(_ret_)); \ [ 311s] | ^~~~~~~~~~~~~~ [ 311s] test-metadata-ns.c:122:15: note: in expansion of macro 'RUN_CLONE_CHILD' [ 311s] 122 | ret = RUN_CLONE_CHILD(&clone_ret, [ 311s] | ^~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] kdbus-util.h:180:17: note: in expansion of macro 'ASSERT_ZERO' [ 311s] 180 | ASSERT_ZERO(WEXITSTATUS(_ret_)); \ [ 311s] | ^~~~~~~~~~~ [ 311s] test-metadata-ns.c:122:15: note: in expansion of macro 'RUN_CLONE_CHILD' [ 311s] 122 | ret = RUN_CLONE_CHILD(&clone_ret, [ 311s] | ^~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:204:9: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 311s] 204 | ASSERT_EXIT_ZERO(ret); [ 311s] | ^~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:211:9: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 311s] 211 | ASSERT_EXIT_ZERO(kdbus_msg_recv_poll(unpriv_conn, 300, &msg, NULL)); [ 311s] | ^~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 311s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 311s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:212:9: note: in expansion of macro 'ASSERT_EXIT' [ 311s] 212 | ASSERT_EXIT(msg->dst_id,==,unpriv_conn->id); [ 311s] | ^~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 311s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:212:9: note: in expansion of macro 'ASSERT_EXIT' [ 311s] 212 | ASSERT_EXIT(msg->dst_id,==,unpriv_conn->id); [ 311s] | ^~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:215:9: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 311s] 215 | ASSERT_EXIT_ZERO(kdbus_match_kdbus_creds(msg, &privileged_creds)); [ 311s] | ^~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:218:9: note: in expansion of macro 'ASSERT_ZERO' [ 311s] 218 | ASSERT_ZERO(kdbus_match_kdbus_pids(msg, &parent_pids)); [ 311s] | ^~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:227:9: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 311s] 227 | ASSERT_EXIT_ZERO(kdbus_msg_recv_poll(unpriv_conn, 300, &msg, NULL)); [ 311s] | ^~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 311s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 311s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:228:9: note: in expansion of macro 'ASSERT_EXIT' [ 311s] 228 | ASSERT_EXIT(msg->dst_id,==,KDBUS_DST_ID_BROADCAST); [ 311s] | ^~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 311s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:228:9: note: in expansion of macro 'ASSERT_EXIT' [ 311s] 228 | ASSERT_EXIT(msg->dst_id,==,KDBUS_DST_ID_BROADCAST); [ 311s] | ^~~~~~~~~~~ [ 311s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 311s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 311s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:228:9: note: in expansion of macro 'ASSERT_EXIT' [ 311s] 228 | ASSERT_EXIT(msg->dst_id,==,KDBUS_DST_ID_BROADCAST); [ 311s] | ^~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:231:9: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 311s] 231 | ASSERT_EXIT_ZERO(kdbus_match_kdbus_creds(msg, &privileged_creds)); [ 311s] | ^~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:233:9: note: in expansion of macro 'ASSERT_ZERO' [ 311s] 233 | ASSERT_ZERO(kdbus_match_kdbus_pids(msg, &parent_pids)); [ 311s] | ^~~~~~~~~~~ [ 311s] test-metadata-ns.c: In function 'kdbus_match_kdbus_pids': [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:71:9: note: in expansion of macro 'ASSERT_NONZERO' [ 311s] 71 | ASSERT_NONZERO(item = kdbus_get_item(msg, KDBUS_ITEM_PIDS)); [ 311s] | ^~~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:72:9: note: in expansion of macro 'ASSERT_ZERO' [ 311s] 72 | ASSERT_ZERO(memcmp(&item->pids, expected_pids, sizeof(struct kdbus_pids))); [ 311s] | ^~~~~~~~~~~ [ 311s] test-metadata-ns.c: In function 'kdbus_match_kdbus_creds': [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:62:9: note: in expansion of macro 'ASSERT_NONZERO' [ 311s] 62 | ASSERT_NONZERO(item = kdbus_get_item(msg, KDBUS_ITEM_CREDS)); [ 311s] | ^~~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:63:9: note: in expansion of macro 'ASSERT_ZERO' [ 311s] 63 | ASSERT_ZERO(memcmp(&item->creds, expected_creds, sizeof(struct kdbus_creds))); [ 311s] | ^~~~~~~~~~~ [ 311s] test-metadata-ns.c: In function 'kdbus_test_metadata': [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:477:9: note: in expansion of macro 'ASSERT_NONZERO' [ 311s] 477 | ASSERT_NONZERO(conn = kdbus_hello(env->buspath, 0, NULL, 0)); [ 311s] | ^~~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:478:9: note: in expansion of macro 'ASSERT_ZERO' [ 311s] 478 | ASSERT_ZERO(kdbus_name_acquire(conn, "dummy.name.yeah", NULL)); [ 311s] | ^~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:483:17: note: in expansion of macro 'ASSERT_ZERO' [ 311s] 483 | ASSERT_ZERO(kdbus_conn_update_attach_flags(env->conn, _KDBUS_ATTACH_ALL, attach_flags_recv)); [ 311s] | ^~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:484:17: note: in expansion of macro 'ASSERT_ZERO' [ 311s] 484 | ASSERT_ZERO(kdbus_msg_send(conn, NULL, ++cookie, 0, 0, 0, env->conn->id)); [ 311s] | ^~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:485:17: note: in expansion of macro 'ASSERT_ZERO' [ 311s] 485 | ASSERT_ZERO(kdbus_msg_recv(env->conn, &msg, NULL)); [ 311s] | ^~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:452:25: note: in expansion of macro 'ASSERT_ZERO' [ 311s] 452 | ASSERT_ZERO(have_name);\ [ 311s] | ^~~~~~~~~~~ [ 311s] test-metadata-ns.c:487:17: note: in expansion of macro 'TEST_METADATA' [ 311s] 487 | TEST_METADATA(msg); [ 311s] | ^~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:455:25: note: in expansion of macro 'ASSERT_ZERO' [ 311s] 455 | ASSERT_ZERO(have_desc);\ [ 311s] | ^~~~~~~~~~~ [ 311s] test-metadata-ns.c:487:17: note: in expansion of macro 'TEST_METADATA' [ 311s] 487 | TEST_METADATA(msg); [ 311s] | ^~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:460:17: note: in expansion of macro 'ASSERT_NONZERO' [ 311s] 460 | ASSERT_NONZERO(have_name);\ [ 311s] | ^~~~~~~~~~~~~~ [ 311s] test-metadata-ns.c:487:17: note: in expansion of macro 'TEST_METADATA' [ 311s] 487 | TEST_METADATA(msg); [ 311s] | ^~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:462:17: note: in expansion of macro 'ASSERT_ZERO' [ 311s] 462 | ASSERT_ZERO(have_name);\ [ 311s] | ^~~~~~~~~~~ [ 311s] test-metadata-ns.c:487:17: note: in expansion of macro 'TEST_METADATA' [ 311s] 487 | TEST_METADATA(msg); [ 311s] | ^~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:464:17: note: in expansion of macro 'ASSERT_NONZERO' [ 311s] 464 | ASSERT_NONZERO(have_desc);\ [ 311s] | ^~~~~~~~~~~~~~ [ 311s] test-metadata-ns.c:487:17: note: in expansion of macro 'TEST_METADATA' [ 311s] 487 | TEST_METADATA(msg); [ 311s] | ^~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:466:17: note: in expansion of macro 'ASSERT_ZERO' [ 311s] 466 | ASSERT_ZERO(have_desc);\ [ 311s] | ^~~~~~~~~~~ [ 311s] test-metadata-ns.c:487:17: note: in expansion of macro 'TEST_METADATA' [ 311s] 487 | TEST_METADATA(msg); [ 311s] | ^~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:490:17: note: in expansion of macro 'ASSERT_ZERO' [ 311s] 490 | ASSERT_ZERO(kdbus_free(env->conn, (uintptr_t)msg - (uintptr_t)env->conn->buf)); [ 311s] | ^~~~~~~~~~~ [ 311s] test-metadata-ns.c: In function 'kdbus_test_metadata_conn_info': [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:502:9: note: in expansion of macro 'ASSERT_ZERO' [ 311s] 502 | ASSERT_ZERO(kdbus_name_acquire(env->conn, "dummy.name.yeah", NULL)); [ 311s] | ^~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:510:17: note: in expansion of macro 'ASSERT_ZERO' [ 311s] 510 | ASSERT_ZERO(kdbus_conn_info(env->conn, env->conn->id, NULL, attach_flags_recv, &offset)); [ 311s] | ^~~~~~~~~~~ [ 311s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 311s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 311s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:512:17: note: in expansion of macro 'ASSERT_RETURN' [ 311s] 512 | ASSERT_RETURN(info->id,==,env->conn->id); [ 311s] | ^~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 311s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:512:17: note: in expansion of macro 'ASSERT_RETURN' [ 311s] 512 | ASSERT_RETURN(info->id,==,env->conn->id); [ 311s] | ^~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:452:25: note: in expansion of macro 'ASSERT_ZERO' [ 311s] 452 | ASSERT_ZERO(have_name);\ [ 311s] | ^~~~~~~~~~~ [ 311s] test-metadata-ns.c:514:17: note: in expansion of macro 'TEST_METADATA' [ 311s] 514 | TEST_METADATA(info); [ 311s] | ^~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:455:25: note: in expansion of macro 'ASSERT_ZERO' [ 311s] 455 | ASSERT_ZERO(have_desc);\ [ 311s] | ^~~~~~~~~~~ [ 311s] test-metadata-ns.c:514:17: note: in expansion of macro 'TEST_METADATA' [ 311s] 514 | TEST_METADATA(info); [ 311s] | ^~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:460:17: note: in expansion of macro 'ASSERT_NONZERO' [ 311s] 460 | ASSERT_NONZERO(have_name);\ [ 311s] | ^~~~~~~~~~~~~~ [ 311s] test-metadata-ns.c:514:17: note: in expansion of macro 'TEST_METADATA' [ 311s] 514 | TEST_METADATA(info); [ 311s] | ^~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:462:17: note: in expansion of macro 'ASSERT_ZERO' [ 311s] 462 | ASSERT_ZERO(have_name);\ [ 311s] | ^~~~~~~~~~~ [ 311s] test-metadata-ns.c:514:17: note: in expansion of macro 'TEST_METADATA' [ 311s] 514 | TEST_METADATA(info); [ 311s] | ^~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:464:17: note: in expansion of macro 'ASSERT_NONZERO' [ 311s] 464 | ASSERT_NONZERO(have_desc);\ [ 311s] | ^~~~~~~~~~~~~~ [ 311s] test-metadata-ns.c:514:17: note: in expansion of macro 'TEST_METADATA' [ 311s] 514 | TEST_METADATA(info); [ 311s] | ^~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:466:17: note: in expansion of macro 'ASSERT_ZERO' [ 311s] 466 | ASSERT_ZERO(have_desc);\ [ 311s] | ^~~~~~~~~~~ [ 311s] test-metadata-ns.c:514:17: note: in expansion of macro 'TEST_METADATA' [ 311s] 514 | TEST_METADATA(info); [ 311s] | ^~~~~~~~~~~~~ [ 311s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 311s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 311s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 311s] | ^~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 311s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 311s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 311s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 311s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 311s] | ^~~~~~~~~~~~ [ 311s] test-metadata-ns.c:516:17: note: in expansion of macro 'ASSERT_ZERO' [ 311s] 516 | ASSERT_ZERO(kdbus_free(env->conn, (uintptr_t)info - (uintptr_t)env->conn->buf)); [ 311s] | ^~~~~~~~~~~ [ 313s] cc -c test-monitor.c -o test-monitor.o -O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -I../../include/uapi/ -I../../samples/kdbus/ -std=gnu99 -Wno-error=shadow -DKBUILD_MODNAME=\"kdbus\" -D_GNU_SOURCE [ 313s] In file included from test-monitor.c:23: [ 313s] test-monitor.c: In function 'kdbus_test_monitor': [ 313s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 313s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 313s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 313s] | ^~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 313s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 313s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 313s] | ^~~~~~~~~~~~ [ 313s] test-monitor.c:33:9: note: in expansion of macro 'ASSERT_NONZERO' [ 313s] 33 | ASSERT_NONZERO(conn = kdbus_hello(env->buspath, 0, NULL, 0)); [ 313s] | ^~~~~~~~~~~~~~ [ 313s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 313s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 313s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 313s] | ^~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 313s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 313s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 313s] | ^~~~~~~~~~~~ [ 313s] test-monitor.c:38:9: note: in expansion of macro 'ASSERT_ZERO' [ 313s] 38 | ASSERT_ZERO(kdbus_add_match_id(conn, 0x1, KDBUS_ITEM_ID_ADD, KDBUS_MATCH_ID_ANY)); [ 313s] | ^~~~~~~~~~~ [ 313s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 313s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 313s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 313s] | ^~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 313s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 313s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 313s] | ^~~~~~~~~~~~ [ 313s] test-monitor.c:39:9: note: in expansion of macro 'ASSERT_ZERO' [ 313s] 39 | ASSERT_ZERO(kdbus_add_match_id(conn, 0x2, KDBUS_ITEM_ID_REMOVE, KDBUS_MATCH_ID_ANY)); [ 313s] | ^~~~~~~~~~~ [ 313s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 313s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 313s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 313s] | ^~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 313s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 313s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 313s] | ^~~~~~~~~~~~ [ 313s] test-monitor.c:42:9: note: in expansion of macro 'ASSERT_NONZERO' [ 313s] 42 | ASSERT_NONZERO(monitor = kdbus_hello(env->buspath, KDBUS_HELLO_MONITOR, NULL, 0)); [ 313s] | ^~~~~~~~~~~~~~ [ 313s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 313s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 313s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 313s] | ^~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 313s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 313s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 313s] | ^~~~~~~~~~~~ [ 313s] test-monitor.c:45:9: note: in expansion of macro 'ASSERT_RETURN' [ 313s] 45 | ASSERT_RETURN(-EAGAIN,==,kdbus_msg_recv(conn, &msg, &offset)); [ 313s] | ^~~~~~~~~~~~~ [ 313s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 313s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 313s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 313s] | ^~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 313s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 313s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 313s] | ^~~~~~~~~~~~ [ 313s] test-monitor.c:48:9: note: in expansion of macro 'ASSERT_RETURN' [ 313s] 48 | ASSERT_RETURN(-EOPNOTSUPP,==,kdbus_name_acquire(monitor, "foo.bar.baz", NULL)); [ 313s] | ^~~~~~~~~~~~~ [ 313s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 313s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 313s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 313s] | ^~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 313s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 313s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 313s] | ^~~~~~~~~~~~ [ 313s] test-monitor.c:50:9: note: in expansion of macro 'ASSERT_ZERO' [ 313s] 50 | ASSERT_ZERO(kdbus_msg_send(env->conn, NULL, cookie, 0, 0, 0, conn->id)); [ 313s] | ^~~~~~~~~~~ [ 313s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 313s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 313s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 313s] | ^~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 313s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 313s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 313s] | ^~~~~~~~~~~~ [ 313s] test-monitor.c:53:9: note: in expansion of macro 'ASSERT_ZERO' [ 313s] 53 | ASSERT_ZERO(kdbus_msg_recv(conn, &msg, &offset)); [ 313s] | ^~~~~~~~~~~ [ 313s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 313s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 313s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 313s] | ^~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 313s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 313s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 313s] | ^~~~~~~~~~~~ [ 313s] test-monitor.c:54:9: note: in expansion of macro 'ASSERT_RETURN' [ 313s] 54 | ASSERT_RETURN(msg->cookie,==,cookie); [ 313s] | ^~~~~~~~~~~~~ [ 313s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 313s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 313s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 313s] | ^~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 313s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 313s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 313s] | ^~~~~~~~~~~~ [ 313s] test-monitor.c:54:9: note: in expansion of macro 'ASSERT_RETURN' [ 313s] 54 | ASSERT_RETURN(msg->cookie,==,cookie); [ 313s] | ^~~~~~~~~~~~~ [ 313s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 313s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 313s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 313s] | ^~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 313s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 313s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 313s] | ^~~~~~~~~~~~ [ 313s] test-monitor.c:56:9: note: in expansion of macro 'ASSERT_ZERO' [ 313s] 56 | ASSERT_ZERO(kdbus_free(conn, offset)); [ 313s] | ^~~~~~~~~~~ [ 313s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 313s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 313s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 313s] | ^~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 313s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 313s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 313s] | ^~~~~~~~~~~~ [ 313s] test-monitor.c:59:9: note: in expansion of macro 'ASSERT_ZERO' [ 313s] 59 | ASSERT_ZERO(kdbus_msg_recv(monitor, &msg, &offset)); [ 313s] | ^~~~~~~~~~~ [ 313s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 313s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 313s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 313s] | ^~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 313s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 313s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 313s] | ^~~~~~~~~~~~ [ 313s] test-monitor.c:60:9: note: in expansion of macro 'ASSERT_RETURN' [ 313s] 60 | ASSERT_RETURN(msg->cookie,==,cookie); [ 313s] | ^~~~~~~~~~~~~ [ 313s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 313s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 313s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 313s] | ^~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 313s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 313s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 313s] | ^~~~~~~~~~~~ [ 313s] test-monitor.c:60:9: note: in expansion of macro 'ASSERT_RETURN' [ 313s] 60 | ASSERT_RETURN(msg->cookie,==,cookie); [ 313s] | ^~~~~~~~~~~~~ [ 313s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 313s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 313s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 313s] | ^~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 313s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 313s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 313s] | ^~~~~~~~~~~~ [ 313s] test-monitor.c:63:9: note: in expansion of macro 'ASSERT_ZERO' [ 313s] 63 | ASSERT_ZERO(kdbus_free(monitor, offset)); [ 313s] | ^~~~~~~~~~~ [ 313s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 313s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 313s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 313s] | ^~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 313s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 313s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 313s] | ^~~~~~~~~~~~ [ 313s] test-monitor.c:66:9: note: in expansion of macro 'ASSERT_RETURN' [ 313s] 66 | ASSERT_RETURN(-EAGAIN,==,kdbus_msg_recv(conn, &msg, &offset)); [ 313s] | ^~~~~~~~~~~~~ [ 313s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 313s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 313s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 313s] | ^~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 313s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 313s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 313s] | ^~~~~~~~~~~~ [ 313s] test-monitor.c:69:9: note: in expansion of macro 'ASSERT_RETURN' [ 313s] 69 | ASSERT_RETURN(-EOPNOTSUPP,==,kdbus_add_match_empty(monitor)); [ 313s] | ^~~~~~~~~~~~~ [ 313s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 313s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 313s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 313s] | ^~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 313s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 313s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 313s] | ^~~~~~~~~~~~ [ 313s] test-monitor.c:72:9: note: in expansion of macro 'ASSERT_ZERO' [ 313s] 72 | ASSERT_ZERO(kdbus_msg_send(env->conn, NULL, cookie, 0, 0, 0, KDBUS_DST_ID_BROADCAST)); [ 313s] | ^~~~~~~~~~~ [ 313s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 313s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 313s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 313s] | ^~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 313s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 313s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 313s] | ^~~~~~~~~~~~ [ 313s] test-monitor.c:75:9: note: in expansion of macro 'ASSERT_RETURN' [ 313s] 75 | ASSERT_RETURN(-EAGAIN,==,kdbus_msg_recv(conn, &msg, &offset)); [ 313s] | ^~~~~~~~~~~~~ [ 313s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 313s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 313s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 313s] | ^~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 313s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 313s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 313s] | ^~~~~~~~~~~~ [ 313s] test-monitor.c:78:9: note: in expansion of macro 'ASSERT_ZERO' [ 313s] 78 | ASSERT_ZERO(kdbus_msg_recv_poll(monitor, 100, &msg, &offset)); [ 313s] | ^~~~~~~~~~~ [ 313s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 313s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 313s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 313s] | ^~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 313s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 313s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 313s] | ^~~~~~~~~~~~ [ 313s] test-monitor.c:79:9: note: in expansion of macro 'ASSERT_RETURN' [ 313s] 79 | ASSERT_RETURN(msg->cookie,==,cookie); [ 313s] | ^~~~~~~~~~~~~ [ 313s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 313s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 313s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 313s] | ^~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 313s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 313s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 313s] | ^~~~~~~~~~~~ [ 313s] test-monitor.c:79:9: note: in expansion of macro 'ASSERT_RETURN' [ 313s] 79 | ASSERT_RETURN(msg->cookie,==,cookie); [ 313s] | ^~~~~~~~~~~~~ [ 313s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 313s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 313s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 313s] | ^~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 313s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 313s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 313s] | ^~~~~~~~~~~~ [ 313s] test-monitor.c:82:9: note: in expansion of macro 'ASSERT_ZERO' [ 313s] 82 | ASSERT_ZERO(kdbus_free(monitor, offset)); [ 313s] | ^~~~~~~~~~~ [ 313s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 313s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 313s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 313s] | ^~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 313s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 313s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 313s] | ^~~~~~~~~~~~ [ 313s] test-monitor.c:89:9: note: in expansion of macro 'ASSERT_ZERO' [ 313s] 89 | ASSERT_ZERO(kdbus_conn_update_attach_flags(monitor, _KDBUS_ATTACH_ALL, 0)); [ 313s] | ^~~~~~~~~~~ [ 313s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 313s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 313s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 313s] | ^~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 313s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 313s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 313s] | ^~~~~~~~~~~~ [ 313s] test-monitor.c:92:9: note: in expansion of macro 'ASSERT_ZERO' [ 313s] 92 | ASSERT_ZERO(kdbus_msg_send(env->conn, NULL, cookie, 0, 0, 0, KDBUS_DST_ID_BROADCAST)); [ 313s] | ^~~~~~~~~~~ [ 313s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 313s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 313s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 313s] | ^~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 313s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 313s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 313s] | ^~~~~~~~~~~~ [ 313s] test-monitor.c:95:9: note: in expansion of macro 'ASSERT_RETURN' [ 313s] 95 | ASSERT_RETURN(-EAGAIN,==,kdbus_msg_recv(conn, &msg, &offset)); [ 313s] | ^~~~~~~~~~~~~ [ 313s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 313s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 313s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 313s] | ^~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 313s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 313s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 313s] | ^~~~~~~~~~~~ [ 313s] test-monitor.c:97:9: note: in expansion of macro 'ASSERT_ZERO' [ 313s] 97 | ASSERT_ZERO(kdbus_msg_recv_poll(monitor, 100, &msg, &offset)); [ 313s] | ^~~~~~~~~~~ [ 313s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 313s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 313s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 313s] | ^~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 313s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 313s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 313s] | ^~~~~~~~~~~~ [ 313s] test-monitor.c:98:9: note: in expansion of macro 'ASSERT_RETURN' [ 313s] 98 | ASSERT_RETURN(msg->cookie,==,cookie); [ 313s] | ^~~~~~~~~~~~~ [ 313s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 313s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 313s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 313s] | ^~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 313s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 313s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 313s] | ^~~~~~~~~~~~ [ 313s] test-monitor.c:98:9: note: in expansion of macro 'ASSERT_RETURN' [ 313s] 98 | ASSERT_RETURN(msg->cookie,==,cookie); [ 313s] | ^~~~~~~~~~~~~ [ 313s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 313s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 313s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 313s] | ^~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 313s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 313s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 313s] | ^~~~~~~~~~~~ [ 313s] test-monitor.c:100:9: note: in expansion of macro 'ASSERT_ZERO' [ 313s] 100 | ASSERT_ZERO(kdbus_item_in_message(msg, KDBUS_ITEM_TIMESTAMP)); [ 313s] | ^~~~~~~~~~~ [ 313s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 313s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 313s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 313s] | ^~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 313s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 313s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 313s] | ^~~~~~~~~~~~ [ 313s] test-monitor.c:103:9: note: in expansion of macro 'ASSERT_ZERO' [ 313s] 103 | ASSERT_ZERO(kdbus_free(monitor, offset)); [ 313s] | ^~~~~~~~~~~ [ 313s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 313s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 313s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 313s] | ^~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 313s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 313s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 313s] | ^~~~~~~~~~~~ [ 313s] test-monitor.c:109:9: note: in expansion of macro 'ASSERT_ZERO' [ 313s] 109 | ASSERT_ZERO(kdbus_conn_update_attach_flags(monitor, _KDBUS_ATTACH_ALL, KDBUS_ATTACH_TIMESTAMP | KDBUS_ATTACH_CREDS)); [ 313s] | ^~~~~~~~~~~ [ 313s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 313s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 313s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 313s] | ^~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 313s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 313s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 313s] | ^~~~~~~~~~~~ [ 313s] test-monitor.c:112:9: note: in expansion of macro 'ASSERT_ZERO' [ 313s] 112 | ASSERT_ZERO(kdbus_msg_send(env->conn, NULL, cookie, 0, 0, 0, KDBUS_DST_ID_BROADCAST)); [ 313s] | ^~~~~~~~~~~ [ 313s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 313s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 313s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 313s] | ^~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 313s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 313s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 313s] | ^~~~~~~~~~~~ [ 313s] test-monitor.c:115:9: note: in expansion of macro 'ASSERT_RETURN' [ 313s] 115 | ASSERT_RETURN(-EAGAIN,==,kdbus_msg_recv(conn, &msg, &offset)); [ 313s] | ^~~~~~~~~~~~~ [ 313s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 313s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 313s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 313s] | ^~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 313s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 313s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 313s] | ^~~~~~~~~~~~ [ 313s] test-monitor.c:117:9: note: in expansion of macro 'ASSERT_ZERO' [ 313s] 117 | ASSERT_ZERO(kdbus_msg_recv_poll(monitor, 100, &msg, &offset)); [ 313s] | ^~~~~~~~~~~ [ 313s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 313s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 313s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 313s] | ^~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 313s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 313s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 313s] | ^~~~~~~~~~~~ [ 313s] test-monitor.c:118:9: note: in expansion of macro 'ASSERT_RETURN' [ 313s] 118 | ASSERT_RETURN(msg->cookie,==,cookie); [ 313s] | ^~~~~~~~~~~~~ [ 313s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 313s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 313s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 313s] | ^~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 313s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 313s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 313s] | ^~~~~~~~~~~~ [ 313s] test-monitor.c:118:9: note: in expansion of macro 'ASSERT_RETURN' [ 313s] 118 | ASSERT_RETURN(msg->cookie,==,cookie); [ 313s] | ^~~~~~~~~~~~~ [ 313s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 313s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 313s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 313s] | ^~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 313s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 313s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 313s] | ^~~~~~~~~~~~ [ 313s] test-monitor.c:120:9: note: in expansion of macro 'ASSERT_RETURN' [ 313s] 120 | ASSERT_RETURN(1,==,kdbus_item_in_message(msg, KDBUS_ITEM_TIMESTAMP)); [ 313s] | ^~~~~~~~~~~~~ [ 313s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 313s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 313s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 313s] | ^~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 313s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 313s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 313s] | ^~~~~~~~~~~~ [ 313s] test-monitor.c:122:9: note: in expansion of macro 'ASSERT_RETURN' [ 313s] 122 | ASSERT_RETURN(1,==,kdbus_item_in_message(msg, KDBUS_ITEM_CREDS)); [ 313s] | ^~~~~~~~~~~~~ [ 313s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 313s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 313s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 313s] | ^~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 313s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 313s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 313s] | ^~~~~~~~~~~~ [ 313s] test-monitor.c:125:9: note: in expansion of macro 'ASSERT_ZERO' [ 313s] 125 | ASSERT_ZERO(kdbus_item_in_message(msg, KDBUS_ITEM_PID_COMM)); [ 313s] | ^~~~~~~~~~~ [ 313s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 313s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 313s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 313s] | ^~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 313s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 313s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 313s] | ^~~~~~~~~~~~ [ 313s] test-monitor.c:128:9: note: in expansion of macro 'ASSERT_ZERO' [ 313s] 128 | ASSERT_ZERO(kdbus_free(monitor, offset)); [ 313s] | ^~~~~~~~~~~ [ 313s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 313s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 313s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 313s] | ^~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 313s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 313s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 313s] | ^~~~~~~~~~~~ [ 313s] test-monitor.c:131:9: note: in expansion of macro 'ASSERT_RETURN' [ 313s] 131 | ASSERT_RETURN(-EAGAIN,==,kdbus_msg_recv(conn, &msg, &offset)); [ 313s] | ^~~~~~~~~~~~~ [ 313s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 313s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 313s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 313s] | ^~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 313s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 313s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 313s] | ^~~~~~~~~~~~ [ 313s] test-monitor.c:135:9: note: in expansion of macro 'ASSERT_RETURN' [ 313s] 135 | ASSERT_RETURN(-EAGAIN,==,kdbus_msg_recv(conn, &msg, &offset)); [ 313s] | ^~~~~~~~~~~~~ [ 313s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 313s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 313s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 313s] | ^~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 313s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 313s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 313s] | ^~~~~~~~~~~~ [ 313s] test-monitor.c:141:9: note: in expansion of macro 'ASSERT_RETURN' [ 313s] 141 | ASSERT_RETURN(ret,>=,0); [ 313s] | ^~~~~~~~~~~~~ [ 313s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 313s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 313s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 313s] | ^~~~ [ 313s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 313s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 313s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 313s] | ^~~~~~~~~~~~ [ 313s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 313s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 313s] | ^~~~~~~~~~~ [ 313s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 313s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 313s] | ^~~~~~~~~~ [ 313s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 313s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 313s] | ^~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 313s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 313s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 313s] | ^~~~~~~~~~~~ [ 313s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 313s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 313s] | ^~~~~~~~~~~~~~~ [ 313s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 313s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 313s] | ^~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 313s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] test-monitor.c:144:17: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 313s] 144 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 313s] | ^~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 313s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 313s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 313s] | ^~~~ [ 313s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 313s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 313s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 313s] | ^~~~~~~~~~~~ [ 313s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 313s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 313s] | ^~~~~~~~~~~ [ 313s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 313s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 313s] | ^~~~~~~~~~ [ 313s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 313s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 313s] | ^~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 313s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] test-monitor.c:144:17: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 313s] 144 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 313s] | ^~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 313s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 313s] | ^~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 313s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 313s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 313s] | ^~~~~~~~~~~~ [ 313s] test-monitor.c:146:25: note: in expansion of macro 'ASSERT_EXIT' [ 313s] 146 | ASSERT_EXIT(errno,==,EPERM); [ 313s] | ^~~~~~~~~~~ [ 313s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 313s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 313s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 313s] | ^~~~ [ 313s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 313s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 313s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 313s] | ^~~~~~~~~~~~ [ 313s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 313s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 313s] | ^~~~~~~~~~~ [ 313s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 313s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 313s] | ^~~~~~~~~~ [ 313s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 313s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 313s] | ^~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 313s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] test-monitor.c:144:17: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 313s] 144 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 313s] | ^~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 313s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 313s] | ^~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 313s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 313s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 313s] | ^~~~~~~~~~~~ [ 313s] test-monitor.c:147:25: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 313s] 147 | ASSERT_EXIT_ZERO(monitor); [ 313s] | ^~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 313s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 313s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 313s] | ^~~~ [ 313s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 313s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 313s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 313s] | ^~~~~~~~~~~~ [ 313s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 313s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 313s] | ^~~~~~~~~~~ [ 313s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 313s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 313s] | ^~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 313s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 313s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 313s] | ^~~~~~~~~~~~ [ 313s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 313s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 313s] | ^~~~~~~~~~~~~ [ 313s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 313s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 313s] | ^~~~~~~~~~ [ 313s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 313s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 313s] | ^~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 313s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] test-monitor.c:144:17: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 313s] 144 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 313s] | ^~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 313s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 313s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 313s] | ^~~~ [ 313s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 313s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 313s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 313s] | ^~~~~~~~~~~~ [ 313s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 313s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 313s] | ^~~~~~~~~~~ [ 313s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 313s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 313s] | ^~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 313s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 313s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 313s] | ^~~~~~~~~~~~ [ 313s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 313s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 313s] | ^~~~~~~~~~~~~~ [ 313s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 313s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 313s] | ^~~~~~~~~~ [ 313s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 313s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 313s] | ^~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 313s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] test-monitor.c:144:17: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 313s] 144 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 313s] | ^~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 313s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 313s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 313s] | ^~~~ [ 313s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 313s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 313s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 313s] | ^~~~~~~~~~~~ [ 313s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 313s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 313s] | ^~~~~~~~~~~ [ 313s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 313s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 313s] | ^~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 313s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 313s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 313s] | ^~~~~~~~~~~~ [ 313s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 313s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 313s] | ^~~~~~~~~~~ [ 313s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 313s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 313s] | ^~~~~~~~~~ [ 313s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 313s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 313s] | ^~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 313s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] test-monitor.c:144:17: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 313s] 144 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 313s] | ^~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 313s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 313s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 313s] | ^~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 313s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 313s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 313s] | ^~~~~~~~~~~~ [ 313s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 313s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 313s] | ^~~~~~~~~~~ [ 313s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 313s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 313s] | ^~~~~~~~~~ [ 313s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 313s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 313s] | ^~~~~~~~~~~~~~~~~~~~ [ 313s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 313s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 313s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 313s] test-monitor.c:144:17: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 313s] 144 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 313s] | ^~~~~~~~~~~~~~~~ [ 314s] cc -c test-names.c -o test-names.o -O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -I../../include/uapi/ -I../../samples/kdbus/ -std=gnu99 -Wno-error=shadow -DKBUILD_MODNAME=\"kdbus\" -D_GNU_SOURCE [ 314s] In file included from test-names.c:18: [ 314s] test-names.c: In function 'kdbus_test_name_basic': [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 314s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-names.c:93:9: note: in expansion of macro 'ASSERT_NONZERO' [ 314s] 93 | ASSERT_NONZERO(conn = kdbus_hello(env->buspath, 0, NULL, 0)); [ 314s] | ^~~~~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 314s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-names.c:96:9: note: in expansion of macro 'ASSERT_ZERO' [ 314s] 96 | ASSERT_ZERO(kdbus_name_acquire(conn, "foo.bar.xxx", NULL)); [ 314s] | ^~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 314s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-names.c:99:9: note: in expansion of macro 'ASSERT_RETURN' [ 314s] 99 | ASSERT_RETURN(-EINVAL,==,kdbus_name_acquire(env->conn, dot_name, NULL)); [ 314s] | ^~~~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 314s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-names.c:101:9: note: in expansion of macro 'ASSERT_RETURN' [ 314s] 101 | ASSERT_RETURN(-EINVAL,==,kdbus_name_acquire(env->conn, invalid_name, NULL)); [ 314s] | ^~~~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 314s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-names.c:103:9: note: in expansion of macro 'ASSERT_RETURN' [ 314s] 103 | ASSERT_RETURN(-EINVAL,==,kdbus_name_acquire(env->conn, wildcard_name, NULL)); [ 314s] | ^~~~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 314s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-names.c:106:9: note: in expansion of macro 'ASSERT_ZERO' [ 314s] 106 | ASSERT_ZERO(kdbus_name_acquire(env->conn, name, NULL)); [ 314s] | ^~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 314s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-names.c:108:9: note: in expansion of macro 'ASSERT_RETURN' [ 314s] 108 | ASSERT_RETURN(true,==,conn_is_name_primary_owner(env->conn, name)); [ 314s] | ^~~~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 314s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-names.c:111:9: note: in expansion of macro 'ASSERT_ZERO' [ 314s] 111 | ASSERT_ZERO(kdbus_name_release(env->conn, name)); [ 314s] | ^~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 314s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-names.c:113:9: note: in expansion of macro 'ASSERT_RETURN' [ 314s] 113 | ASSERT_RETURN(false,==,conn_is_name_primary_owner(env->conn, name)); [ 314s] | ^~~~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 314s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-names.c:116:9: note: in expansion of macro 'ASSERT_RETURN' [ 314s] 116 | ASSERT_RETURN(-ESRCH,==,kdbus_name_release(env->conn, name)); [ 314s] | ^~~~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 314s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-names.c:119:9: note: in expansion of macro 'ASSERT_RETURN' [ 314s] 119 | ASSERT_RETURN(-EADDRINUSE,==,kdbus_name_release(env->conn, "foo.bar.xxx")); [ 314s] | ^~~~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 314s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-names.c:122:9: note: in expansion of macro 'ASSERT_RETURN' [ 314s] 122 | ASSERT_RETURN(-ESRCH,==,kdbus_name_release(env->conn, dot_name)); [ 314s] | ^~~~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 314s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-names.c:124:9: note: in expansion of macro 'ASSERT_RETURN' [ 314s] 124 | ASSERT_RETURN(-ESRCH,==,kdbus_name_release(env->conn, invalid_name)); [ 314s] | ^~~~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 314s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-names.c:126:9: note: in expansion of macro 'ASSERT_RETURN' [ 314s] 126 | ASSERT_RETURN(-ESRCH,==,kdbus_name_release(env->conn, wildcard_name)); [ 314s] | ^~~~~~~~~~~~~ [ 314s] test-names.c: In function 'conn_test_names': [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 314s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-names.c:39:9: note: in expansion of macro 'ASSERT_ZERO' [ 314s] 39 | ASSERT_ZERO(kdbus_cmd_list(conn->fd, &cmd_list)); [ 314s] | ^~~~~~~~~~~ [ 314s] test-names.c: In function 'kdbus_test_name_conflict': [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 314s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-names.c:141:9: note: in expansion of macro 'ASSERT_NONZERO' [ 314s] 141 | ASSERT_NONZERO(conn = kdbus_hello(env->buspath, 0, NULL, 0)); [ 314s] | ^~~~~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 314s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-names.c:145:9: note: in expansion of macro 'ASSERT_ZERO' [ 314s] 145 | ASSERT_ZERO(kdbus_name_acquire(env->conn, name, NULL)); [ 314s] | ^~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 314s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-names.c:147:9: note: in expansion of macro 'ASSERT_RETURN' [ 314s] 147 | ASSERT_RETURN(true,==,conn_is_name_primary_owner(env->conn, name)); [ 314s] | ^~~~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 314s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-names.c:150:9: note: in expansion of macro 'ASSERT_RETURN' [ 314s] 150 | ASSERT_RETURN(-EEXIST,==,kdbus_name_acquire(conn, name, NULL)); [ 314s] | ^~~~~~~~~~~~~ [ 314s] test-names.c: In function 'kdbus_test_name_queue': [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 314s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-names.c:169:9: note: in expansion of macro 'ASSERT_NONZERO' [ 314s] 169 | ASSERT_NONZERO(conn = kdbus_hello(env->buspath, 0, NULL, 0)); [ 314s] | ^~~~~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 314s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-names.c:173:9: note: in expansion of macro 'ASSERT_ZERO' [ 314s] 173 | ASSERT_ZERO(kdbus_name_acquire(env->conn, name, &flags)); [ 314s] | ^~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 314s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-names.c:175:9: note: in expansion of macro 'ASSERT_RETURN' [ 314s] 175 | ASSERT_RETURN(true,==,conn_is_name_primary_owner(env->conn, name)); [ 314s] | ^~~~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 314s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-names.c:179:9: note: in expansion of macro 'ASSERT_ZERO' [ 314s] 179 | ASSERT_ZERO(kdbus_name_acquire(conn, name, &flags)); [ 314s] | ^~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 314s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-names.c:180:9: note: in expansion of macro 'ASSERT_NONZERO' [ 314s] 180 | ASSERT_NONZERO(flags & KDBUS_NAME_IN_QUEUE); [ 314s] | ^~~~~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 314s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-names.c:188:9: note: in expansion of macro 'ASSERT_RETURN' [ 314s] 188 | ASSERT_RETURN(true,==,conn_test_names(conn, t, 2)); [ 314s] | ^~~~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 314s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-names.c:191:9: note: in expansion of macro 'ASSERT_ZERO' [ 314s] 191 | ASSERT_ZERO(kdbus_name_release(env->conn, name)); [ 314s] | ^~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 314s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-names.c:197:9: note: in expansion of macro 'ASSERT_RETURN' [ 314s] 197 | ASSERT_RETURN(true,==,conn_test_names(conn, t, 1)); [ 314s] | ^~~~~~~~~~~~~ [ 314s] test-names.c: In function 'kdbus_test_name_takeover': [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 314s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-names.c:216:9: note: in expansion of macro 'ASSERT_NONZERO' [ 314s] 216 | ASSERT_NONZERO(conn = kdbus_hello(env->buspath, 0, NULL, 0)); [ 314s] | ^~~~~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 314s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-names.c:219:9: note: in expansion of macro 'ASSERT_ZERO' [ 314s] 219 | ASSERT_ZERO(kdbus_name_acquire(env->conn, name, &flags)); [ 314s] | ^~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 314s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-names.c:224:9: note: in expansion of macro 'ASSERT_RETURN' [ 314s] 224 | ASSERT_RETURN(true,==,conn_test_names(conn, &t, 1)); [ 314s] | ^~~~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 314s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-names.c:228:9: note: in expansion of macro 'ASSERT_ZERO' [ 314s] 228 | ASSERT_ZERO(kdbus_name_acquire(conn, name, &flags)); [ 314s] | ^~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 314s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-names.c:229:9: note: in expansion of macro 'ASSERT_NONZERO' [ 314s] 229 | ASSERT_NONZERO(flags & KDBUS_NAME_ACQUIRED); [ 314s] | ^~~~~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 314s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-names.c:231:9: note: in expansion of macro 'ASSERT_RETURN' [ 314s] 231 | ASSERT_RETURN(true,==,conn_is_name_primary_owner(conn, name)); [ 314s] | ^~~~~~~~~~~~~ [ 314s] cc -c test-policy.c -o test-policy.o -O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -I../../include/uapi/ -I../../samples/kdbus/ -std=gnu99 -Wno-error=shadow -DKBUILD_MODNAME=\"kdbus\" -D_GNU_SOURCE [ 314s] In file included from test-policy.c:10: [ 314s] test-policy.c: In function 'kdbus_test_policy': [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 314s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-policy.c:20:9: note: in expansion of macro 'ASSERT_ZERO' [ 314s] 20 | ASSERT_ZERO(kdbus_hello_registrar(env->buspath, ".example.a", NULL, 0, KDBUS_HELLO_POLICY_HOLDER)); [ 314s] | ^~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 314s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-policy.c:21:9: note: in expansion of macro 'ASSERT_ZERO' [ 314s] 21 | ASSERT_ZERO(kdbus_hello_registrar(env->buspath, "example", NULL, 0, KDBUS_HELLO_POLICY_HOLDER)); [ 314s] | ^~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 314s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-policy.c:23:9: note: in expansion of macro 'ASSERT_NONZERO' [ 314s] 23 | ASSERT_NONZERO(conn_a = kdbus_hello_registrar(env->buspath, "com.example.a", NULL, 0, KDBUS_HELLO_POLICY_HOLDER)); [ 314s] | ^~~~~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 314s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-policy.c:24:9: note: in expansion of macro 'ASSERT_NONZERO' [ 314s] 24 | ASSERT_NONZERO(conn_b = kdbus_hello_registrar(env->buspath, "com.example.b", NULL, 0, KDBUS_HELLO_POLICY_HOLDER)); [ 314s] | ^~~~~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 314s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-policy.c:37:9: note: in expansion of macro 'ASSERT_ZERO' [ 314s] 37 | ASSERT_ZERO(kdbus_conn_update_policy(conn_a, "com.example.a", &access, 1)); [ 314s] | ^~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 314s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-policy.c:39:9: note: in expansion of macro 'ASSERT_RETURN' [ 314s] 39 | ASSERT_RETURN(-EEXIST,==,kdbus_conn_update_policy(conn_b, "com.example.a", &access, 1)); [ 314s] | ^~~~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 314s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-policy.c:41:9: note: in expansion of macro 'ASSERT_ZERO' [ 314s] 41 | ASSERT_ZERO(kdbus_conn_update_policy(conn_b, "com.example.a.*", &access, 1)); [ 314s] | ^~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 314s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-policy.c:43:9: note: in expansion of macro 'ASSERT_RETURN' [ 314s] 43 | ASSERT_RETURN(-EEXIST,==,kdbus_conn_update_policy(conn_a, "com.example.a.*", &access, 1)); [ 314s] | ^~~~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 314s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-policy.c:45:9: note: in expansion of macro 'ASSERT_ZERO' [ 314s] 45 | ASSERT_ZERO(kdbus_conn_update_policy(conn_a, "com.example.*", &access, 1)); [ 314s] | ^~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 314s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-policy.c:47:9: note: in expansion of macro 'ASSERT_ZERO' [ 314s] 47 | ASSERT_ZERO(kdbus_conn_update_policy(conn_b, "com.example.a", &access, 1)); [ 314s] | ^~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 314s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-policy.c:49:9: note: in expansion of macro 'ASSERT_RETURN' [ 314s] 49 | ASSERT_RETURN(-EEXIST,==,kdbus_conn_update_policy(conn_b, "com.example.*", &access, 1)); [ 314s] | ^~~~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 314s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-policy.c:52:9: note: in expansion of macro 'ASSERT_RETURN' [ 314s] 52 | ASSERT_RETURN(-EINVAL,==,kdbus_conn_update_policy(conn_b, ".example.*", &access, 1)); [ 314s] | ^~~~~~~~~~~~~ [ 314s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 314s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 314s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 314s] | ^~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 314s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 314s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 314s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 314s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 314s] | ^~~~~~~~~~~~ [ 314s] test-policy.c:54:9: note: in expansion of macro 'ASSERT_RETURN' [ 314s] 54 | ASSERT_RETURN(-EINVAL,==,kdbus_conn_update_policy(conn_b, "example", &access, 1)); [ 314s] | ^~~~~~~~~~~~~ [ 315s] cc -c test-policy-ns.c -o test-policy-ns.o -O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -I../../include/uapi/ -I../../samples/kdbus/ -std=gnu99 -Wno-error=shadow -DKBUILD_MODNAME=\"kdbus\" -D_GNU_SOURCE [ 315s] In file included from test-policy-ns.c:34: [ 315s] test-policy-ns.c: In function 'kdbus_test_policy_ns': [ 315s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 315s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 315s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 315s] | ^~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 315s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 315s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 315s] | ^~~~~~~~~~~~ [ 315s] test-policy-ns.c:502:9: note: in expansion of macro 'ASSERT_RETURN' [ 315s] 502 | ASSERT_RETURN(ret,>=,0); [ 315s] | ^~~~~~~~~~~~~ [ 315s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 315s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 315s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 315s] | ^~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 315s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 315s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 315s] | ^~~~~~~~~~~~ [ 315s] test-policy-ns.c:516:9: note: in expansion of macro 'ASSERT_NONZERO' [ 315s] 516 | ASSERT_NONZERO(g_conn_db = calloc(MAX_CONN, sizeof(struct kdbus_conn *))); [ 315s] | ^~~~~~~~~~~~~~ [ 315s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 315s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 315s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 315s] | ^~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 315s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 315s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 315s] | ^~~~~~~~~~~~ [ 315s] test-policy-ns.c:520:9: note: in expansion of macro 'ASSERT_NONZERO' [ 315s] 520 | ASSERT_NONZERO(g_conn_db[0] = kdbus_hello(bus, 0, NULL, 0)); [ 315s] | ^~~~~~~~~~~~~~ [ 315s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 315s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 315s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 315s] | ^~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 315s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 315s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 315s] | ^~~~~~~~~~~~ [ 315s] test-policy-ns.c:522:9: note: in expansion of macro 'ASSERT_ZERO' [ 315s] 522 | ASSERT_ZERO(kdbus_add_match_empty(g_conn_db[0])); [ 315s] | ^~~~~~~~~~~ [ 315s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 315s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 315s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 315s] | ^~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 315s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 315s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 315s] | ^~~~~~~~~~~~ [ 315s] test-policy-ns.c:524:9: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 315s] 524 | ASSERT_EXIT_ZERO(kdbus_fork_test_by_id(bus, g_conn_db, -EPERM, -EPERM)); [ 315s] | ^~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 315s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 315s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 315s] | ^~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 315s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 315s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 315s] | ^~~~~~~~~~~~ [ 315s] test-policy-ns.c:526:9: note: in expansion of macro 'ASSERT_ZERO' [ 315s] 526 | ASSERT_ZERO(kdbus_register_policy_holder(bus, POLICY_NAME, &policy_holder)); [ 315s] | ^~~~~~~~~~~ [ 315s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 315s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 315s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 315s] | ^~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 315s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 315s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 315s] | ^~~~~~~~~~~~ [ 315s] test-policy-ns.c:529:9: note: in expansion of macro 'ASSERT_ZERO' [ 315s] 529 | ASSERT_ZERO(kdbus_register_same_activator(bus, POLICY_NAME, &activator)); [ 315s] | ^~~~~~~~~~~ [ 315s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 315s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 315s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 315s] | ^~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 315s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 315s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 315s] | ^~~~~~~~~~~~ [ 315s] test-policy-ns.c:532:9: note: in expansion of macro 'ASSERT_ZERO' [ 315s] 532 | ASSERT_ZERO(kdbus_name_acquire(g_conn_db[0], POLICY_NAME, NULL)); [ 315s] | ^~~~~~~~~~~ [ 315s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 315s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 315s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 315s] | ^~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 315s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 315s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 315s] | ^~~~~~~~~~~~ [ 315s] test-policy-ns.c:534:9: note: in expansion of macro 'ASSERT_ZERO' [ 315s] 534 | ASSERT_ZERO(kdbus_normal_test(bus, POLICY_NAME, g_conn_db)); [ 315s] | ^~~~~~~~~~~ [ 315s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 315s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 315s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 315s] | ^~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 315s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 315s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 315s] | ^~~~~~~~~~~~ [ 315s] test-policy-ns.c:536:9: note: in expansion of macro 'ASSERT_ZERO' [ 315s] 536 | ASSERT_ZERO(kdbus_list(g_conn_db[0], KDBUS_LIST_NAMES | KDBUS_LIST_UNIQUE | KDBUS_LIST_ACTIVATORS | KDBUS_LIST_QUEUED)); [ 315s] | ^~~~~~~~~~~ [ 315s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 315s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 315s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 315s] | ^~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 315s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 315s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 315s] | ^~~~~~~~~~~~ [ 315s] test-policy-ns.c:538:9: note: in expansion of macro 'ASSERT_ZERO' [ 315s] 538 | ASSERT_ZERO(kdbus_fork_test(bus, POLICY_NAME, g_conn_db, EXIT_SUCCESS)); [ 315s] | ^~~~~~~~~~~ [ 315s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 315s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 315s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 315s] | ^~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 315s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 315s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 315s] | ^~~~~~~~~~~~ [ 315s] test-policy-ns.c:549:9: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 315s] 549 | ASSERT_EXIT_ZERO(kdbus_fork_test_by_id(bus, g_conn_db, EXIT_SUCCESS, EXIT_SUCCESS)); [ 315s] | ^~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 315s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 315s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 315s] | ^~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 315s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 315s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 315s] | ^~~~~~~~~~~~ [ 315s] test-policy-ns.c:558:9: note: in expansion of macro 'ASSERT_ZERO' [ 315s] 558 | ASSERT_ZERO(kdbus_set_policy_talk(policy_holder, POLICY_NAME, geteuid(), KDBUS_POLICY_ACCESS_USER)); [ 315s] | ^~~~~~~~~~~ [ 315s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 315s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 315s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 315s] | ^~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 315s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 315s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 315s] | ^~~~~~~~~~~~ [ 315s] test-policy-ns.c:565:9: note: in expansion of macro 'ASSERT_ZERO' [ 315s] 565 | ASSERT_ZERO(kdbus_fork_test(bus, POLICY_NAME, g_conn_db, ONTIZEN(0,-EPERM))); [ 315s] | ^~~~~~~~~~~ [ 315s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 315s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 315s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 315s] | ^~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 315s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 315s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 315s] | ^~~~~~~~~~~~ [ 315s] test-policy-ns.c:576:9: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 315s] 576 | ASSERT_EXIT_ZERO(kdbus_fork_test_by_id(bus, g_conn_db, -EPERM, -EPERM)); [ 315s] | ^~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 315s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 315s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 315s] | ^~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 315s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 315s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 315s] | ^~~~~~~~~~~~ [ 315s] test-policy-ns.c:579:9: note: in expansion of macro 'ASSERT_ZERO' [ 315s] 579 | ASSERT_ZERO(kdbus_clone_userns_test(bus, POLICY_NAME, g_conn_db, ONTIZEN(0,-EPERM))); [ 315s] | ^~~~~~~~~~~ [ 315s] test-policy-ns.c: In function 'kdbus_register_policy_holder': [ 315s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 315s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 315s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 315s] | ^~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 315s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 315s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 315s] | ^~~~~~~~~~~~ [ 315s] test-policy-ns.c:123:9: note: in expansion of macro 'ASSERT_NONZERO' [ 315s] 123 | ASSERT_NONZERO(c = kdbus_hello_registrar(bus, name, access, 2, KDBUS_HELLO_POLICY_HOLDER)); [ 315s] | ^~~~~~~~~~~~~~ [ 315s] test-policy-ns.c: In function 'kdbus_normal_test': [ 315s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 315s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 315s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 315s] | ^~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 315s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 315s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 315s] | ^~~~~~~~~~~~ [ 315s] test-policy-ns.c:242:9: note: in expansion of macro 'ASSERT_RETURN' [ 315s] 242 | ASSERT_RETURN(0,<=,kdbus_recv_in_threads(bus, name, conn_db)); [ 315s] | ^~~~~~~~~~~~~ [ 315s] test-policy-ns.c: In function 'kdbus_recv_in_threads': [ 315s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 315s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 315s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 315s] | ^~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 315s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 315s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 315s] | ^~~~~~~~~~~~ [ 315s] test-policy-ns.c:217:17: note: in expansion of macro 'ASSERT_NONZERO' [ 315s] 217 | ASSERT_NONZERO(lost_packets); [ 315s] | ^~~~~~~~~~~~~~ [ 315s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 315s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 315s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 315s] | ^~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 315s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 315s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 315s] | ^~~~~~~~~~~~ [ 315s] test-policy-ns.c:225:17: note: in expansion of macro 'ASSERT_RETURN' [ 315s] 225 | ASSERT_RETURN(sent_packets,>=,(unsigned)KDBUS_CONN_MAX_MSGS_PER_USER); [ 315s] | ^~~~~~~~~~~~~ [ 315s] test-policy-ns.c: In function 'kdbus_set_policy_talk': [ 315s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 315s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 315s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 315s] | ^~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 315s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 315s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 315s] | ^~~~~~~~~~~~ [ 315s] test-policy-ns.c:81:9: note: in expansion of macro 'ASSERT_ZERO' [ 315s] 81 | ASSERT_ZERO(kdbus_conn_update_policy(conn, name, &access, 1)); [ 315s] | ^~~~~~~~~~~ [ 315s] test-policy-ns.c: In function 'kdbus_fork_test': [ 315s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 315s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 315s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 315s] | ^~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 315s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 315s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 315s] | ^~~~~~~~~~~~ [ 315s] test-policy-ns.c:354:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 315s] 354 | ASSERT_RETURN_VAL(pid,>=,0, pid); [ 315s] | ^~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 315s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 315s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 315s] | ^~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 315s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 315s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 315s] | ^~~~~~~~~~~~ [ 315s] test-policy-ns.c:357:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 315s] 357 | ASSERT_EXIT_ZERO(prctl(PR_SET_PDEATHSIG, SIGKILL)); [ 315s] | ^~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 315s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 315s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 315s] | ^~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 315s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 315s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 315s] | ^~~~~~~~~~~~ [ 315s] test-policy-ns.c:359:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 315s] 359 | ASSERT_EXIT_ZERO(drop_privileges(65534, 65534)); [ 315s] | ^~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 315s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 315s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 315s] | ^~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 315s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 315s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 315s] | ^~~~~~~~~~~~ [ 315s] test-policy-ns.c:365:9: note: in expansion of macro 'ASSERT_RETURN' [ 315s] 365 | ASSERT_RETURN(0,<=,waitpid(pid, &status, 0)); [ 315s] | ^~~~~~~~~~~~~ [ 315s] test-policy-ns.c: In function 'kdbus_fork_test_by_id': [ 315s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 315s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 315s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 315s] | ^~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 315s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 315s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 315s] | ^~~~~~~~~~~~ [ 315s] test-policy-ns.c:273:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 315s] 273 | ASSERT_RETURN_VAL(pid,>=,0, pid); [ 315s] | ^~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 315s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 315s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 315s] | ^~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 315s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 315s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 315s] | ^~~~~~~~~~~~ [ 315s] test-policy-ns.c:278:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 315s] 278 | ASSERT_EXIT_ZERO(prctl(PR_SET_PDEATHSIG, SIGKILL)); [ 315s] | ^~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 315s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 315s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 315s] | ^~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 315s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 315s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 315s] | ^~~~~~~~~~~~ [ 315s] test-policy-ns.c:280:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 315s] 280 | ASSERT_EXIT_ZERO(drop_privileges(65534, 65534)); [ 315s] | ^~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 315s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 315s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 315s] | ^~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 315s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 315s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 315s] | ^~~~~~~~~~~~ [ 315s] test-policy-ns.c:282:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 315s] 282 | ASSERT_EXIT_NONZERO(conn_src = kdbus_hello(bus, 0, NULL, 0)); [ 315s] | ^~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 315s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 315s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 315s] | ^~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 315s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 315s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 315s] | ^~~~~~~~~~~~ [ 315s] test-policy-ns.c:284:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 315s] 284 | ASSERT_EXIT_ZERO(kdbus_add_match_empty(conn_src)); [ 315s] | ^~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 315s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 315s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 315s] | ^~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 315s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 315s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 315s] | ^~~~~~~~~~~~ [ 315s] test-policy-ns.c:291:17: note: in expansion of macro 'ASSERT_EXIT' [ 315s] 291 | ASSERT_EXIT(child_status,==,kdbus_msg_send(conn_src, NULL, cookie, 0, 0, 0, conn_db[0]->id)); [ 315s] | ^~~~~~~~~~~ [ 315s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 315s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 315s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 315s] | ^~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 315s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 315s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 315s] | ^~~~~~~~~~~~ [ 315s] test-policy-ns.c:316:17: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 315s] 316 | ASSERT_RETURN_VAL(ret,==,-ETIMEDOUT, TEST_ERR); [ 315s] | ^~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 315s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 315s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 315s] | ^~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 315s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 315s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 315s] | ^~~~~~~~~~~~ [ 315s] test-policy-ns.c:322:17: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 315s] 322 | ASSERT_RETURN_VAL(ret,==,0, ret); [ 315s] | ^~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 315s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 315s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 315s] | ^~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 315s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 315s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 315s] | ^~~~~~~~~~~~ [ 315s] test-policy-ns.c:329:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 315s] 329 | ASSERT_RETURN_VAL(ret,==,parent_status, TEST_ERR); [ 315s] | ^~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 315s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 315s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 315s] | ^~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 315s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 315s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 315s] | ^~~~~~~~~~~~ [ 315s] test-policy-ns.c:332:9: note: in expansion of macro 'ASSERT_ZERO' [ 315s] 332 | ASSERT_ZERO(kdbus_free(conn_db[0], offset)); [ 315s] | ^~~~~~~~~~~ [ 315s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 315s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 315s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 315s] | ^~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 315s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 315s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 315s] | ^~~~~~~~~~~~ [ 315s] test-policy-ns.c:336:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 315s] 336 | ASSERT_RETURN_VAL(ret,>=,0, ret); [ 315s] | ^~~~~~~~~~~~~~~~~ [ 315s] test-policy-ns.c: In function 'kdbus_clone_userns_test': [ 315s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 315s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 315s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 315s] | ^~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 315s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 315s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 315s] | ^~~~~~~~~~~~ [ 315s] test-policy-ns.c:470:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 315s] 470 | ASSERT_RETURN_VAL(pid,>=,0, -errno); [ 315s] | ^~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 315s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 315s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 315s] | ^~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 315s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 315s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 315s] | ^~~~~~~~~~~~ [ 315s] test-policy-ns.c:485:9: note: in expansion of macro 'ASSERT_RETURN' [ 315s] 485 | ASSERT_RETURN(ret,==,expected_status?-ETIMEDOUT:0); [ 315s] | ^~~~~~~~~~~~~ [ 315s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 315s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 315s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 315s] | ^~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 315s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 315s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 315s] | ^~~~~~~~~~~~ [ 315s] test-policy-ns.c:488:9: note: in expansion of macro 'ASSERT_RETURN' [ 315s] 488 | ASSERT_RETURN(ret,>=,0); [ 315s] | ^~~~~~~~~~~~~ [ 315s] test-policy-ns.c: In function '__kdbus_clone_userns_test': [ 315s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 315s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 315s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 315s] | ^~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 315s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 315s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 315s] | ^~~~~~~~~~~~ [ 315s] test-policy-ns.c:382:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 315s] 382 | ASSERT_RETURN_VAL(ret,==,0, ret); [ 315s] | ^~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 315s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 315s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 315s] | ^~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 315s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 315s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 315s] | ^~~~~~~~~~~~ [ 315s] test-policy-ns.c:398:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 315s] 398 | ASSERT_RETURN_VAL(ret,==,0, ret); [ 315s] | ^~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 315s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 315s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 315s] | ^~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 315s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 315s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 315s] | ^~~~~~~~~~~~ [ 315s] test-policy-ns.c:402:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 315s] 402 | ASSERT_RETURN_VAL(efd,>=,0, efd); [ 315s] | ^~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 315s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 315s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 315s] | ^~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 315s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 315s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 315s] | ^~~~~~~~~~~~ [ 315s] test-policy-ns.c:429:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 315s] 429 | ASSERT_EXIT_ZERO(prctl(PR_SET_PDEATHSIG, SIGKILL)); [ 315s] | ^~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 315s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 315s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 315s] | ^~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 315s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 315s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 315s] | ^~~~~~~~~~~~ [ 315s] test-policy-ns.c:431:17: note: in expansion of macro 'ASSERT_EXIT' [ 315s] 431 | ASSERT_EXIT(0,<=,eventfd_read(efd, &event_status)); [ 315s] | ^~~~~~~~~~~ [ 315s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 315s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 315s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 315s] | ^~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 315s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 315s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 315s] | ^~~~~~~~~~~~ [ 315s] test-policy-ns.c:432:17: note: in expansion of macro 'ASSERT_EXIT' [ 315s] 432 | ASSERT_EXIT(event_status,==,(eventfd_t)1); [ 315s] | ^~~~~~~~~~~ [ 315s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 315s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 315s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 315s] | ^~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 315s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 315s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 315s] | ^~~~~~~~~~~~ [ 315s] test-policy-ns.c:435:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 315s] 435 | ASSERT_EXIT_NONZERO(conn_src = kdbus_hello(bus, 0, NULL, 0)); [ 315s] | ^~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 315s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 315s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 315s] | ^~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 315s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 315s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 315s] | ^~~~~~~~~~~~ [ 315s] test-policy-ns.c:437:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 315s] 437 | ASSERT_EXIT_ZERO(kdbus_add_match_empty(conn_src)); [ 315s] | ^~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 315s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 315s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 315s] | ^~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 315s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 315s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 315s] | ^~~~~~~~~~~~ [ 315s] test-policy-ns.c:446:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 315s] 446 | ASSERT_RETURN_VAL(ret,==,0, ret); [ 315s] | ^~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 315s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 315s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 315s] | ^~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 315s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 315s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 315s] | ^~~~~~~~~~~~ [ 315s] test-policy-ns.c:450:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 315s] 450 | ASSERT_RETURN_VAL(ret,==,0, ret); [ 315s] | ^~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 315s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 315s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 315s] | ^~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 315s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 315s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 315s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 315s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 315s] | ^~~~~~~~~~~~ [ 315s] test-policy-ns.c:453:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 315s] 453 | ASSERT_RETURN_VAL(ret,>=,0, ret); [ 315s] | ^~~~~~~~~~~~~~~~~ [ 316s] cc -c test-policy-priv.c -o test-policy-priv.o -O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -I../../include/uapi/ -I../../samples/kdbus/ -std=gnu99 -Wno-error=shadow -DKBUILD_MODNAME=\"kdbus\" -D_GNU_SOURCE [ 316s] In file included from test-policy-priv.c:14: [ 316s] test-policy-priv.c: In function 'test_policy_priv': [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:566:9: note: in expansion of macro 'ASSERT_RETURN' [ 316s] 566 | ASSERT_RETURN(ret,>=,0); [ 316s] | ^~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:586:9: note: in expansion of macro 'ASSERT_NONZERO' [ 316s] 586 | ASSERT_NONZERO(conn = kdbus_hello(env->buspath, 0, NULL, 0)); [ 316s] | ^~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:594:9: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 594 | ASSERT_ZERO(test_priv_before_policy_upload(env)); [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 316s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 316s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 316s] | ^~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:601:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 316s] 601 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:601:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 316s] 601 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:607:17: note: in expansion of macro 'ASSERT_EXIT' [ 316s] 607 | ASSERT_EXIT(errno,==,EPERM); [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:601:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 316s] 601 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:608:17: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 608 | ASSERT_ZERO(holder); [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 316s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 316s] | ^~~~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:601:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 316s] 601 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 316s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 316s] | ^~~~~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:601:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 316s] 601 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:601:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 316s] 601 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:601:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 316s] 601 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:615:9: note: in expansion of macro 'ASSERT_NONZERO' [ 316s] 615 | ASSERT_NONZERO(conn_a = kdbus_hello_registrar(env->buspath, "com.example.a", NULL, 0, KDBUS_HELLO_POLICY_HOLDER)); [ 316s] | ^~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:616:9: note: in expansion of macro 'ASSERT_NONZERO' [ 316s] 616 | ASSERT_NONZERO(conn_b = kdbus_hello(env->buspath, 0, NULL, 0)); [ 316s] | ^~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:618:9: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 316s] 618 | ASSERT_EXIT_ZERO(kdbus_name_acquire(conn_b, "com.example.b", NULL)); [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:623:9: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 316s] 623 | ASSERT_EXIT_ZERO(kdbus_name_acquire(conn, "com.example.a", NULL)); [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 316s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 316s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 316s] | ^~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:632:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 632 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:144:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 316s] 144 | ASSERT_EXIT_NONZERO(_var_ = kdbus_hello(_bus_, 0, NULL, 0)); \ [ 316s] | ^~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:632:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 632 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:632:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 632 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:633:17: note: in expansion of macro 'ASSERT_EXIT' [ 316s] 633 | ASSERT_EXIT(0,ONTIZEN(==,!=),kdbus_name_acquire(unpriv, "com.example.a", NULL)); [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 316s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 316s] | ^~~~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:632:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 632 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 316s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 316s] | ^~~~~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:632:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 632 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:632:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 632 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:632:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 632 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 316s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 316s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 316s] | ^~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:652:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 652 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:144:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 316s] 144 | ASSERT_EXIT_NONZERO(_var_ = kdbus_hello(_bus_, 0, NULL, 0)); \ [ 316s] | ^~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:652:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 652 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:652:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 652 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:653:17: note: in expansion of macro 'ASSERT_EXIT' [ 316s] 653 | ASSERT_EXIT(-EOPNOTSUPP,==,kdbus_conn_update_policy(unpriv, "com.example.a", &access, 1)); [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 316s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 316s] | ^~~~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:652:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 652 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 316s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 316s] | ^~~~~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:652:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 652 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:652:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 652 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:652:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 652 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:656:9: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 656 | ASSERT_ZERO(kdbus_conn_update_policy(conn_a, "com.example.a", &access, 1)); [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 316s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 316s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 316s] | ^~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:658:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 658 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:144:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 316s] 144 | ASSERT_EXIT_NONZERO(_var_ = kdbus_hello(_bus_, 0, NULL, 0)); \ [ 316s] | ^~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:658:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 658 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:658:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 658 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:659:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 316s] 659 | ASSERT_EXIT_ZERO(kdbus_name_acquire(unpriv, "com.example.a", NULL)); [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 316s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 316s] | ^~~~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:658:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 658 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 316s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 316s] | ^~~~~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:658:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 658 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:658:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 658 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:658:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 658 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:673:9: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 673 | ASSERT_ZERO(kdbus_conn_update_policy(conn_a, "com.example.a", &access, 1)); [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 316s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 316s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 316s] | ^~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:675:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 675 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:144:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 316s] 144 | ASSERT_EXIT_NONZERO(_var_ = kdbus_hello(_bus_, 0, NULL, 0)); \ [ 316s] | ^~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:675:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 675 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:675:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 675 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:676:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 316s] 676 | ASSERT_EXIT_ZERO(kdbus_name_acquire(unpriv, "com.example.a", NULL)); [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 316s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 316s] | ^~~~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:675:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 675 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 316s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 316s] | ^~~~~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:675:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 675 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:675:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 675 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:675:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 675 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:685:9: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 685 | ASSERT_ZERO(kdbus_conn_update_policy(conn_a, "com.example.a", &access, 1)); [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 316s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 316s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 316s] | ^~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:687:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 687 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:144:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 316s] 144 | ASSERT_EXIT_NONZERO(_var_ = kdbus_hello(_bus_, 0, NULL, 0)); \ [ 316s] | ^~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:687:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 687 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:687:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 687 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:688:17: note: in expansion of macro 'ASSERT_EXIT' [ 316s] 688 | ASSERT_EXIT(0,ONTIZEN(==,!=),kdbus_name_acquire(unpriv, "com.example.a", NULL)); [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 316s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 316s] | ^~~~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:687:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 687 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 316s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 316s] | ^~~~~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:687:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 687 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:687:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 687 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:687:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 687 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:702:9: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 702 | ASSERT_ZERO(kdbus_conn_update_policy(conn_a, "com.example.a", &access, 1)); [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 316s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 316s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 316s] | ^~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:704:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 704 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:144:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 316s] 144 | ASSERT_EXIT_NONZERO(_var_ = kdbus_hello(_bus_, 0, NULL, 0)); \ [ 316s] | ^~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:704:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 704 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:704:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 704 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:705:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 316s] 705 | ASSERT_EXIT_ZERO(kdbus_name_acquire(unpriv, "com.example.a", NULL)); [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 316s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 316s] | ^~~~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:704:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 704 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 316s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 316s] | ^~~~~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:704:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 704 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:704:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 704 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:704:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 704 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:714:9: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 714 | ASSERT_ZERO(kdbus_conn_update_policy(conn_a, "com.example.a", &access, 1)); [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 316s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 316s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 316s] | ^~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:716:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 716 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:144:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 316s] 144 | ASSERT_EXIT_NONZERO(_var_ = kdbus_hello(_bus_, 0, NULL, 0)); \ [ 316s] | ^~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:716:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 716 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:716:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 716 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:717:17: note: in expansion of macro 'ASSERT_EXIT' [ 316s] 717 | ASSERT_EXIT(0,ONTIZEN(==,!=),kdbus_name_acquire(unpriv, "com.example.a", NULL)); [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 316s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 316s] | ^~~~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:716:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 716 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 316s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 316s] | ^~~~~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:716:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 716 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:716:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 716 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:716:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 716 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:749:9: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 749 | ASSERT_ZERO(kdbus_conn_update_policy(conn_a, "com.example.a", acc, num)); [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 316s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 316s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 316s] | ^~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:751:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 751 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:144:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 316s] 144 | ASSERT_EXIT_NONZERO(_var_ = kdbus_hello(_bus_, 0, NULL, 0)); \ [ 316s] | ^~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:751:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 751 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:751:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 751 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:752:17: note: in expansion of macro 'ASSERT_EXIT' [ 316s] 752 | ASSERT_EXIT(0,ONTIZEN(==,!=),kdbus_name_acquire(unpriv, "com.example.a", NULL)); [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 316s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 316s] | ^~~~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:751:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 751 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 316s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 316s] | ^~~~~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:751:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 751 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:751:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 751 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:751:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 751 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:789:9: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 789 | ASSERT_ZERO(kdbus_conn_update_policy(conn_a, "com.example.a", acc, num)); [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 316s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 316s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 316s] | ^~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:791:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 791 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:144:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 316s] 144 | ASSERT_EXIT_NONZERO(_var_ = kdbus_hello(_bus_, 0, NULL, 0)); \ [ 316s] | ^~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:791:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 791 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:791:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 791 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:792:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 316s] 792 | ASSERT_EXIT_ZERO(kdbus_name_acquire(unpriv, "com.example.a", NULL)); [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 316s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 316s] | ^~~~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:791:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 791 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 316s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 316s] | ^~~~~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:791:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 791 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:791:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 791 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:791:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 791 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:799:9: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 799 | ASSERT_ZERO(kdbus_conn_update_policy(conn_a, "com.example.a", NULL, 0)); [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:805:9: note: in expansion of macro 'ASSERT_NONZERO' [ 316s] 805 | ASSERT_NONZERO(conn = kdbus_hello(env->buspath, 0, NULL, 0)); [ 316s] | ^~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:807:9: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 316s] 807 | ASSERT_EXIT_ZERO(kdbus_msg_send(conn, "com.example.b", 0xdeadbeef, 0, 0, 0, 0)); [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:809:9: note: in expansion of macro 'ASSERT_EXIT' [ 316s] 809 | ASSERT_EXIT(0,<=,kdbus_msg_recv_poll(conn_b, 300, NULL, NULL)); [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 316s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 316s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 316s] | ^~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:817:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 817 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:144:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 316s] 144 | ASSERT_EXIT_NONZERO(_var_ = kdbus_hello(_bus_, 0, NULL, 0)); \ [ 316s] | ^~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:817:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 817 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:817:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 817 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:818:17: note: in expansion of macro 'ASSERT_EXIT' [ 316s] 818 | ASSERT_EXIT(ONTIZEN(0,-EPERM),==,kdbus_msg_send(unpriv, "com.example.b", 0xdeadbeef, 0, 0, 0, 0)); [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 316s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 316s] | ^~~~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:817:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 817 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 316s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 316s] | ^~~~~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:817:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 817 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:817:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 817 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:817:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 817 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:832:9: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 832 | ASSERT_ZERO(kdbus_conn_update_policy(conn_a, "com.example.c", &access, 1)); [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 316s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 316s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 316s] | ^~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:834:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 834 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:144:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 316s] 144 | ASSERT_EXIT_NONZERO(_var_ = kdbus_hello(_bus_, 0, NULL, 0)); \ [ 316s] | ^~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:834:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 834 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:834:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 834 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:837:17: note: in expansion of macro 'ASSERT_NONZERO' [ 316s] 837 | ASSERT_NONZERO(owner_ = kdbus_hello(env->buspath, 0, NULL, 0)); [ 316s] | ^~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:834:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 834 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:839:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 316s] 839 | ASSERT_EXIT_ZERO(kdbus_name_acquire(owner_, "com.example.c", NULL)); [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:834:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 834 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:841:17: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 841 | ASSERT_ZERO(kdbus_msg_send(unpriv, "com.example.c", 0xdeadbeef, 0, 0, 0, 0)); [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:834:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 834 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:842:17: note: in expansion of macro 'ASSERT_EXIT' [ 316s] 842 | ASSERT_EXIT(0,<=,kdbus_msg_recv_poll(owner_, 100, NULL, NULL)); [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 316s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 316s] | ^~~~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:834:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 834 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 316s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 316s] | ^~~~~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:834:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 834 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:834:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 834 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:834:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 834 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:858:9: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 858 | ASSERT_ZERO(kdbus_conn_update_policy(conn_a, "com.example.b", &access, 1)); [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 316s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 316s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 316s] | ^~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:860:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 860 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:144:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 316s] 144 | ASSERT_EXIT_NONZERO(_var_ = kdbus_hello(_bus_, 0, NULL, 0)); \ [ 316s] | ^~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:860:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 860 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:860:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 860 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:861:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 316s] 861 | ASSERT_EXIT_ZERO(kdbus_msg_send(unpriv, "com.example.b", 0xdeadbeef, 0, 0, 0, 0)); [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 316s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 316s] | ^~~~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:860:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 860 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 316s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 316s] | ^~~~~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:860:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 860 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:860:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 860 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:860:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 860 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:864:9: note: in expansion of macro 'ASSERT_EXIT' [ 316s] 864 | ASSERT_EXIT(0,<=,kdbus_msg_recv_poll(conn_b, 100, NULL, NULL)); [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:877:9: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 877 | ASSERT_ZERO(kdbus_conn_update_policy(conn_a, "com.example.b", &access, 1)); [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 316s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 316s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 316s] | ^~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:879:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 879 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:144:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 316s] 144 | ASSERT_EXIT_NONZERO(_var_ = kdbus_hello(_bus_, 0, NULL, 0)); \ [ 316s] | ^~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:879:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 879 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:879:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 879 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:880:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 316s] 880 | ASSERT_EXIT_ZERO(kdbus_msg_send(unpriv, "com.example.b", 0xdeadbeef, 0, 0, 0, 0)); [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 316s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 316s] | ^~~~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:879:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 879 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 316s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 316s] | ^~~~~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:879:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 879 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:879:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 879 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:879:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 879 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:883:9: note: in expansion of macro 'ASSERT_EXIT' [ 316s] 883 | ASSERT_EXIT(0,<=,kdbus_msg_recv_poll(conn_b, 100, NULL, NULL)); [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:896:9: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 896 | ASSERT_ZERO(kdbus_conn_update_policy(conn_a, "com.example.b", &access, 1)); [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 316s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 316s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 316s] | ^~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:898:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 898 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:144:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 316s] 144 | ASSERT_EXIT_NONZERO(_var_ = kdbus_hello(_bus_, 0, NULL, 0)); \ [ 316s] | ^~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:898:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 898 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:898:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 898 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:899:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 316s] 899 | ASSERT_EXIT_ZERO(kdbus_msg_send(unpriv, "com.example.b", 0xdeadbeef, 0, 0, 0, 0)); [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 316s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 316s] | ^~~~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:898:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 898 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 316s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 316s] | ^~~~~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:898:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 898 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:898:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 898 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:898:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 898 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:902:9: note: in expansion of macro 'ASSERT_EXIT' [ 316s] 902 | ASSERT_EXIT(0,<=,kdbus_msg_recv_poll(conn_b, 100, NULL, NULL)); [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:938:9: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 938 | ASSERT_ZERO(kdbus_conn_update_policy(conn_a, "com.example.b", acc, num)); [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 316s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 316s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 316s] | ^~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:940:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 940 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:144:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 316s] 144 | ASSERT_EXIT_NONZERO(_var_ = kdbus_hello(_bus_, 0, NULL, 0)); \ [ 316s] | ^~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:940:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 940 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:940:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 940 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:941:17: note: in expansion of macro 'ASSERT_EXIT' [ 316s] 941 | ASSERT_EXIT(ONTIZEN(0,-EPERM),==,kdbus_msg_send(unpriv, "com.example.b", 0xdeadbeef, 0, 0, 0, 0)); [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 316s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 316s] | ^~~~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:940:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 940 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 316s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 316s] | ^~~~~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:940:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 940 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:940:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 940 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:940:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 940 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:955:9: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 955 | ASSERT_ZERO(kdbus_conn_update_policy(conn_a, "com.example.b", &access, 1)); [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 316s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 316s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 316s] | ^~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:957:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 957 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:144:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 316s] 144 | ASSERT_EXIT_NONZERO(_var_ = kdbus_hello(_bus_, 0, NULL, 0)); \ [ 316s] | ^~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:957:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 957 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:957:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 957 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:958:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 316s] 958 | ASSERT_EXIT_ZERO(kdbus_msg_send(unpriv, "com.example.b", 0xdeadbeef, 0, 0, 0, 0)); [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 316s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 316s] | ^~~~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:957:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 957 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 316s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 316s] | ^~~~~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:957:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 957 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:957:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 957 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:957:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 957 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:961:9: note: in expansion of macro 'ASSERT_EXIT' [ 316s] 961 | ASSERT_EXIT(0,<=,kdbus_msg_recv_poll(conn_b, 100, NULL, NULL)); [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:974:9: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 974 | ASSERT_ZERO(kdbus_conn_update_policy(conn_a, "com.example.b", &access, 1)); [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 316s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 316s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 316s] | ^~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:976:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 976 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:144:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 316s] 144 | ASSERT_EXIT_NONZERO(_var_ = kdbus_hello(_bus_, 0, NULL, 0)); \ [ 316s] | ^~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:976:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 976 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:976:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 976 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:977:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 316s] 977 | ASSERT_EXIT_ZERO(kdbus_msg_send(unpriv, "com.example.b", 0xdeadbeef, 0, 0, 0, 0)); [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:976:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 976 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:979:17: note: in expansion of macro 'ASSERT_EXIT' [ 316s] 979 | ASSERT_EXIT(0,<=,kdbus_msg_recv_poll(conn_b, 100, NULL, NULL)); [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:976:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 976 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:981:17: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 981 | ASSERT_ZERO(kdbus_conn_update_policy(conn_a, "com.example.b", NULL, 0)); [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:976:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 976 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:983:17: note: in expansion of macro 'ASSERT_EXIT' [ 316s] 983 | ASSERT_EXIT(ONTIZEN(0,-EPERM),==,kdbus_msg_send(unpriv, "com.example.b", 0xdeadbeef, 0, 0, 0, 0)); [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 316s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 316s] | ^~~~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:976:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 976 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 316s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 316s] | ^~~~~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:976:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 976 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:976:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 976 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:976:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 976 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:997:9: note: in expansion of macro 'ASSERT_NONZERO' [ 316s] 997 | ASSERT_NONZERO(conn = kdbus_hello_registrar(env->buspath, "com.example.c", NULL, 0, KDBUS_HELLO_POLICY_HOLDER)); [ 316s] | ^~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:999:9: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 999 | ASSERT_ZERO(kdbus_conn_update_policy(conn, "com.example.c", &access, 1)); [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:1001:9: note: in expansion of macro 'ASSERT_NONZERO' [ 316s] 1001 | ASSERT_NONZERO(owner = kdbus_hello(env->buspath, 0, NULL, 0)); [ 316s] | ^~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:1003:9: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 1003 | ASSERT_ZERO(kdbus_name_acquire(owner, "com.example.c", NULL)); [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 316s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 316s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 316s] | ^~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:1012:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 1012 | RUN_UNPRIVILEGED_CTR(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:1038:56: note: in expansion of macro 'TEST_POLICY_THING' [ 316s] 1038 | #define TEST_POLICY_THING_EXPAND_MACRO(SHADOW_COUNTER) TEST_POLICY_THING(SHADOW_COUNTER) [ 316s] | ^~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:1040:9: note: in expansion of macro 'TEST_POLICY_THING_EXPAND_MACRO' [ 316s] 1040 | TEST_POLICY_THING_EXPAND_MACRO(__COUNTER__); [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] test-policy-priv.c:1012:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 1012 | RUN_UNPRIVILEGED_CTR(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:1018:17: note: in expansion of macro 'ASSERT_RETURN' [ 316s] 1018 | ASSERT_RETURN(errno,==,EINTR); \ [ 316s] | ^~~~~~~~~~~~~ [ 316s] test-policy-priv.c:1038:56: note: in expansion of macro 'TEST_POLICY_THING' [ 316s] 1038 | #define TEST_POLICY_THING_EXPAND_MACRO(SHADOW_COUNTER) TEST_POLICY_THING(SHADOW_COUNTER) [ 316s] | ^~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:1040:9: note: in expansion of macro 'TEST_POLICY_THING_EXPAND_MACRO' [ 316s] 1040 | TEST_POLICY_THING_EXPAND_MACRO(__COUNTER__); [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] test-policy-priv.c:1012:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 1012 | RUN_UNPRIVILEGED_CTR(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:1019:17: note: in expansion of macro 'ASSERT_RETURN' [ 316s] 1019 | ASSERT_RETURN(ret,==,-1); \ [ 316s] | ^~~~~~~~~~~~~ [ 316s] test-policy-priv.c:1038:56: note: in expansion of macro 'TEST_POLICY_THING' [ 316s] 1038 | #define TEST_POLICY_THING_EXPAND_MACRO(SHADOW_COUNTER) TEST_POLICY_THING(SHADOW_COUNTER) [ 316s] | ^~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:1040:9: note: in expansion of macro 'TEST_POLICY_THING_EXPAND_MACRO' [ 316s] 1040 | TEST_POLICY_THING_EXPAND_MACRO(__COUNTER__); [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] test-policy-priv.c:1012:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 1012 | RUN_UNPRIVILEGED_CTR(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:1020:17: note: in expansion of macro 'ASSERT_NONZERO' [ 316s] 1020 | ASSERT_NONZERO(unpriv = kdbus_hello(env->buspath, 0, NULL, 0)); \ [ 316s] | ^~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:1038:56: note: in expansion of macro 'TEST_POLICY_THING' [ 316s] 1038 | #define TEST_POLICY_THING_EXPAND_MACRO(SHADOW_COUNTER) TEST_POLICY_THING(SHADOW_COUNTER) [ 316s] | ^~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:1040:9: note: in expansion of macro 'TEST_POLICY_THING_EXPAND_MACRO' [ 316s] 1040 | TEST_POLICY_THING_EXPAND_MACRO(__COUNTER__); [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] test-policy-priv.c:1012:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 1012 | RUN_UNPRIVILEGED_CTR(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:1021:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 316s] 1021 | ASSERT_EXIT_ZERO(kdbus_msg_send(unpriv, "com.example.c", 0xdeadbeef, 0, 0, 0, 0)); \ [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:1038:56: note: in expansion of macro 'TEST_POLICY_THING' [ 316s] 1038 | #define TEST_POLICY_THING_EXPAND_MACRO(SHADOW_COUNTER) TEST_POLICY_THING(SHADOW_COUNTER) [ 316s] | ^~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:1040:9: note: in expansion of macro 'TEST_POLICY_THING_EXPAND_MACRO' [ 316s] 1040 | TEST_POLICY_THING_EXPAND_MACRO(__COUNTER__); [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] test-policy-priv.c:1012:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 1012 | RUN_UNPRIVILEGED_CTR(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:1022:17: note: in expansion of macro 'ASSERT_EXIT' [ 316s] 1022 | ASSERT_EXIT(0,<=,kdbus_msg_recv_poll(owner, 100, NULL, NULL)); \ [ 316s] | ^~~~~~~~~~~ [ 316s] test-policy-priv.c:1038:56: note: in expansion of macro 'TEST_POLICY_THING' [ 316s] 1038 | #define TEST_POLICY_THING_EXPAND_MACRO(SHADOW_COUNTER) TEST_POLICY_THING(SHADOW_COUNTER) [ 316s] | ^~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:1040:9: note: in expansion of macro 'TEST_POLICY_THING_EXPAND_MACRO' [ 316s] 1040 | TEST_POLICY_THING_EXPAND_MACRO(__COUNTER__); [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] test-policy-priv.c:1012:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 1012 | RUN_UNPRIVILEGED_CTR(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:1027:17: note: in expansion of macro 'ASSERT_EXIT' [ 316s] 1027 | ASSERT_EXIT(ONTIZEN(0,-EPERM),==,kdbus_msg_send(unpriv, "com.example.c", 0xdeadbeef, 0, 0, 0, 0)); \ [ 316s] | ^~~~~~~~~~~ [ 316s] test-policy-priv.c:1038:56: note: in expansion of macro 'TEST_POLICY_THING' [ 316s] 1038 | #define TEST_POLICY_THING_EXPAND_MACRO(SHADOW_COUNTER) TEST_POLICY_THING(SHADOW_COUNTER) [ 316s] | ^~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:1040:9: note: in expansion of macro 'TEST_POLICY_THING_EXPAND_MACRO' [ 316s] 1040 | TEST_POLICY_THING_EXPAND_MACRO(__COUNTER__); [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 316s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 316s] | ^~~~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] test-policy-priv.c:1012:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 1012 | RUN_UNPRIVILEGED_CTR(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:1038:56: note: in expansion of macro 'TEST_POLICY_THING' [ 316s] 1038 | #define TEST_POLICY_THING_EXPAND_MACRO(SHADOW_COUNTER) TEST_POLICY_THING(SHADOW_COUNTER) [ 316s] | ^~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:1040:9: note: in expansion of macro 'TEST_POLICY_THING_EXPAND_MACRO' [ 316s] 1040 | TEST_POLICY_THING_EXPAND_MACRO(__COUNTER__); [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 316s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 316s] | ^~~~~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] test-policy-priv.c:1012:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 1012 | RUN_UNPRIVILEGED_CTR(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:1038:56: note: in expansion of macro 'TEST_POLICY_THING' [ 316s] 1038 | #define TEST_POLICY_THING_EXPAND_MACRO(SHADOW_COUNTER) TEST_POLICY_THING(SHADOW_COUNTER) [ 316s] | ^~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:1040:9: note: in expansion of macro 'TEST_POLICY_THING_EXPAND_MACRO' [ 316s] 1040 | TEST_POLICY_THING_EXPAND_MACRO(__COUNTER__); [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] test-policy-priv.c:1012:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 1012 | RUN_UNPRIVILEGED_CTR(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:1038:56: note: in expansion of macro 'TEST_POLICY_THING' [ 316s] 1038 | #define TEST_POLICY_THING_EXPAND_MACRO(SHADOW_COUNTER) TEST_POLICY_THING(SHADOW_COUNTER) [ 316s] | ^~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:1040:9: note: in expansion of macro 'TEST_POLICY_THING_EXPAND_MACRO' [ 316s] 1040 | TEST_POLICY_THING_EXPAND_MACRO(__COUNTER__); [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] test-policy-priv.c:1012:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 1012 | RUN_UNPRIVILEGED_CTR(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:1038:56: note: in expansion of macro 'TEST_POLICY_THING' [ 316s] 1038 | #define TEST_POLICY_THING_EXPAND_MACRO(SHADOW_COUNTER) TEST_POLICY_THING(SHADOW_COUNTER) [ 316s] | ^~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:1040:9: note: in expansion of macro 'TEST_POLICY_THING_EXPAND_MACRO' [ 316s] 1040 | TEST_POLICY_THING_EXPAND_MACRO(__COUNTER__); [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:1049:9: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 1049 | ASSERT_ZERO(test_broadcast_after_policy_upload(env)); [ 316s] | ^~~~~~~~~~~ [ 316s] test-policy-priv.c: In function 'test_priv_before_policy_upload': [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:170:9: note: in expansion of macro 'ASSERT_NONZERO' [ 316s] 170 | ASSERT_NONZERO(conn = kdbus_hello(env->buspath, 0, NULL, 0)); [ 316s] | ^~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 316s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 316s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 316s] | ^~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:177:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 177 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:144:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 316s] 144 | ASSERT_EXIT_NONZERO(_var_ = kdbus_hello(_bus_, 0, NULL, 0)); \ [ 316s] | ^~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:177:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 177 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:177:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 177 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:178:17: note: in expansion of macro 'ASSERT_EXIT' [ 316s] 178 | ASSERT_EXIT(0,ONTIZEN(==,>),kdbus_name_acquire(unpriv, "com.example.a", NULL)); [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 316s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 316s] | ^~~~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:177:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 177 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 316s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 316s] | ^~~~~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:177:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 177 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:177:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 177 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:177:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 177 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:187:9: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 187 | ASSERT_ZERO(test_policy_priv_by_id(env->buspath, conn, -ETIMEDOUT, -EPERM)); [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:190:9: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 190 | ASSERT_ZERO(kdbus_add_match_empty(conn)); [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 316s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 316s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 316s] | ^~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:196:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 196 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:144:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 316s] 144 | ASSERT_EXIT_NONZERO(_var_ = kdbus_hello(_bus_, 0, NULL, 0)); \ [ 316s] | ^~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:196:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 196 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:196:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 196 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:197:17: note: in expansion of macro 'ASSERT_EXIT' [ 316s] 197 | ASSERT_EXIT(-ENOTUNIQ,==,kdbus_msg_send(unpriv, NULL, 0xdeadbeef, KDBUS_MSG_EXPECT_REPLY, 5000000000ULL, 0, KDBUS_DST_ID_BROADCAST)); [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 316s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 316s] | ^~~~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:196:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 196 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 316s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 316s] | ^~~~~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:196:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 196 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:196:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 196 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:196:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 196 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:216:9: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 216 | ASSERT_ZERO(test_policy_priv_by_broadcast(env->buspath, conn, DO_NOT_DROP, 0, -ETIMEDOUT)); [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:226:9: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 226 | ASSERT_ZERO(test_policy_priv_by_broadcast(env->buspath, NULL, DROP_SAME_UNPRIV, 0, 0)); [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:235:9: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 235 | ASSERT_ZERO(test_policy_priv_by_broadcast(env->buspath, NULL, DROP_OTHER_UNPRIV, -ETIMEDOUT, -ETIMEDOUT)); [ 316s] | ^~~~~~~~~~~ [ 316s] test-policy-priv.c: In function 'test_policy_priv_by_id': [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:34:9: note: in expansion of macro 'ASSERT_NONZERO' [ 316s] 34 | ASSERT_NONZERO(conn_dst); [ 316s] | ^~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 316s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 316s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 316s] | ^~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:36:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 36 | RUN_UNPRIVILEGED_CONN(unpriv, bus, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:144:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 316s] 144 | ASSERT_EXIT_NONZERO(_var_ = kdbus_hello(_bus_, 0, NULL, 0)); \ [ 316s] | ^~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:36:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 36 | RUN_UNPRIVILEGED_CONN(unpriv, bus, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:36:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 36 | RUN_UNPRIVILEGED_CONN(unpriv, bus, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:37:17: note: in expansion of macro 'ASSERT_EXIT' [ 316s] 37 | ASSERT_EXIT(child_status,==,kdbus_msg_send(unpriv, NULL, expected_cookie, 0, 0, 0, conn_dst->id)); [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 316s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 316s] | ^~~~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:36:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 36 | RUN_UNPRIVILEGED_CONN(unpriv, bus, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 316s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 316s] | ^~~~~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:36:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 36 | RUN_UNPRIVILEGED_CONN(unpriv, bus, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:36:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 36 | RUN_UNPRIVILEGED_CONN(unpriv, bus, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:36:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 36 | RUN_UNPRIVILEGED_CONN(unpriv, bus, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:40:9: note: in expansion of macro 'ASSERT_RETURN' [ 316s] 40 | ASSERT_RETURN(parent_status,==,kdbus_msg_recv_poll(conn_dst, 300, NULL, NULL)); [ 316s] | ^~~~~~~~~~~~~ [ 316s] test-policy-priv.c: In function 'test_policy_priv_by_broadcast': [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 316s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:74:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 316s] 74 | ASSERT_RETURN_VAL(efd,>=,0, efd); [ 316s] | ^~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 316s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 316s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 316s] | ^~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 316s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 316s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:79:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 316s] 79 | ASSERT_EXIT_NONZERO(child = kdbus_hello(bus, 0, NULL, 0)); [ 316s] | ^~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 316s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:81:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 316s] 81 | ASSERT_EXIT_ZERO(kdbus_add_match_empty(child)); [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 316s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:84:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 316s] 84 | ASSERT_EXIT_ZERO(eventfd_write(efd, 1)); [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 316s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:87:17: note: in expansion of macro 'ASSERT_EXIT' [ 316s] 87 | ASSERT_EXIT(child_status,==,kdbus_msg_recv_poll(child, 500, &msg, NULL)); [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 316s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:94:25: note: in expansion of macro 'ASSERT_EXIT' [ 316s] 94 | ASSERT_EXIT(expected_cookie,==,msg->cookie); [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 316s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 316s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:94:25: note: in expansion of macro 'ASSERT_EXIT' [ 316s] 94 | ASSERT_EXIT(expected_cookie,==,msg->cookie); [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 316s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:99:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 316s] 99 | ASSERT_EXIT_ZERO(kdbus_msg_send(child, NULL, expected_cookie + 1, 0, 0, 0, KDBUS_DST_ID_BROADCAST)); [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 316s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:124:25: note: in expansion of macro 'ASSERT_NONZERO' [ 316s] 124 | ASSERT_NONZERO(child_2); [ 316s] | ^~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 316s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:126:25: note: in expansion of macro 'ASSERT_RETURN' [ 316s] 126 | ASSERT_RETURN(0,<=,eventfd_read(efd, &event_status)); [ 316s] | ^~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 316s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:127:25: note: in expansion of macro 'ASSERT_RETURN' [ 316s] 127 | ASSERT_RETURN(event_status,==,(eventfd_t)1); [ 316s] | ^~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 316s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:129:25: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 129 | ASSERT_ZERO(kdbus_msg_send(child_2, NULL, expected_cookie, 0, 0, 0, KDBUS_DST_ID_BROADCAST)); [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 316s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:109:33: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 109 | ASSERT_ZERO(got_own_broadcast);\ [ 316s] | ^~~~~~~~~~~ [ 316s] test-policy-priv.c:131:25: note: in expansion of macro 'RECEIVE_FROM_PARENT' [ 316s] 131 | RECEIVE_FROM_PARENT(); [ 316s] | ^~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 316s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:114:25: note: in expansion of macro 'ASSERT_RETURN' [ 316s] 114 | ASSERT_RETURN(parent_status,==,ret);\ [ 316s] | ^~~~~~~~~~~~~ [ 316s] test-policy-priv.c:131:25: note: in expansion of macro 'RECEIVE_FROM_PARENT' [ 316s] 131 | RECEIVE_FROM_PARENT(); [ 316s] | ^~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 316s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 316s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:117:33: note: in expansion of macro 'ASSERT_RETURN' [ 316s] 117 | ASSERT_RETURN(msg->cookie,==,expected_cookie + 1);\ [ 316s] | ^~~~~~~~~~~~~ [ 316s] test-policy-priv.c:131:25: note: in expansion of macro 'RECEIVE_FROM_PARENT' [ 316s] 131 | RECEIVE_FROM_PARENT(); [ 316s] | ^~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 316s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:117:33: note: in expansion of macro 'ASSERT_RETURN' [ 316s] 117 | ASSERT_RETURN(msg->cookie,==,expected_cookie + 1);\ [ 316s] | ^~~~~~~~~~~~~ [ 316s] test-policy-priv.c:131:25: note: in expansion of macro 'RECEIVE_FROM_PARENT' [ 316s] 131 | RECEIVE_FROM_PARENT(); [ 316s] | ^~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 316s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 316s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 316s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 316s] | ^~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:137:25: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 316s] 137 | RUN_UNPRIVILEGED(second_uid, second_gid, ({ [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 316s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:137:25: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 316s] 137 | RUN_UNPRIVILEGED(second_uid, second_gid, ({ [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:138:33: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 316s] 138 | ASSERT_EXIT_NONZERO(child_2 = kdbus_hello(bus, 0, NULL, 0)); [ 316s] | ^~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 316s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:137:25: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 316s] 137 | RUN_UNPRIVILEGED(second_uid, second_gid, ({ [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:140:33: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 316s] 140 | ASSERT_EXIT_ZERO(kdbus_add_match_empty(child_2)); [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 316s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:137:25: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 316s] 137 | RUN_UNPRIVILEGED(second_uid, second_gid, ({ [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:142:33: note: in expansion of macro 'ASSERT_EXIT' [ 316s] 142 | ASSERT_EXIT(0,<=,eventfd_read(efd, &event_status)); [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 316s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:137:25: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 316s] 137 | RUN_UNPRIVILEGED(second_uid, second_gid, ({ [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:143:33: note: in expansion of macro 'ASSERT_EXIT' [ 316s] 143 | ASSERT_EXIT(event_status,==,(eventfd_t)1); [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 316s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:137:25: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 316s] 137 | RUN_UNPRIVILEGED(second_uid, second_gid, ({ [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:145:33: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 316s] 145 | ASSERT_EXIT_ZERO(kdbus_msg_send(child_2, NULL, expected_cookie, 0, 0, 0, KDBUS_DST_ID_BROADCAST)); [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 316s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:137:25: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 316s] 137 | RUN_UNPRIVILEGED(second_uid, second_gid, ({ [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:109:33: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 109 | ASSERT_ZERO(got_own_broadcast);\ [ 316s] | ^~~~~~~~~~~ [ 316s] test-policy-priv.c:147:33: note: in expansion of macro 'RECEIVE_FROM_PARENT' [ 316s] 147 | RECEIVE_FROM_PARENT(); [ 316s] | ^~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 316s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:137:25: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 316s] 137 | RUN_UNPRIVILEGED(second_uid, second_gid, ({ [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:114:25: note: in expansion of macro 'ASSERT_RETURN' [ 316s] 114 | ASSERT_RETURN(parent_status,==,ret);\ [ 316s] | ^~~~~~~~~~~~~ [ 316s] test-policy-priv.c:147:33: note: in expansion of macro 'RECEIVE_FROM_PARENT' [ 316s] 147 | RECEIVE_FROM_PARENT(); [ 316s] | ^~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 316s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 316s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:137:25: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 316s] 137 | RUN_UNPRIVILEGED(second_uid, second_gid, ({ [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:117:33: note: in expansion of macro 'ASSERT_RETURN' [ 316s] 117 | ASSERT_RETURN(msg->cookie,==,expected_cookie + 1);\ [ 316s] | ^~~~~~~~~~~~~ [ 316s] test-policy-priv.c:147:33: note: in expansion of macro 'RECEIVE_FROM_PARENT' [ 316s] 147 | RECEIVE_FROM_PARENT(); [ 316s] | ^~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 316s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:137:25: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 316s] 137 | RUN_UNPRIVILEGED(second_uid, second_gid, ({ [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:117:33: note: in expansion of macro 'ASSERT_RETURN' [ 316s] 117 | ASSERT_RETURN(msg->cookie,==,expected_cookie + 1);\ [ 316s] | ^~~~~~~~~~~~~ [ 316s] test-policy-priv.c:147:33: note: in expansion of macro 'RECEIVE_FROM_PARENT' [ 316s] 147 | RECEIVE_FROM_PARENT(); [ 316s] | ^~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 316s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 316s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 316s] | ^~~~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:137:25: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 316s] 137 | RUN_UNPRIVILEGED(second_uid, second_gid, ({ [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 316s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 316s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 316s] | ^~~~~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:137:25: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 316s] 137 | RUN_UNPRIVILEGED(second_uid, second_gid, ({ [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 316s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:137:25: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 316s] 137 | RUN_UNPRIVILEGED(second_uid, second_gid, ({ [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 316s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:137:25: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 316s] 137 | RUN_UNPRIVILEGED(second_uid, second_gid, ({ [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 316s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 316s] | ^~~~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 316s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 316s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 316s] | ^~~~~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 316s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 316s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:76:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 316s] 76 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_GID, ({ [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c: In function 'test_broadcast_after_policy_upload': [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:252:9: note: in expansion of macro 'ASSERT_NONZERO' [ 316s] 252 | ASSERT_NONZERO(owner_a = kdbus_hello(env->buspath, 0, NULL, 0)); [ 316s] | ^~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:254:9: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 316s] 254 | ASSERT_EXIT_ZERO(kdbus_name_acquire(owner_a, "com.example.broadcastA", NULL)); [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:263:9: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 263 | ASSERT_ZERO(test_policy_priv_by_id(env->buspath, owner_a, -ETIMEDOUT, -EPERM)); [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:276:9: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 276 | ASSERT_ZERO(test_policy_priv_by_broadcast(env->buspath, owner_a, DO_NOT_DROP, -ETIMEDOUT, -ETIMEDOUT)); [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:279:9: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 279 | ASSERT_ZERO(kdbus_add_match_empty(owner_a)); [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:287:9: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 287 | ASSERT_ZERO(test_policy_priv_by_broadcast(env->buspath, owner_a, DO_NOT_DROP, 0, -ETIMEDOUT)); [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:294:9: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 294 | ASSERT_ZERO(test_policy_priv_by_broadcast(env->buspath, NULL, DROP_SAME_UNPRIV, 0, 0)); [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:303:9: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 303 | ASSERT_ZERO(test_policy_priv_by_broadcast(env->buspath, NULL, DROP_OTHER_UNPRIV, -ETIMEDOUT, -ETIMEDOUT)); [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:311:9: note: in expansion of macro 'ASSERT_NONZERO' [ 316s] 311 | ASSERT_NONZERO(holder_a = kdbus_hello_registrar(env->buspath, "com.example.broadcastA", &access, 1, KDBUS_HELLO_POLICY_HOLDER)); [ 316s] | ^~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:312:9: note: in expansion of macro 'ASSERT_NONZERO' [ 316s] 312 | ASSERT_NONZERO(holder_b = kdbus_hello_registrar(env->buspath, "com.example.broadcastB", &access, 1, KDBUS_HELLO_POLICY_HOLDER)); [ 316s] | ^~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:317:9: note: in expansion of macro 'ASSERT_NONZERO' [ 316s] 317 | ASSERT_NONZERO(owner_a = kdbus_hello(env->buspath, 0, NULL, 0)); [ 316s] | ^~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:320:9: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 320 | ASSERT_ZERO(kdbus_add_match_empty(owner_a)); [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:322:9: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 316s] 322 | ASSERT_EXIT_ZERO(kdbus_name_acquire(owner_a, "com.example.broadcastA", NULL)); [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:324:9: note: in expansion of macro 'ASSERT_NONZERO' [ 316s] 324 | ASSERT_NONZERO(owner_b = kdbus_hello(env->buspath, 0, NULL, 0)); [ 316s] | ^~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:326:9: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 316s] 326 | ASSERT_EXIT_ZERO(kdbus_name_acquire(owner_b, "com.example.broadcastB", NULL)); [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:329:9: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 329 | ASSERT_ZERO(kdbus_add_match_empty(owner_b)); [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:340:9: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 340 | ASSERT_ZERO(kdbus_msg_send(owner_a, NULL, expected_cookie, 0, 0, 0, KDBUS_DST_ID_BROADCAST)); [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:342:9: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 342 | ASSERT_ZERO(kdbus_msg_recv_poll(owner_b, 100, &msg, NULL)); [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 316s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:343:9: note: in expansion of macro 'ASSERT_RETURN' [ 316s] 343 | ASSERT_RETURN(msg->cookie,==,expected_cookie); [ 316s] | ^~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:343:9: note: in expansion of macro 'ASSERT_RETURN' [ 316s] 343 | ASSERT_RETURN(msg->cookie,==,expected_cookie); [ 316s] | ^~~~~~~~~~~~~ [ 316s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 316s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:345:9: note: in expansion of macro 'ASSERT_RETURN' [ 316s] 345 | ASSERT_RETURN(msg->src_id,==,owner_a->id); [ 316s] | ^~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:345:9: note: in expansion of macro 'ASSERT_RETURN' [ 316s] 345 | ASSERT_RETURN(msg->src_id,==,owner_a->id); [ 316s] | ^~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:349:9: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 349 | ASSERT_ZERO(kdbus_msg_recv_poll(owner_a, 100, &msg, NULL)); [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 316s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:350:9: note: in expansion of macro 'ASSERT_RETURN' [ 316s] 350 | ASSERT_RETURN(msg->cookie,==,expected_cookie); [ 316s] | ^~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:350:9: note: in expansion of macro 'ASSERT_RETURN' [ 316s] 350 | ASSERT_RETURN(msg->cookie,==,expected_cookie); [ 316s] | ^~~~~~~~~~~~~ [ 316s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 316s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:352:9: note: in expansion of macro 'ASSERT_RETURN' [ 316s] 352 | ASSERT_RETURN(msg->src_id,==,owner_a->id); [ 316s] | ^~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:352:9: note: in expansion of macro 'ASSERT_RETURN' [ 316s] 352 | ASSERT_RETURN(msg->src_id,==,owner_a->id); [ 316s] | ^~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:356:9: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 316s] 356 | ASSERT_EXIT_ZERO(kdbus_name_release(owner_b, "com.example.broadcastB")); [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:367:9: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 367 | ASSERT_ZERO(kdbus_conn_update_policy(holder_b, "com.example.broadcastB", &access, 1)); [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 316s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:398:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 316s] 398 | ASSERT_RETURN_VAL(efd,>=,0, efd); [ 316s] | ^~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 316s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 316s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 316s] | ^~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:400:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 316s] 400 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:400:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 316s] 400 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:404:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 316s] 404 | ASSERT_EXIT_NONZERO(unpriv_owner = kdbus_hello(env->buspath, 0, NULL, 0)); [ 316s] | ^~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:400:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 316s] 400 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:405:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 316s] 405 | ASSERT_EXIT_NONZERO(unpriv_a = kdbus_hello(env->buspath, 0, NULL, 0)); [ 316s] | ^~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:400:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 316s] 400 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:406:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 316s] 406 | ASSERT_EXIT_NONZERO(unpriv_b = kdbus_hello(env->buspath, 0, NULL, 0)); [ 316s] | ^~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:400:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 316s] 400 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:408:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 316s] 408 | ASSERT_EXIT_ZERO(kdbus_name_acquire(unpriv_owner, "com.example.broadcastB", NULL)); [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:400:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 316s] 400 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:410:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 316s] 410 | ASSERT_EXIT_ZERO(kdbus_add_match_empty(unpriv_a)); [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:400:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 316s] 400 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:413:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 316s] 413 | ASSERT_EXIT_ZERO(eventfd_write(efd, 1)); [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:400:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 316s] 400 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:419:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 316s] 419 | ASSERT_EXIT_ZERO(kdbus_msg_send(unpriv_owner, NULL, expected_cookie, 0, 0, 0, KDBUS_DST_ID_BROADCAST)); [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:400:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 316s] 400 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:425:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 316s] 425 | ASSERT_EXIT_ZERO(kdbus_msg_recv_poll(unpriv_a, 300, &msg, NULL)); [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 316s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:400:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 316s] 400 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:426:17: note: in expansion of macro 'ASSERT_EXIT' [ 316s] 426 | ASSERT_EXIT(msg->cookie,==,expected_cookie); [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:400:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 316s] 400 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:426:17: note: in expansion of macro 'ASSERT_EXIT' [ 316s] 426 | ASSERT_EXIT(msg->cookie,==,expected_cookie); [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:400:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 316s] 400 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:432:17: note: in expansion of macro 'ASSERT_EXIT' [ 316s] 432 | ASSERT_EXIT(-ETIMEDOUT,==,kdbus_msg_recv_poll(unpriv_b, 300, NULL, NULL)); [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:400:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 316s] 400 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:435:17: note: in expansion of macro 'ASSERT_RETURN' [ 316s] 435 | ASSERT_RETURN(0,<=,eventfd_read(efd, &event_status)); [ 316s] | ^~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:400:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 316s] 400 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:436:17: note: in expansion of macro 'ASSERT_RETURN' [ 316s] 436 | ASSERT_RETURN(event_status,==,(eventfd_t)1); [ 316s] | ^~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:400:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 316s] 400 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:443:17: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 443 | ASSERT_ZERO(kdbus_msg_recv_poll(owner_a, 300, &msg, NULL)); [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 316s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:400:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 316s] 400 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:446:17: note: in expansion of macro 'ASSERT_RETURN' [ 316s] 446 | ASSERT_RETURN(msg->cookie,==,expected_cookie); [ 316s] | ^~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:400:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 316s] 400 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:446:17: note: in expansion of macro 'ASSERT_RETURN' [ 316s] 446 | ASSERT_RETURN(msg->cookie,==,expected_cookie); [ 316s] | ^~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:400:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 316s] 400 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:454:17: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 454 | ASSERT_ZERO(kdbus_msg_recv_poll(owner_b, 300, &msg, NULL)); [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 316s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:400:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 316s] 400 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:457:17: note: in expansion of macro 'ASSERT_RETURN' [ 316s] 457 | ASSERT_RETURN(msg->cookie,==,expected_cookie); [ 316s] | ^~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:400:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 316s] 400 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:457:17: note: in expansion of macro 'ASSERT_RETURN' [ 316s] 457 | ASSERT_RETURN(msg->cookie,==,expected_cookie); [ 316s] | ^~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 316s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 316s] | ^~~~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:400:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 316s] 400 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 316s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 316s] | ^~~~~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:400:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 316s] 400 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:400:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 316s] 400 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:139:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 139 | RUN_UNPRIVILEGED_EXPAND_MACROS(child_uid, child_gid, _child_, _parent_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:400:9: note: in expansion of macro 'RUN_UNPRIVILEGED' [ 316s] 400 | RUN_UNPRIVILEGED(UNPRIV_UID, UNPRIV_UID, ({ [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:472:9: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 472 | ASSERT_ZERO(test_policy_priv_by_broadcast(env->buspath, NULL, DROP_OTHER_UNPRIV, -ETIMEDOUT, -ETIMEDOUT)); [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:475:9: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 475 | ASSERT_ZERO(kdbus_msg_recv_poll(owner_a, 100, NULL, NULL)); [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:476:9: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 476 | ASSERT_ZERO(kdbus_msg_recv_poll(owner_a, 100, NULL, NULL)); [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:478:9: note: in expansion of macro 'ASSERT_RETURN' [ 316s] 478 | ASSERT_RETURN(-EAGAIN,==,kdbus_msg_recv(owner_a, NULL, NULL)); [ 316s] | ^~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:480:9: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 480 | ASSERT_ZERO(kdbus_msg_recv_poll(owner_b, 100, NULL, NULL)); [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:481:9: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 481 | ASSERT_ZERO(kdbus_msg_recv_poll(owner_b, 100, NULL, NULL)); [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:483:9: note: in expansion of macro 'ASSERT_RETURN' [ 316s] 483 | ASSERT_RETURN(-EAGAIN,==,kdbus_msg_recv(owner_b, NULL, NULL)); [ 316s] | ^~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:498:9: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 498 | ASSERT_ZERO(kdbus_conn_update_policy(holder_a, "com.example.broadcastA", &access, 1)); [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:504:9: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 504 | ASSERT_ZERO(test_policy_priv_by_broadcast(env->buspath, owner_a, DO_NOT_DROP, 0, 0)); [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 316s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 316s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 316s] | ^~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:507:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 507 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:144:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 316s] 144 | ASSERT_EXIT_NONZERO(_var_ = kdbus_hello(_bus_, 0, NULL, 0)); \ [ 316s] | ^~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:507:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 507 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:507:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 507 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:508:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 316s] 508 | ASSERT_EXIT_ZERO(kdbus_name_acquire(unpriv, "com.example.broadcastB", NULL)); [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:507:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 507 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:509:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 316s] 509 | ASSERT_EXIT_ZERO(kdbus_msg_send(unpriv, NULL, expected_cookie, 0, 0, 0, KDBUS_DST_ID_BROADCAST)); [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 316s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 316s] | ^~~~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:507:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 507 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 316s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 316s] | ^~~~~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:507:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 507 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:507:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 507 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:507:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 507 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:513:9: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 513 | ASSERT_ZERO(kdbus_msg_recv_poll(owner_a, 300, &msg, NULL)); [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 316s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:516:9: note: in expansion of macro 'ASSERT_RETURN' [ 316s] 516 | ASSERT_RETURN(msg->cookie,==,expected_cookie); [ 316s] | ^~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:516:9: note: in expansion of macro 'ASSERT_RETURN' [ 316s] 516 | ASSERT_RETURN(msg->cookie,==,expected_cookie); [ 316s] | ^~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:529:9: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 316s] 529 | ASSERT_EXIT_ZERO(kdbus_name_release(owner_a, "com.example.broadcastA")); [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:70:54: note: in expansion of macro '_ASSERT_REL_' [ 316s] 70 | #define ASSERT_EXIT_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(retval)) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:129:17: note: in expansion of macro 'ASSERT_EXIT_VAL' [ 316s] 129 | ASSERT_EXIT_VAL(ret_##_counter_,==,0, ret_##_counter_);\ [ 316s] | ^~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:532:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 532 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:78:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 78 | #define ASSERT_EXIT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:144:17: note: in expansion of macro 'ASSERT_EXIT_NONZERO' [ 316s] 144 | ASSERT_EXIT_NONZERO(_var_ = kdbus_hello(_bus_, 0, NULL, 0)); \ [ 316s] | ^~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:532:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 532 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:532:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 532 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:533:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 316s] 533 | ASSERT_EXIT_ZERO(kdbus_name_acquire(unpriv, "com.example.broadcastB", NULL)); [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:532:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 532 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:534:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 316s] 534 | ASSERT_EXIT_ZERO(kdbus_msg_send(unpriv, NULL, expected_cookie, 0, 0, 0, KDBUS_DST_ID_BROADCAST)); [ 316s] | ^~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:116:25: note: in expansion of macro 'ASSERT_RETURN' [ 316s] 116 | ASSERT_RETURN(rpid##_counter_,==,pid##_counter_);\ [ 316s] | ^~~~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:532:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 532 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:117:25: note: in expansion of macro 'ASSERT_NONZERO' [ 316s] 117 | ASSERT_NONZERO(WIFEXITED(ret_##_counter_));\ [ 316s] | ^~~~~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:532:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 532 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:46:64: note: in definition of macro '_ASSERT_REL_COUNTER_' [ 316s] 46 | __auto_type const _ASSERT_RETURN_VAL_val1_##counter = (val1);\ [ 316s] | ^~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:118:25: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 118 | ASSERT_ZERO(WEXITSTATUS(ret_##_counter_));\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:532:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 532 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] kdbus-util.h:105:50: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 105 | #define RUN_FORKED(_child_, _parent_, _counter_) ASSERT_ZERO(({\ [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-util.h:127:82: note: in expansion of macro 'RUN_FORKED' [ 316s] 127 | #define RUN_UNPRIVILEGED_CTR(child_uid, child_gid, _child_, _parent_, _counter_) RUN_FORKED(({\ [ 316s] | ^~~~~~~~~~ [ 316s] kdbus-util.h:136:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CTR' [ 316s] 136 | RUN_UNPRIVILEGED_CTR(a,b,c,d,e) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:142:9: note: in expansion of macro 'RUN_UNPRIVILEGED_EXPAND_MACROS' [ 316s] 142 | RUN_UNPRIVILEGED_EXPAND_MACROS(UNPRIV_UID, UNPRIV_GID, ({ \ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-util.h:150:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN_CTR' [ 316s] 150 | RUN_UNPRIVILEGED_CONN_CTR(_var_, _bus_, _code_, __COUNTER__) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] test-policy-priv.c:532:9: note: in expansion of macro 'RUN_UNPRIVILEGED_CONN' [ 316s] 532 | RUN_UNPRIVILEGED_CONN(unpriv, env->buspath, ({ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 316s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:538:9: note: in expansion of macro 'ASSERT_ZERO' [ 316s] 538 | ASSERT_ZERO(kdbus_msg_recv_poll(owner_a, 300, &msg, NULL)); [ 316s] | ^~~~~~~~~~~ [ 316s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 316s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:541:9: note: in expansion of macro 'ASSERT_RETURN' [ 316s] 541 | ASSERT_RETURN(msg->cookie,==,expected_cookie); [ 316s] | ^~~~~~~~~~~~~ [ 316s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 316s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 316s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 316s] | ^~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 316s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 316s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 316s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 316s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 316s] | ^~~~~~~~~~~~ [ 316s] test-policy-priv.c:541:9: note: in expansion of macro 'ASSERT_RETURN' [ 316s] 541 | ASSERT_RETURN(msg->cookie,==,expected_cookie); [ 316s] | ^~~~~~~~~~~~~ [ 325s] cc -c test-sync.c -o test-sync.o -O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -I../../include/uapi/ -I../../samples/kdbus/ -std=gnu99 -Wno-error=shadow -DKBUILD_MODNAME=\"kdbus\" -D_GNU_SOURCE [ 325s] In file included from test-sync.c:18: [ 325s] test-sync.c: In function 'kdbus_test_sync_reply': [ 325s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 325s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 325s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 325s] | ^~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 325s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 325s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 325s] | ^~~~~~~~~~~~ [ 325s] test-sync.c:238:9: note: in expansion of macro 'ASSERT_NONZERO' [ 325s] 238 | ASSERT_NONZERO(conn_a = kdbus_hello(env->buspath, 0, NULL, 0)); [ 325s] | ^~~~~~~~~~~~~~ [ 325s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 325s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 325s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 325s] | ^~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 325s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 325s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 325s] | ^~~~~~~~~~~~ [ 325s] test-sync.c:239:9: note: in expansion of macro 'ASSERT_NONZERO' [ 325s] 239 | ASSERT_NONZERO(conn_b = kdbus_hello(env->buspath, 0, NULL, 0)); [ 325s] | ^~~~~~~~~~~~~~ [ 325s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 325s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 325s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 325s] | ^~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 325s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 325s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 325s] | ^~~~~~~~~~~~ [ 325s] test-sync.c:248:9: note: in expansion of macro 'ASSERT_ZERO' [ 325s] 248 | ASSERT_ZERO(status); [ 325s] | ^~~~~~~~~~~ [ 325s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 325s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 325s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 325s] | ^~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 325s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 325s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 325s] | ^~~~~~~~~~~~ [ 325s] test-sync.c:249:9: note: in expansion of macro 'ASSERT_ZERO' [ 325s] 249 | ASSERT_ZERO(ret); [ 325s] | ^~~~~~~~~~~ [ 325s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 325s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 325s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 325s] | ^~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 325s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 325s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 325s] | ^~~~~~~~~~~~ [ 325s] test-sync.c:251:9: note: in expansion of macro 'ASSERT_ZERO' [ 325s] 251 | ASSERT_ZERO(interrupt_sync(conn_a, conn_b)); [ 325s] | ^~~~~~~~~~~ [ 325s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 325s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 325s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 325s] | ^~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 325s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 325s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 325s] | ^~~~~~~~~~~~ [ 325s] test-sync.c:252:9: note: in expansion of macro 'ASSERT_ZERO' [ 325s] 252 | ASSERT_ZERO(close_epipe_sync(env->buspath)); [ 325s] | ^~~~~~~~~~~ [ 325s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 325s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 325s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 325s] | ^~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 325s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 325s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 325s] | ^~~~~~~~~~~~ [ 325s] test-sync.c:253:9: note: in expansion of macro 'ASSERT_ZERO' [ 325s] 253 | ASSERT_ZERO(cancel_fd_sync(conn_a, conn_b)); [ 325s] | ^~~~~~~~~~~ [ 325s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 325s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 325s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 325s] | ^~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 325s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 325s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 325s] | ^~~~~~~~~~~~ [ 325s] test-sync.c:254:9: note: in expansion of macro 'ASSERT_ZERO' [ 325s] 254 | ASSERT_ZERO(no_cancel_sync(conn_a, conn_b)); [ 325s] | ^~~~~~~~~~~ [ 325s] test-sync.c: In function 'interrupt_sync': [ 325s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 325s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 325s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 325s] | ^~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 325s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 325s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 325s] | ^~~~~~~~~~~~ [ 325s] test-sync.c:40:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 325s] 40 | ASSERT_RETURN_VAL(pid,>=,0, pid); [ 325s] | ^~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 325s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 325s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 325s] | ^~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 325s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 325s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 325s] | ^~~~~~~~~~~~ [ 325s] test-sync.c:43:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 325s] 43 | ASSERT_EXIT_ZERO(sigaction(SIGINT, &sa, NULL)); [ 325s] | ^~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 325s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 325s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 325s] | ^~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 325s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 325s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 325s] | ^~~~~~~~~~~~ [ 325s] test-sync.c:45:17: note: in expansion of macro 'ASSERT_EXIT' [ 325s] 45 | ASSERT_EXIT(-ETIMEDOUT,==,kdbus_msg_send_sync(conn_dst, NULL, cookie, KDBUS_MSG_EXPECT_REPLY, 100000000ULL, 0, conn_src->id, -1)); [ 325s] | ^~~~~~~~~~~ [ 325s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 325s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 325s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 325s] | ^~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 325s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 325s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 325s] | ^~~~~~~~~~~~ [ 325s] test-sync.c:50:9: note: in expansion of macro 'ASSERT_ZERO' [ 325s] 50 | ASSERT_ZERO(kdbus_msg_recv_poll(conn_src, 100, &msg, NULL)); [ 325s] | ^~~~~~~~~~~ [ 325s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 325s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 325s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 325s] | ^~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 325s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 325s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 325s] | ^~~~~~~~~~~~ [ 325s] test-sync.c:51:9: note: in expansion of macro 'ASSERT_RETURN' [ 325s] 51 | ASSERT_RETURN(msg->cookie,==,cookie); [ 325s] | ^~~~~~~~~~~~~ [ 325s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 325s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 325s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 325s] | ^~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 325s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 325s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 325s] | ^~~~~~~~~~~~ [ 325s] test-sync.c:51:9: note: in expansion of macro 'ASSERT_RETURN' [ 325s] 51 | ASSERT_RETURN(msg->cookie,==,cookie); [ 325s] | ^~~~~~~~~~~~~ [ 325s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 325s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 325s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 325s] | ^~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 325s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 325s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 325s] | ^~~~~~~~~~~~ [ 325s] test-sync.c:56:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 325s] 56 | ASSERT_RETURN_VAL(ret,==,0, ret); [ 325s] | ^~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 325s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 325s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 325s] | ^~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 325s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 325s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 325s] | ^~~~~~~~~~~~ [ 325s] test-sync.c:59:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 325s] 59 | ASSERT_RETURN_VAL(ret,>=,0, ret); [ 325s] | ^~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 325s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 325s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 325s] | ^~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 325s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 325s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 325s] | ^~~~~~~~~~~~ [ 325s] test-sync.c:64:9: note: in expansion of macro 'ASSERT_RETURN' [ 325s] 64 | ASSERT_RETURN(-ETIMEDOUT,==,kdbus_msg_recv_poll(conn_src, 100, NULL, NULL)); [ 325s] | ^~~~~~~~~~~~~ [ 325s] test-sync.c: In function 'close_epipe_sync': [ 325s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 325s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 325s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 325s] | ^~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 325s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 325s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 325s] | ^~~~~~~~~~~~ [ 325s] test-sync.c:77:9: note: in expansion of macro 'ASSERT_NONZERO' [ 325s] 77 | ASSERT_NONZERO(conn_src = kdbus_hello(bus, 0, NULL, 0)); [ 325s] | ^~~~~~~~~~~~~~ [ 325s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 325s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 325s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 325s] | ^~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 325s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 325s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 325s] | ^~~~~~~~~~~~ [ 325s] test-sync.c:79:9: note: in expansion of macro 'ASSERT_ZERO' [ 325s] 79 | ASSERT_ZERO(kdbus_add_match_empty(conn_src)); [ 325s] | ^~~~~~~~~~~ [ 325s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 325s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 325s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 325s] | ^~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 325s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 325s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 325s] | ^~~~~~~~~~~~ [ 325s] test-sync.c:81:9: note: in expansion of macro 'ASSERT_NONZERO' [ 325s] 81 | ASSERT_NONZERO(conn_dst = kdbus_hello(bus, 0, NULL, 0)); [ 325s] | ^~~~~~~~~~~~~~ [ 325s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 325s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 325s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 325s] | ^~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 325s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 325s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 325s] | ^~~~~~~~~~~~ [ 325s] test-sync.c:85:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 325s] 85 | ASSERT_RETURN_VAL(pid,>=,0, pid); [ 325s] | ^~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 325s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 325s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 325s] | ^~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 325s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 325s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 325s] | ^~~~~~~~~~~~ [ 325s] test-sync.c:94:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 325s] 94 | ASSERT_EXIT_ZERO(kdbus_msg_recv_poll(conn_src, -1, &msg, NULL)); [ 325s] | ^~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 325s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 325s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 325s] | ^~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 325s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 325s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 325s] | ^~~~~~~~~~~~ [ 325s] test-sync.c:95:17: note: in expansion of macro 'ASSERT_EXIT' [ 325s] 95 | ASSERT_EXIT(msg->cookie,==,cookie); [ 325s] | ^~~~~~~~~~~ [ 325s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 325s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 325s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 325s] | ^~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 325s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 325s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 325s] | ^~~~~~~~~~~~ [ 325s] test-sync.c:95:17: note: in expansion of macro 'ASSERT_EXIT' [ 325s] 95 | ASSERT_EXIT(msg->cookie,==,cookie); [ 325s] | ^~~~~~~~~~~ [ 325s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 325s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 325s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 325s] | ^~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 325s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 325s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 325s] | ^~~~~~~~~~~~ [ 325s] test-sync.c:96:17: note: in expansion of macro 'ASSERT_EXIT' [ 325s] 96 | ASSERT_EXIT(msg->src_id,==,dst_id); [ 325s] | ^~~~~~~~~~~ [ 325s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 325s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 325s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 325s] | ^~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 325s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 325s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 325s] | ^~~~~~~~~~~~ [ 325s] test-sync.c:96:17: note: in expansion of macro 'ASSERT_EXIT' [ 325s] 96 | ASSERT_EXIT(msg->src_id,==,dst_id); [ 325s] | ^~~~~~~~~~~ [ 325s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 325s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 325s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 325s] | ^~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 325s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 325s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 325s] | ^~~~~~~~~~~~ [ 325s] test-sync.c:102:25: note: in expansion of macro 'ASSERT_EXIT' [ 325s] 102 | ASSERT_EXIT(-ECONNRESET,==,ret); /* need big timeout because we're not synchronized wrt dst_id closing */ [ 325s] | ^~~~~~~~~~~ [ 325s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 325s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 325s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 325s] | ^~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 325s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 325s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 325s] | ^~~~~~~~~~~~ [ 325s] test-sync.c:107:9: note: in expansion of macro 'ASSERT_ZERO' [ 325s] 107 | ASSERT_ZERO(kdbus_msg_send(conn_dst, NULL, cookie, 0, 0, 0, KDBUS_DST_ID_BROADCAST)); [ 325s] | ^~~~~~~~~~~ [ 325s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 325s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 325s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 325s] | ^~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 325s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 325s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 325s] | ^~~~~~~~~~~~ [ 325s] test-sync.c:110:9: note: in expansion of macro 'ASSERT_ZERO' [ 325s] 110 | ASSERT_ZERO(kdbus_msg_recv_poll(conn_dst, -1, &msg, NULL)); [ 325s] | ^~~~~~~~~~~ [ 325s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 325s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 325s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 325s] | ^~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 325s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 325s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 325s] | ^~~~~~~~~~~~ [ 325s] test-sync.c:111:9: note: in expansion of macro 'ASSERT_RETURN' [ 325s] 111 | ASSERT_RETURN(msg->cookie,==,cookie); [ 325s] | ^~~~~~~~~~~~~ [ 325s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 325s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 325s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 325s] | ^~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 325s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 325s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 325s] | ^~~~~~~~~~~~ [ 325s] test-sync.c:111:9: note: in expansion of macro 'ASSERT_RETURN' [ 325s] 111 | ASSERT_RETURN(msg->cookie,==,cookie); [ 325s] | ^~~~~~~~~~~~~ [ 325s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 325s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 325s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 325s] | ^~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 325s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 325s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 325s] | ^~~~~~~~~~~~ [ 325s] test-sync.c:120:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 325s] 120 | ASSERT_RETURN_VAL(ret,>=,0, ret); [ 325s] | ^~~~~~~~~~~~~~~~~ [ 325s] test-sync.c: In function 'cancel_fd_sync': [ 325s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 325s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 325s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 325s] | ^~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 325s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 325s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 325s] | ^~~~~~~~~~~~ [ 325s] test-sync.c:138:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 325s] 138 | ASSERT_RETURN_VAL(cancel_fd,>=,0, cancel_fd); [ 325s] | ^~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 325s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 325s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 325s] | ^~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 325s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 325s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 325s] | ^~~~~~~~~~~~ [ 325s] test-sync.c:142:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 325s] 142 | ASSERT_RETURN_VAL(pid,>=,0, pid); [ 325s] | ^~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 325s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 325s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 325s] | ^~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 325s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:73:42: note: in expansion of macro '_ASSERT_REL_' [ 325s] 73 | #define ASSERT_EXIT(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, exit(TEST_ERR)) [ 325s] | ^~~~~~~~~~~~ [ 325s] test-sync.c:145:17: note: in expansion of macro 'ASSERT_EXIT' [ 325s] 145 | ASSERT_EXIT(-ECANCELED,==,kdbus_msg_send_sync(conn_dst, NULL, cookie, KDBUS_MSG_EXPECT_REPLY, 500000000000ULL, 0, conn_src->id, cancel_fd)); [ 325s] | ^~~~~~~~~~~ [ 325s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 325s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 325s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 325s] | ^~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 325s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 325s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 325s] | ^~~~~~~~~~~~ [ 325s] test-sync.c:149:9: note: in expansion of macro 'ASSERT_ZERO' [ 325s] 149 | ASSERT_ZERO(kdbus_msg_recv_poll(conn_src, 100, &msg, NULL)); [ 325s] | ^~~~~~~~~~~ [ 325s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 325s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 325s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 325s] | ^~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 325s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 325s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 325s] | ^~~~~~~~~~~~ [ 325s] test-sync.c:150:9: note: in expansion of macro 'ASSERT_RETURN' [ 325s] 150 | ASSERT_RETURN(msg->cookie,==,cookie); [ 325s] | ^~~~~~~~~~~~~ [ 325s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 325s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 325s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 325s] | ^~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 325s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 325s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 325s] | ^~~~~~~~~~~~ [ 325s] test-sync.c:150:9: note: in expansion of macro 'ASSERT_RETURN' [ 325s] 150 | ASSERT_RETURN(msg->cookie,==,cookie); [ 325s] | ^~~~~~~~~~~~~ [ 325s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 325s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 325s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 325s] | ^~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 325s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 325s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 325s] | ^~~~~~~~~~~~ [ 325s] test-sync.c:154:9: note: in expansion of macro 'ASSERT_RETURN' [ 325s] 154 | ASSERT_RETURN((int)sizeof(counter),==,write(cancel_fd, &counter, sizeof(counter))); [ 325s] | ^~~~~~~~~~~~~ [ 325s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 325s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 325s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 325s] | ^~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 325s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 325s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 325s] | ^~~~~~~~~~~~ [ 325s] test-sync.c:157:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 325s] 157 | ASSERT_RETURN_VAL(ret,>=,0, ret); [ 325s] | ^~~~~~~~~~~~~~~~~ [ 325s] test-sync.c: In function 'no_cancel_sync': [ 325s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 325s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 325s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 325s] | ^~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 325s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 325s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 325s] | ^~~~~~~~~~~~ [ 325s] test-sync.c:176:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 325s] 176 | ASSERT_RETURN_VAL(cancel_fd,>=,0, cancel_fd); [ 325s] | ^~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 325s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 325s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 325s] | ^~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 325s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 325s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 325s] | ^~~~~~~~~~~~ [ 325s] test-sync.c:180:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 325s] 180 | ASSERT_RETURN_VAL(pid,>=,0, pid); [ 325s] | ^~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 325s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 325s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 325s] | ^~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 325s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 325s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 325s] | ^~~~~~~~~~~~ [ 325s] test-sync.c:183:17: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 325s] 183 | ASSERT_EXIT_ZERO(kdbus_msg_send_sync(conn_dst, NULL, cookie, KDBUS_MSG_EXPECT_REPLY, 500000000000ULL, 0, conn_src->id, cancel_fd)); [ 325s] | ^~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 325s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 325s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 325s] | ^~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 325s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 325s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 325s] | ^~~~~~~~~~~~ [ 325s] test-sync.c:188:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 325s] 188 | ASSERT_RETURN_VAL(ret,==,0, -1); [ 325s] | ^~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 325s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 325s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 325s] | ^~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 325s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 325s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 325s] | ^~~~~~~~~~~~ [ 325s] test-sync.c:189:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 325s] 189 | ASSERT_RETURN_VAL(msg->cookie,==,cookie, -1); [ 325s] | ^~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 325s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 325s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 325s] | ^~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 325s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 325s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 325s] | ^~~~~~~~~~~~ [ 325s] test-sync.c:189:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 325s] 189 | ASSERT_RETURN_VAL(msg->cookie,==,cookie, -1); [ 325s] | ^~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 325s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 325s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 325s] | ^~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 325s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 325s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 325s] | ^~~~~~~~~~~~ [ 325s] test-sync.c:194:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 325s] 194 | ASSERT_RETURN_VAL(ret,>=,0, ret); [ 325s] | ^~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 325s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 325s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 325s] | ^~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 325s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 325s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 325s] | ^~~~~~~~~~~~ [ 325s] test-sync.c:197:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 325s] 197 | ASSERT_RETURN_VAL(ret,>=,0, ret); [ 325s] | ^~~~~~~~~~~~~~~~~ [ 325s] test-sync.c: In function 'kdbus_test_sync_byebye': [ 325s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 325s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 325s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 325s] | ^~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 325s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 325s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 325s] | ^~~~~~~~~~~~ [ 325s] test-sync.c:300:9: note: in expansion of macro 'ASSERT_NONZERO' [ 325s] 300 | ASSERT_NONZERO(conn_a = kdbus_hello(env->buspath, 0, NULL, 0)); [ 325s] | ^~~~~~~~~~~~~~ [ 325s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 325s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 325s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 325s] | ^~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 325s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 325s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 325s] | ^~~~~~~~~~~~ [ 325s] test-sync.c:301:9: note: in expansion of macro 'ASSERT_NONZERO' [ 325s] 301 | ASSERT_NONZERO(conn_b = kdbus_hello(env->buspath, 0, NULL, 0)); [ 325s] | ^~~~~~~~~~~~~~ [ 325s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 325s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 325s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 325s] | ^~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 325s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 325s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 325s] | ^~~~~~~~~~~~ [ 325s] test-sync.c:305:9: note: in expansion of macro 'ASSERT_RETURN' [ 325s] 305 | ASSERT_RETURN(-ECONNRESET,==,kdbus_msg_send_sync(conn_b, NULL, cookie, KDBUS_MSG_EXPECT_REPLY, 5000000000ULL, 0, conn_a->id, -1)); [ 325s] | ^~~~~~~~~~~~~ [ 325s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 325s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 325s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 325s] | ^~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 325s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 325s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 325s] | ^~~~~~~~~~~~ [ 325s] test-sync.c:312:9: note: in expansion of macro 'ASSERT_NONZERO' [ 325s] 312 | ASSERT_NONZERO(conn_a = kdbus_hello(env->buspath, 0, NULL, 0)); [ 325s] | ^~~~~~~~~~~~~~ [ 325s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 325s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 325s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 325s] | ^~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 325s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 325s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 325s] | ^~~~~~~~~~~~ [ 325s] test-sync.c:313:9: note: in expansion of macro 'ASSERT_NONZERO' [ 325s] 313 | ASSERT_NONZERO(conn_b = kdbus_hello(env->buspath, 0, NULL, 0)); [ 325s] | ^~~~~~~~~~~~~~ [ 325s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 325s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 325s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 325s] | ^~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 325s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 325s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 325s] | ^~~~~~~~~~~~ [ 325s] test-sync.c:317:9: note: in expansion of macro 'ASSERT_RETURN' [ 325s] 317 | ASSERT_RETURN(-EPIPE,==,kdbus_msg_send_sync(conn_b, NULL, cookie, KDBUS_MSG_EXPECT_REPLY, 5000000000ULL, 0, conn_a->id, -1)); [ 325s] | ^~~~~~~~~~~~~ [ 325s] test-sync.c: In function 'run_thread_byebye': [ 325s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 325s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 325s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 325s] | ^~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 325s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 325s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 325s] | ^~~~~~~~~~~~ [ 325s] test-sync.c:274:25: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 325s] 274 | ASSERT_EXIT_ZERO(kdbus_cmd_byebye(conn_b->fd, &cmd_byebye)); [ 325s] | ^~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 325s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 325s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 325s] | ^~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 325s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 325s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 325s] kdbus-test.h:77:34: note: in expansion of macro '_ASSERT_REL_' [ 325s] 77 | #define ASSERT_EXIT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, exit(TEST_ERR)) [ 325s] | ^~~~~~~~~~~~ [ 325s] test-sync.c:276:25: note: in expansion of macro 'ASSERT_EXIT_ZERO' [ 325s] 276 | ASSERT_EXIT_ZERO(kdbus_cmd_byebye(conn_a->fd, &cmd_byebye)); [ 325s] | ^~~~~~~~~~~~~~~~ [ 326s] cc -c test-timeout.c -o test-timeout.o -O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -I../../include/uapi/ -I../../samples/kdbus/ -std=gnu99 -Wno-error=shadow -DKBUILD_MODNAME=\"kdbus\" -D_GNU_SOURCE [ 327s] In file included from test-timeout.c:15: [ 327s] test-timeout.c: In function 'timeout_msg_recv': [ 327s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 327s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 327s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 327s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 327s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 327s] | ^~~~~~~~~~~~~~~~~~~~ [ 327s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 327s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 327s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 327s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 327s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 327s] | ^~~~~~~~~~~~ [ 327s] test-timeout.c:33:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 327s] 33 | ASSERT_RETURN_VAL(msg->payload_type,==,(typeof(msg->payload_type))KDBUS_PAYLOAD_KERNEL, -EINVAL); [ 327s] | ^~~~~~~~~~~~~~~~~ [ 327s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 327s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 327s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 327s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 327s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 327s] | ^~~~~~~~~~~~~~~~~~~~ [ 327s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 327s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 327s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 327s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 327s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 327s] | ^~~~~~~~~~~~ [ 327s] test-timeout.c:33:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 327s] 33 | ASSERT_RETURN_VAL(msg->payload_type,==,(typeof(msg->payload_type))KDBUS_PAYLOAD_KERNEL, -EINVAL); [ 327s] | ^~~~~~~~~~~~~~~~~ [ 327s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 327s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 327s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 327s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 327s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 327s] | ^~~~~~~~~~~~~~~~~~~~ [ 327s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 327s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 327s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 327s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 327s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 327s] | ^~~~~~~~~~~~ [ 327s] test-timeout.c:33:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 327s] 33 | ASSERT_RETURN_VAL(msg->payload_type,==,(typeof(msg->payload_type))KDBUS_PAYLOAD_KERNEL, -EINVAL); [ 327s] | ^~~~~~~~~~~~~~~~~ [ 327s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 327s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 327s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 327s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 327s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 327s] | ^~~~~~~~~~~~~~~~~~~~ [ 327s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 327s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 327s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 327s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 327s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 327s] | ^~~~~~~~~~~~ [ 327s] test-timeout.c:34:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 327s] 34 | ASSERT_RETURN_VAL(msg->src_id,==,(typeof(msg->src_id))KDBUS_SRC_ID_KERNEL, -EINVAL); [ 327s] | ^~~~~~~~~~~~~~~~~ [ 327s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 327s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 327s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 327s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 327s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 327s] | ^~~~~~~~~~~~~~~~~~~~ [ 327s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 327s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 327s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 327s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 327s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 327s] | ^~~~~~~~~~~~ [ 327s] test-timeout.c:34:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 327s] 34 | ASSERT_RETURN_VAL(msg->src_id,==,(typeof(msg->src_id))KDBUS_SRC_ID_KERNEL, -EINVAL); [ 327s] | ^~~~~~~~~~~~~~~~~ [ 327s] kdbus-test.h:53:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 327s] 53 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val1_##counter), 4);\ [ 327s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 327s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 327s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 327s] | ^~~~~~~~~~~~~~~~~~~~ [ 327s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 327s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 327s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 327s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 327s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 327s] | ^~~~~~~~~~~~ [ 327s] test-timeout.c:34:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 327s] 34 | ASSERT_RETURN_VAL(msg->src_id,==,(typeof(msg->src_id))KDBUS_SRC_ID_KERNEL, -EINVAL); [ 327s] | ^~~~~~~~~~~~~~~~~ [ 327s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 327s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 327s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 327s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 327s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 327s] | ^~~~~~~~~~~~~~~~~~~~ [ 327s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 327s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 327s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 327s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 327s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 327s] | ^~~~~~~~~~~~ [ 327s] test-timeout.c:35:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 327s] 35 | ASSERT_RETURN_VAL(msg->dst_id,==,conn->id, -EINVAL); [ 327s] | ^~~~~~~~~~~~~~~~~ [ 327s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 327s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 327s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 327s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 327s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 327s] | ^~~~~~~~~~~~~~~~~~~~ [ 327s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 327s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 327s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 327s] kdbus-test.h:69:54: note: in expansion of macro '_ASSERT_REL_' [ 327s] 69 | #define ASSERT_RETURN_VAL(val0, relop, val1, retval) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return retval) [ 327s] | ^~~~~~~~~~~~ [ 327s] test-timeout.c:35:9: note: in expansion of macro 'ASSERT_RETURN_VAL' [ 327s] 35 | ASSERT_RETURN_VAL(msg->dst_id,==,conn->id, -EINVAL); [ 327s] | ^~~~~~~~~~~~~~~~~ [ 327s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 327s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 327s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 327s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 327s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 327s] | ^~~~~~~~~~~~~~~~~~~~ [ 327s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 327s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 327s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 327s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 327s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 327s] | ^~~~~~~~~~~~ [ 327s] test-timeout.c:44:33: note: in expansion of macro 'ASSERT_ZERO' [ 327s] 44 | ASSERT_ZERO(have_type); [ 327s] | ^~~~~~~~~~~ [ 327s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 327s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 327s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 327s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 327s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 327s] | ^~~~~~~~~~~~~~~~~~~~ [ 327s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 327s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 327s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 327s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 327s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 327s] | ^~~~~~~~~~~~ [ 327s] test-timeout.c:46:33: note: in expansion of macro 'ASSERT_RETURN' [ 327s] 46 | ASSERT_RETURN(item->size,==,2*sizeof(uint64_t)); [ 327s] | ^~~~~~~~~~~~~ [ 327s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 327s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 327s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 327s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 327s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 327s] | ^~~~~~~~~~~~~~~~~~~~ [ 327s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 327s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 327s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 327s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 327s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 327s] | ^~~~~~~~~~~~ [ 327s] test-timeout.c:46:33: note: in expansion of macro 'ASSERT_RETURN' [ 327s] 46 | ASSERT_RETURN(item->size,==,2*sizeof(uint64_t)); [ 327s] | ^~~~~~~~~~~~~ [ 327s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 327s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 327s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 327s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 327s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 327s] | ^~~~~~~~~~~~~~~~~~~~ [ 327s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 327s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 327s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 327s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 327s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 327s] | ^~~~~~~~~~~~ [ 327s] test-timeout.c:49:25: note: in expansion of macro 'ASSERT_RETURN' [ 327s] 49 | ASSERT_RETURN(item->type,==,(uint64_t)KDBUS_ITEM_TIMESTAMP); [ 327s] | ^~~~~~~~~~~~~ [ 327s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 327s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 327s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 327s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 327s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 327s] | ^~~~~~~~~~~~~~~~~~~~ [ 327s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 327s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 327s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 327s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 327s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 327s] | ^~~~~~~~~~~~ [ 327s] test-timeout.c:49:25: note: in expansion of macro 'ASSERT_RETURN' [ 327s] 49 | ASSERT_RETURN(item->type,==,(uint64_t)KDBUS_ITEM_TIMESTAMP); [ 327s] | ^~~~~~~~~~~~~ [ 327s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 327s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 327s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 327s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 327s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 327s] | ^~~~~~~~~~~~~~~~~~~~ [ 327s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 327s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 327s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 327s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 327s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 327s] | ^~~~~~~~~~~~ [ 327s] test-timeout.c:50:25: note: in expansion of macro 'ASSERT_ZERO' [ 327s] 50 | ASSERT_ZERO(have_timestamp); [ 327s] | ^~~~~~~~~~~ [ 327s] kdbus-test.h:51:17: warning: 'strncat' specified bound 4 equals source length [-Wstringop-overflow=] [ 327s] 51 | strncat(_ASSERT_REL_fmt_, PRINTF_FMT(_ASSERT_RETURN_VAL_val0_##counter), 4);\ [ 327s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 327s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 327s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 327s] | ^~~~~~~~~~~~~~~~~~~~ [ 327s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 327s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 327s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 327s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 327s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 327s] | ^~~~~~~~~~~~ [ 327s] test-timeout.c:52:25: note: in expansion of macro 'ASSERT_RETURN' [ 327s] 52 | ASSERT_RETURN(item->size,==,2*sizeof(uint64_t) + sizeof(struct kdbus_timestamp)); [ 327s] | ^~~~~~~~~~~~~ [ 327s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 327s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 327s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 327s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 327s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 327s] | ^~~~~~~~~~~~~~~~~~~~ [ 327s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 327s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 327s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 327s] kdbus-test.h:72:42: note: in expansion of macro '_ASSERT_REL_' [ 327s] 72 | #define ASSERT_RETURN(val0, relop, val1) _ASSERT_REL_(val0, #val0, relop, val1, #val1, return TEST_ERR) [ 327s] | ^~~~~~~~~~~~ [ 327s] test-timeout.c:52:25: note: in expansion of macro 'ASSERT_RETURN' [ 327s] 52 | ASSERT_RETURN(item->size,==,2*sizeof(uint64_t) + sizeof(struct kdbus_timestamp)); [ 327s] | ^~~~~~~~~~~~~ [ 327s] test-timeout.c: In function 'kdbus_test_timeout': [ 327s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 327s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 327s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 327s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 327s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 327s] | ^~~~~~~~~~~~~~~~~~~~ [ 327s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 327s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 327s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 327s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 327s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 327s] | ^~~~~~~~~~~~ [ 327s] test-timeout.c:80:9: note: in expansion of macro 'ASSERT_NONZERO' [ 327s] 80 | ASSERT_NONZERO(conn_a = kdbus_hello(env->buspath, 0, NULL, 0)); [ 327s] | ^~~~~~~~~~~~~~ [ 327s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 327s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 327s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 327s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 327s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 327s] | ^~~~~~~~~~~~~~~~~~~~ [ 327s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 327s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 327s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 327s] kdbus-test.h:76:34: note: in expansion of macro '_ASSERT_REL_' [ 327s] 76 | #define ASSERT_NONZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", !=, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 327s] | ^~~~~~~~~~~~ [ 327s] test-timeout.c:81:9: note: in expansion of macro 'ASSERT_NONZERO' [ 327s] 81 | ASSERT_NONZERO(conn_b = kdbus_hello(env->buspath, 0, NULL, 0)); [ 327s] | ^~~~~~~~~~~~~~ [ 327s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 327s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 327s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 327s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 327s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 327s] | ^~~~~~~~~~~~~~~~~~~~ [ 327s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 327s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 327s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 327s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 327s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 327s] | ^~~~~~~~~~~~ [ 327s] test-timeout.c:92:17: note: in expansion of macro 'ASSERT_ZERO' [ 327s] 92 | ASSERT_ZERO(kdbus_msg_send(conn_b, NULL, cookie, KDBUS_MSG_EXPECT_REPLY, (i + 1) * 100ULL * 1000000ULL, 0, conn_a->id)); [ 327s] | ^~~~~~~~~~~ [ 327s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 327s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 327s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 327s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 327s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 327s] | ^~~~~~~~~~~~~~~~~~~~ [ 327s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 327s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 327s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 327s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 327s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 327s] | ^~~~~~~~~~~~ [ 327s] test-timeout.c:108:25: note: in expansion of macro 'ASSERT_ZERO' [ 327s] 108 | ASSERT_ZERO(timeout_msg_recv(conn_b, KDBUS_ITEM_REPLY_TIMEOUT, &cookie_reply, NULL, NULL, NULL)); [ 327s] | ^~~~~~~~~~~ [ 327s] kdbus-test.h:52:17: warning: 'strncat' specified bound 9 equals source length [-Wstringop-overflow=] [ 327s] 52 | strncat(_ASSERT_REL_fmt_, "=%s) %s (", 9);\ [ 327s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 327s] kdbus-test.h:64:9: note: in expansion of macro '_ASSERT_REL_COUNTER_' [ 327s] 64 | _ASSERT_REL_COUNTER_(a,b,c,d,e,f,g) [ 327s] | ^~~~~~~~~~~~~~~~~~~~ [ 327s] kdbus-test.h:67:9: note: in expansion of macro '_ASSERT_REL_COUNTER_EXPAND_MACROS_' [ 327s] 67 | _ASSERT_REL_COUNTER_EXPAND_MACROS_(__COUNTER__, val0, val0s, relop, val1, val1s, onfailure) [ 327s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 327s] kdbus-test.h:75:34: note: in expansion of macro '_ASSERT_REL_' [ 327s] 75 | #define ASSERT_ZERO(...) _ASSERT_REL_(((typeof((__VA_ARGS__)))0), "0", ==, (__VA_ARGS__), #__VA_ARGS__, return TEST_ERR) [ 327s] | ^~~~~~~~~~~~ [ 327s] test-timeout.c:114:9: note: in expansion of macro 'ASSERT_ZERO' [ 327s] 114 | ASSERT_ZERO(expected); [ 327s] | ^~~~~~~~~~~ [ 327s] cc -o kdbus-test kdbus-enum.o kdbus-util.o kdbus-test.o test-activator.o test-benchmark.o test-bus.o test-chat.o test-connection.o test-daemon.o test-endpoint.o test-fd.o test-free.o test-match.o test-message.o test-metadata-ns.o test-monitor.o test-names.o test-policy.o test-policy-ns.o test-policy-priv.o test-sync.o test-timeout.o -pthread -lcap -lm [ 327s] make: Leaving directory '/home/abuild/rpmbuild/BUILD/linux-tizen-modules-source-7.5.1/tests/kdbus' [ 327s] + make -C tests/logger [ 327s] make: Entering directory '/home/abuild/rpmbuild/BUILD/linux-tizen-modules-source-7.5.1/tests/logger' [ 327s] gcc -c logger.c -o logger.o -O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -I../../include/uapi -std=gnu99 -D_GNU_SOURCE -Wno-error=unused-result [ 328s] logger.c: In function 'main': [ 328s] logger.c:332:33: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] [ 328s] 332 | fprintf(stderr, "mask: %u\n", test_mask); [ 328s] | ~^ ~~~~~~~~~ [ 328s] | | | [ 328s] | | long unsigned int [ 328s] | unsigned int [ 328s] | %lu [ 328s] gcc -o logger-test logger.o -pthread [ 328s] make: Leaving directory '/home/abuild/rpmbuild/BUILD/linux-tizen-modules-source-7.5.1/tests/logger' [ 328s] + make -C tests/zlog_stdout [ 328s] make: Entering directory '/home/abuild/rpmbuild/BUILD/linux-tizen-modules-source-7.5.1/tests/zlog_stdout' [ 328s] gcc -c zlog_stdout.c -o zlog_stdout.o -O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -I../../include/uapi -std=gnu11 -D_GNU_SOURCE -Wno-error=unused-result [ 329s] gcc -o zlog_stdout zlog_stdout.o -pthread [ 329s] make: Leaving directory '/home/abuild/rpmbuild/BUILD/linux-tizen-modules-source-7.5.1/tests/zlog_stdout' [ 329s] + make -C tests/zlog_bitmap [ 329s] make: Entering directory '/home/abuild/rpmbuild/BUILD/linux-tizen-modules-source-7.5.1/tests/zlog_bitmap' [ 329s] gcc -c zlog_bitmap.c -o zlog_bitmap.o -O2 -fno-inline-functions -g2 -gdwarf-4 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -I../../include/uapi -std=gnu11 -D_GNU_SOURCE -Wno-error=unused-result [ 329s] zlog_bitmap.c: In function 'main': [ 329s] zlog_bitmap.c:64:32: warning: unused variable 'k' [-Wunused-variable] [ 329s] 64 | int fd, ret = 0, i, j, k, result[2][2]; [ 329s] | ^ [ 329s] gcc -o zlog_bitmap zlog_bitmap.o -pthread [ 330s] make: Leaving directory '/home/abuild/rpmbuild/BUILD/linux-tizen-modules-source-7.5.1/tests/zlog_bitmap' [ 330s] + exit 0 [ 330s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.LMaPCZ [ 330s] + umask 022 [ 330s] + cd /home/abuild/rpmbuild/BUILD [ 330s] + cd linux-tizen-modules-source-7.5.1 [ 330s] + LANG=C [ 330s] + export LANG [ 330s] + unset DISPLAY [ 330s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.1-0.aarch64 [ 330s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.1-0.aarch64 [ 330s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.1-0.aarch64/usr/src/linux-tizen-modules-source/kdbus [ 330s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.1-0.aarch64/usr/src/linux-tizen-modules-source/zlogger [ 330s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.1-0.aarch64//usr/include/linux [ 330s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.1-0.aarch64//usr/libexec/linux-tizen-modules-source/tests [ 330s] + cp -a include/ /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.1-0.aarch64/usr/src/linux-tizen-modules-source [ 330s] + cp kernel/dm-bow.c kernel/dm-core.h kernel/dm.h kernel/extcon-usb-fixed.c kernel/inform-reboot.c kernel/logger.c kernel/proc-tsm.c kernel/Makefile COPYING /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.1-0.aarch64/usr/src/linux-tizen-modules-source [ 330s] + cp kernel/kdbus/bus.c kernel/kdbus/bus.h kernel/kdbus/connection.c kernel/kdbus/connection.h kernel/kdbus/domain.c kernel/kdbus/domain.h kernel/kdbus/endpoint.c kernel/kdbus/endpoint.h kernel/kdbus/fs.c kernel/kdbus/fs.h kernel/kdbus/handle.c kernel/kdbus/handle.h kernel/kdbus/item.c kernel/kdbus/item.h kernel/kdbus/limits.h kernel/kdbus/main.c kernel/kdbus/match.c kernel/kdbus/match.h kernel/kdbus/message.c kernel/kdbus/message.h kernel/kdbus/metadata.c kernel/kdbus/metadata.h kernel/kdbus/names.c kernel/kdbus/names.h kernel/kdbus/node.c kernel/kdbus/node.h kernel/kdbus/notify.c kernel/kdbus/notify.h kernel/kdbus/policy.c kernel/kdbus/policy.h kernel/kdbus/pool.c kernel/kdbus/pool.h kernel/kdbus/queue.c kernel/kdbus/queue.h kernel/kdbus/reply.c kernel/kdbus/reply.h kernel/kdbus/util.c kernel/kdbus/util.h kernel/kdbus/Makefile /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.1-0.aarch64/usr/src/linux-tizen-modules-source/kdbus [ 330s] + cp kernel/zlogger/zlogger.c kernel/zlogger/Makefile /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.1-0.aarch64/usr/src/linux-tizen-modules-source/zlogger [ 331s] + cp include/uapi/linux/kdbus.h /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.1-0.aarch64//usr/include/linux [ 331s] + cp include/uapi/linux/logger.h /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.1-0.aarch64//usr/include/linux [ 331s] + cp include/uapi/linux/zlogger.h /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.1-0.aarch64//usr/include/linux [ 331s] + cp tests/logger/logger-test /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.1-0.aarch64//usr/libexec/linux-tizen-modules-source/tests/logger-test [ 331s] + cp tests/kdbus/kdbus-test /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.1-0.aarch64//usr/libexec/linux-tizen-modules-source/tests/kdbus-test [ 331s] + cp tests/zlog_stdout/zlog_stdout /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.1-0.aarch64//usr/libexec/linux-tizen-modules-source/tests/zlog_stdout [ 332s] + cp tests/zlog_bitmap/zlog_bitmap /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.1-0.aarch64//usr/libexec/linux-tizen-modules-source/tests/zlog_bitmap [ 332s] + /usr/lib/rpm/find-debuginfo.sh -j8 --build-id-seed 7.5.1-0 --unique-debug-src-base linux-tizen-modules-source-7.5.1-0.aarch64 -S debugsourcefiles.list /home/abuild/rpmbuild/BUILD/linux-tizen-modules-source-7.5.1 [ 336s] 1+0 records in [ 336s] 1+0 records out [ 336s] 1+0 records in [ 336s] 1+0 records out [ 336s] 1+0 records in [ 336s] 1+0 records out [ 336s] 1+0 records in [ 336s] 1+0 records out [ 336s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.1-0.aarch64/usr/libexec/linux-tizen-modules-source/tests/logger-test [ 336s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.1-0.aarch64/usr/libexec/linux-tizen-modules-source/tests/kdbus-test [ 336s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.1-0.aarch64/usr/libexec/linux-tizen-modules-source/tests/zlog_bitmap [ 336s] extracting debug info from /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.1-0.aarch64/usr/libexec/linux-tizen-modules-source/tests/zlog_stdout [ 337s] 0+0 records in [ 337s] 0+0 records out [ 337s] 0+0 records in [ 337s] 0+0 records out [ 337s] 0+0 records in [ 337s] 0+0 records out [ 337s] 0+0 records in [ 337s] 0+0 records out [ 338s] 675 blocks [ 339s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/linux-tizen-modules-source-7.5.1/linux-tizen-modules-source-debuginfo.manifest [ 339s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/linux-tizen-modules-source-7.5.1/linux-tizen-modules-source-debugsource.manifest [ 339s] + /usr/lib/rpm/check-buildroot [ 339s] + /usr/lib/rpm//brp-compress [ 339s] + /usr/lib/rpm/brp-strip-static-archive /bin/strip [ 342s] + /usr/lib/rpm/brp-python-hardlink [ 342s] + /usr/lib/rpm/tizen/find-docs.sh /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.1-0.aarch64 [ 343s] + /usr/lib/rpm/tizen/find-isufiles.sh /home/abuild/rpmbuild/BUILD/linux-tizen-modules-source-7.5.1/isu.list [ 343s] ~/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.1-0.aarch64 ~/rpmbuild/BUILD/linux-tizen-modules-source-7.5.1 [ 343s] ~/rpmbuild/BUILD/linux-tizen-modules-source-7.5.1 [ 343s] + /etc/hal/rootstrap/hal-rootstrap-checker.sh /home/abuild/rpmbuild/SOURCES [ 348s] Processing files: linux-tizen-modules-source-7.5.1-0.aarch64 [ 348s] Aptk: PG1hbmlmZXN0PgoJPHJlcXVlc3Q+CgkJPGRvbWFpbiBuYW1lPSJfIiAvPgoJPC9y [ 348s] ZXF1ZXN0Pgo8L21hbmlmZXN0Pgo= [ 348s] [ 348s] Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.B7bc6M [ 348s] + umask 022 [ 348s] + cd /home/abuild/rpmbuild/BUILD [ 348s] + cd linux-tizen-modules-source-7.5.1 [ 348s] + LICENSEDIR=/home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.1-0.aarch64/usr/share/licenses/linux-tizen-modules-source [ 348s] + export LC_ALL=C [ 348s] + LC_ALL=C [ 348s] + export LICENSEDIR [ 348s] + /bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.1-0.aarch64/usr/share/licenses/linux-tizen-modules-source [ 348s] + cp -pr COPYING /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.1-0.aarch64/usr/share/licenses/linux-tizen-modules-source [ 348s] + exit 0 [ 349s] Provides: linux-tizen-modules-source = 7.5.1-0 linux-tizen-modules-source(aarch-64) = 7.5.1-0 [ 349s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 349s] Processing files: linux-tizen-modules-source-debugsource-7.5.1-0.aarch64 [ 349s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 349s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 349s] [ 349s] Provides: linux-tizen-modules-source-debugsource = 7.5.1-0 linux-tizen-modules-source-debugsource(aarch-64) = 7.5.1-0 [ 349s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 349s] Processing files: linux-tizen-modules-headers-7.5.1-0.aarch64 [ 349s] Aptk: PG1hbmlmZXN0PgoJPHJlcXVlc3Q+CgkJPGRvbWFpbiBuYW1lPSJfIiAvPgoJPC9y [ 349s] ZXF1ZXN0Pgo8L21hbmlmZXN0Pgo= [ 349s] [ 349s] Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.yFt6kD [ 349s] + umask 022 [ 349s] + cd /home/abuild/rpmbuild/BUILD [ 349s] + cd linux-tizen-modules-source-7.5.1 [ 349s] + LICENSEDIR=/home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.1-0.aarch64/usr/share/licenses/linux-tizen-modules-headers [ 349s] + export LC_ALL=C [ 349s] + LC_ALL=C [ 349s] + export LICENSEDIR [ 349s] + /bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.1-0.aarch64/usr/share/licenses/linux-tizen-modules-headers [ 349s] + cp -pr COPYING /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.1-0.aarch64/usr/share/licenses/linux-tizen-modules-headers [ 349s] + exit 0 [ 349s] Provides: linux-tizen-modules-headers = 7.5.1-0 linux-tizen-modules-headers(aarch-64) = 7.5.1-0 [ 349s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 349s] Processing files: linux-tizen-modules-tests-7.5.1-0.aarch64 [ 349s] Aptk: PG1hbmlmZXN0PgoJPHJlcXVlc3Q+CgkJPGRvbWFpbiBuYW1lPSJfIiAvPgoJPC9y [ 349s] ZXF1ZXN0Pgo8L21hbmlmZXN0Pgo= [ 349s] [ 349s] Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.9Brm1L [ 349s] + umask 022 [ 349s] + cd /home/abuild/rpmbuild/BUILD [ 349s] + cd linux-tizen-modules-source-7.5.1 [ 349s] + LICENSEDIR=/home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.1-0.aarch64/usr/share/licenses/linux-tizen-modules-tests [ 349s] + export LC_ALL=C [ 349s] + LC_ALL=C [ 349s] + export LICENSEDIR [ 349s] + /bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.1-0.aarch64/usr/share/licenses/linux-tizen-modules-tests [ 349s] + cp -pr COPYING /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.1-0.aarch64/usr/share/licenses/linux-tizen-modules-tests [ 350s] + exit 0 [ 350s] Provides: linux-kernel-kdbus-tests linux-kernel-logger-tests linux-tizen-modules-tests = 7.5.1-0 linux-tizen-modules-tests(aarch-64) = 7.5.1-0 [ 350s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 350s] Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libasan.so.8()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libcap.so.2()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.17)(64bit) libpthread.so.0()(64bit) [ 350s] Processing files: linux-tizen-modules-tests-debuginfo-7.5.1-0.aarch64 [ 350s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 350s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 350s] [ 350s] Provides: linux-tizen-modules-tests-debuginfo = 7.5.1-0 linux-tizen-modules-tests-debuginfo(aarch-64) = 7.5.1-0 [ 350s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 350s] Recommends: linux-tizen-modules-source-debugsource(aarch-64) = 7.5.1-0 [ 350s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.1-0.aarch64 [ 351s] Wrote: /home/abuild/rpmbuild/RPMS/aarch64/linux-tizen-modules-source-7.5.1-0.aarch64.rpm [ 351s] Wrote: /home/abuild/rpmbuild/RPMS/aarch64/linux-tizen-modules-source-debugsource-7.5.1-0.aarch64.rpm [ 352s] Wrote: /home/abuild/rpmbuild/RPMS/aarch64/linux-tizen-modules-headers-7.5.1-0.aarch64.rpm [ 352s] Wrote: /home/abuild/rpmbuild/RPMS/aarch64/linux-tizen-modules-tests-7.5.1-0.aarch64.rpm [ 353s] Wrote: /home/abuild/rpmbuild/RPMS/aarch64/linux-tizen-modules-tests-debuginfo-7.5.1-0.aarch64.rpm [ 353s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.jx4FL5 [ 353s] + umask 022 [ 353s] + cd /home/abuild/rpmbuild/BUILD [ 353s] + cd linux-tizen-modules-source-7.5.1 [ 353s] + /bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/linux-tizen-modules-source-7.5.1-0.aarch64 [ 353s] + exit 0 [ 353s] ... checking for files with abuild user/group [ 354s] ... creating baselibs [ 357s] [ 357s] ip-192-168-56-158 finished "build linux-tizen-modules-source.spec" at Mon Sep 1 08:46:27 UTC 2025. [ 357s]