[LTP] [PATCH] open_posix: Remove hardcoded /tmp
Joerg Vehlow
lkml@jv-coder.de
Wed Mar 17 07:13:19 CET 2021
Hi,
> It'd be great if a passing string end with the suffix "_", be used to
> clearly distinguish the PID number.
>
> Something like:
> LTP_GET_TMP_FILENAME(tmpfname, "pts_aio_cancel_1_1_");
>
> This comment applies to all of the changing files in this patch, or we
> can modify it in the macro prototype.
Is this really of any use? I was also thinking about removing the prefix
part of the filename completely.
I just decided to keep it, so files, that are not deleted automatically
can be identified as belonging to the test.
If I would implement this, then only in the macro definition.
Jörg
More information about the ltp
mailing list