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

Andrea Cervesato via ltp
2024-10-31T14:53:17Z

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