[LTP] [PATCH v4 04/10] ioctl02: Rename option -D => -d

Petr Vorel pvorel@suse.cz
Tue Dec 19 12:42:58 CET 2023


Hi Li, all,


> And, we need to correct the option info for -d.

Good catch. It looks this was the only test which mentioned -D.
I'll fix that before merge.

Kind regards,
Petr

> --- a/testcases/kernel/syscalls/ioctl/ioctl02.c
> +++ b/testcases/kernel/syscalls/ioctl/ioctl02.c
> @@ -223,7 +223,7 @@ static void do_child(void)
>  static void setup(void)
>  {
>         if (!device)
> -               tst_brk(TBROK, "You must specify a tty device with -D
> option");
> +               tst_brk(TBROK, "You must specify a tty device with -d
> option");

>         int fd = SAFE_OPEN(device, O_RDWR, 0777);


More information about the ltp mailing list