[LTP] [PATCH v7 2/4] Add script to generate arch(s) dependant syscalls

Andrea Cervesato andrea.cervesato@suse.com
Thu Oct 31 15:52:48 CET 2024


The kernel doesn't need to be compiled. That's done by the script via 
`make headers` command. I don't know why that is happening honestly.

On 10/31/24 14:58, Petr Vorel wrote:
> That fails in generate_table on:
> if [ $bits == 32 ]; then

That's because the right syntax should be (for bash):

if [[ "$bits" == "32" ]]; then

But in other shells sh compatible, probably I should use:

if [ "$bits" -eq "32" ]; then


I'm gonna fix this.

Andrea



More information about the ltp mailing list