[LTP] [PATCH v2 1/2] syscalls/symlink02: Convert to new API

Petr Vorel pvorel@suse.cz
Thu Oct 26 00:46:50 CEST 2023


Hi Xu,

> The original test didn't produce any output results.
> Use tst_macro to enable test to produce output results.

> Signed-off-by: Yang Xu <xuyang2018.jy@fujitsu.com>
> ---
>  testcases/kernel/syscalls/symlink/symlink02.c | 218 ++----------------
>  1 file changed, 25 insertions(+), 193 deletions(-)

> diff --git a/testcases/kernel/syscalls/symlink/symlink02.c b/testcases/kernel/syscalls/symlink/symlink02.c
> index c18db2b37..c152bb2b7 100644
> --- a/testcases/kernel/syscalls/symlink/symlink02.c
> +++ b/testcases/kernel/syscalls/symlink/symlink02.c
> @@ -1,208 +1,40 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>  /*
>   * Copyright (c) 2000 Silicon Graphics, Inc.  All Rights Reserved.
> - *
> - * This program is free software; you can redistribute it and/or modify it
> - * under the terms of version 2 of the GNU General Public License as
> - * published by the Free Software Foundation.

Unfortunately this is GPL v2 only.

I fixed that and merged also with Li's RBT (he added it to v1 and pointed out
the useless fd).

Thanks!

Kind regards,
Petr


More information about the ltp mailing list