[LTP] [PATCH 29/31] lib: Remove -C option and self_exec.c

Petr Vorel pvorel@suse.cz
Thu Apr 11 22:56:09 CEST 2024


Hi Cyril,

> Hi!
> >  static void parse_opts(int argc, char *argv[])
> >  {
> >  	unsigned int i, topts_len = count_options();
> > @@ -704,15 +698,6 @@ static void parse_opts(int argc, char *argv[])
> >  			else
> >  				duration = SAFE_STRTOF(optarg, 0.1, HUGE_VALF);
> >  		break;
> > -		case 'V':
> > -			fprintf(stderr, "LTP version: " LTP_VERSION "\n");
> > -			exit(0);
> > -		break;

> This should stay.

Thanks for catching -V. I wonder myself why I removed it.

So far 2 changes, fixes are in remove-UCLINUX.rebased.fixes in my LTP fork:

https://github.com/pevik/ltp/commits/remove-UCLINUX.rebased.fixes/

Kind regards,
Petr

> > -		case 'C':
> > -#ifdef UCLINUX
> > -			child_args = optarg;
> > -#endif
> > -		break;
> >  		default:
> >  			parse_topt(topts_len, opt, optarg);
> >  		}


More information about the ltp mailing list