linux-stable/tools/testing/selftests/exec
Kees Cook 472874cf7b selftests/exec: Convert remaining /bin/sh to /bin/bash
As was intended with commit 1710742994 ("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: 1710742994 ("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>
2024-03-18 11:19:37 -07:00
..
.gitignore selftests/exec: add generated files to .gitignore 2022-03-03 15:17:04 -07:00
binfmt_script.py selftests/exec: binfmt_script: Add the overall result line according to TAP 2024-03-13 11:53:45 -07:00
execveat.c selftests/exec: execveat: Improve debug reporting 2024-03-18 11:19:37 -07:00
load_address.c selftests/exec: load_address: conform test to TAP format output 2024-03-13 11:54:19 -07:00
Makefile selftests/exec: Convert remaining /bin/sh to /bin/bash 2024-03-18 11:19:37 -07:00
non-regular.c selftests/exec: add file type errno tests 2020-08-14 19:56:56 -07:00
null-argv.c selftests/exec: Test for empty string on NULL argv 2022-03-01 16:16:27 -08:00
recursion-depth.c selftests/exec: recursion-depth: conform test to TAP format output 2024-03-13 11:54:19 -07:00