summaryrefslogtreecommitdiff
path: root/rust/kernel
diff options
context:
space:
mode:
authorMiguel Ojeda <ojeda@kernel.org>2026-07-19 15:07:23 +0200
committerMiguel Ojeda <ojeda@kernel.org>2026-08-03 08:03:24 +0200
commitfd045c81ed45517b023ea95e7b80a801c48e5463 (patch)
tree29fb405f296a2570d10e561f817affd6cbba49f1 /rust/kernel
parent16861ca3508e0deac70d3bcacb6dcf435b49d9ef (diff)
rust: rust_is_available: support testing with `bash` as `/bin/sh`
`command -v` behaves differently on `dash` vs. `bash` when faced with a file without the execute bit. Thus, for the non-executable `rustc` and `bindgen` tests, support both possible outputs that the script currently gives. This makes the test script clean on distributions like Fedora. Reviewed-by: Onur Özkan <work@onurozkan.dev> Link: https://patch.msgid.link/20260719130723.162899-1-ojeda@kernel.org [ Added custom assertion message as suggested. - Miguel ] Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'rust/kernel')
0 files changed, 0 insertions, 0 deletions