Skip to contentSkip to conversation

selftests: Use ktap helpers for runner.sh

PATCH Qingfang Deng 2 participants 2 messages Apr 16 – Apr 17

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

Hi, Hangbin

This patch broke selftests run with make -C tools/testing/selftests as make uses /bin/sh by default:

/bin/sh: 5: /home/qf/linux-next/tools/testing/selftests/kselftest/runner.sh: Bad substitution

Add SHELL := /bin/bash to the start of lib.mk to fix this.

#1 lore raw
Quoted 9 lines · Qingfang Deng

Hi, Hangbin

This patch broke selftests run with make -C tools/testing/selftests as make uses /bin/sh by default:

/bin/sh: 5: /home/qf/linux-next/tools/testing/selftests/kselftest/runner.sh:
Bad substitution

Add SHELL := /bin/bash to the start of lib.mk to fix this.

Hi Qingfang,

Thanks for the report. I saw Mark helped fix this issue. Sorry for the inconvenient.

hangbin