selftests/exec: Convert remaining /bin/sh to /bin/bash
authorKees Cook <keescook@chromium.org>
Fri, 15 Mar 2024 18:26:35 +0000 (11:26 -0700)
committerKees Cook <keescook@chromium.org>
Mon, 18 Mar 2024 18:19:37 +0000 (11:19 -0700)
commit472874cf7bb34895ae69483338359df84e76f3e1
treead43bbb1ac7a8124b7ad5fba28a69aa547779459
parent0ef58ccb6178b1a40edfd027d8a11a52fa629215
selftests/exec: Convert remaining /bin/sh to /bin/bash

As was intended with commit 17107429947b ("selftests/exec: Perform script
checks with /bin/bash"), convert the other instance of /bin/sh to
/bin/bash. It appears that at least Debian Bookworm's /bin/sh (dash)
does not conform to POSIX's "return 127 when script not found"
requirement.

Fixes: 17107429947b ("selftests/exec: Perform script checks with /bin/bash")
Reported-by: Muhammad Usama Anjum <usama.anjum@collabora.com>
Closes: https://lore.kernel.org/lkml/02c8bf8e-1934-44ab-a886-e065b37366a7@collabora.com/
Signed-off-by: Kees Cook <keescook@chromium.org>
tools/testing/selftests/exec/Makefile