From: Filipe Manana Date: Mon, 12 Jan 2026 13:44:09 +0000 (+0000) Subject: fsx: add missing -T option to getopt_long() X-Git-Tag: v2026.01.27~10 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=e0ded76267f99ecfeb3e27696489df98d75d7209;p=xfstests-dev.git fsx: add missing -T option to getopt_long() Currently fsx fails with an invalid argument error when we pass the -T option (do not use dontcache IO) to it because it's not listed in the gepopt_long() call. Fix this and add T to the getopt_long() call. Signed-off-by: Filipe Manana Reviewed-by: Darrick J. Wong Reviewed-by: Christoph Hellwig Reviewed-by: Zorro Lang Signed-off-by: Zorro Lang --- diff --git a/ltp/fsx.c b/ltp/fsx.c index 626976dd..8626662b 100644 --- a/ltp/fsx.c +++ b/ltp/fsx.c @@ -3160,7 +3160,7 @@ main(int argc, char **argv) setvbuf(stdout, (char *)0, _IOLBF, 0); /* line buffered stdout */ while ((ch = getopt_long(argc, argv, - "0ab:c:de:fg:hi:j:kl:m:no:p:qr:s:t:uw:xyABD:EFJKHzCILN:OP:RS:UWXZ", + "0ab:c:de:fg:hi:j:kl:m:no:p:qr:s:t:uw:xyABD:EFJKHzCILN:TOP:RS:UWXZ", longopts, NULL)) != EOF) switch (ch) { case 'a':