[LTP] [PATCH] [RFC] zram01: Fix on ppc64le

Cyril Hrubis
2017-02-09T12:02:45Z

Hi!
> There is still one unsolved problem since the TWARN messages from the
> tst_device.c will trigger TBROK in tst_test.c since the IPC is not
> initialized. I'm still unsure how to fix that, maybe we should allow to
> allocate non-shared structure for the results in the special case that
> the library code is being reused in shell helpers.

Maybe we should just add an API to redirect tst_brk() and tst_res() so
that we could use library code in the various non-test utilities. Maybe
we could patch things up so that we could use SAFE_MACROS() in cleanup
as well...