seccomp / libseccomp

The main libseccomp repository
GNU Lesser General Public License v2.1
810 stars 173 forks source link

RFE: check the -s flag value in regression script #344

Closed Cypresslin closed 3 years ago

Cypresslin commented 3 years ago

Add help message to explain how to assign multiple tests with the -s flag.

Also, check the input value for the -s flag to make sure it's in a proper format. Example:

$ ./regression -s 11-basic-basic_errors
Please just enter number for the -s flag, terminating...

Signed-off-by: Po-Hsu Lin \po-hsu.lin@canonical.com\

pcmoore commented 3 years ago

Please see my comment in https://github.com/seccomp/libseccomp/issues/345, I think you are confusing the '-b' and '-s' options.

Cypresslin commented 3 years ago

Yes I got confused by the definition of "batch of tests" and "individual test number". This can be closed. Thanks!