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

Li Wang liwang@redhat.com
Tue Dec 19 12:00:15 CET 2023


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

--- 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);


-- 
Regards,
Li Wang


More information about the ltp mailing list