[systemd-devel] [PATCH] tests: unlink temp file used in test

Tom Gundersen teg at jklm.no
Mon Jun 16 11:38:29 PDT 2014


Hi Ronny,

Thanks for all the tests, very much appreciated!

All merged.

Cheers,

Tom

On Sun, Jun 15, 2014 at 10:47 PM, Ronny Chevalier
<chevalier.ronny at gmail.com> wrote:
> ---
>  src/test/test-util.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/src/test/test-util.c b/src/test/test-util.c
> index 2b46699..35dd63f 100644
> --- a/src/test/test-util.c
> +++ b/src/test/test-util.c
> @@ -654,6 +654,8 @@ static void test_writing_tmpfile(void) {
>          assert(r == 0);
>          printf("contents: %s", contents);
>          assert(streq(contents, "abc\n" ALPHANUMERICAL "\n"));
> +
> +        unlink(name);
>  }
>
>  static void test_hexdump(void) {
> --
> 2.0.0
>
> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/systemd-devel


More information about the systemd-devel mailing list