From: Alexei Starovoitov Date: Wed, 7 Aug 2019 00:17:52 +0000 (-0700) Subject: Merge branch 'test_progs-stdio' X-Git-Tag: v5.4-rc1~131^2~248^2~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=682cdbdc216028f5340e48e92e59e3e9503957bb;p=platform%2Fkernel%2Flinux-rpi.git Merge branch 'test_progs-stdio' Stanislav Fomichev says: ==================== I was looking into converting test_sockops* to test_progs framework and that requires using cgroup_helpers.c which rely on stdio/stderr. Let's use open_memstream to override stdout into buffer during subtests instead of custom test_{v,}printf wrappers. That lets us continue to use stdio in the subtests and dump it on failure if required. That would also fix bpf_find_map which currently uses printf to signal failure (missed during test_printf conversion). ==================== Signed-off-by: Alexei Starovoitov --- 682cdbdc216028f5340e48e92e59e3e9503957bb