From 9bf3522cb505306c1f158d4eca0260feb8c37f48 Mon Sep 17 00:00:00 2001 From: Sebastian Bernauer Date: Fri, 4 Dec 2026 08:30:04 +0100 Subject: [PATCH] test: Fix tests on systems withput /bin/bash (e.g. NixOS) --- crates/stackable-operator/src/utils/bash.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/stackable-operator/src/utils/bash.rs b/crates/stackable-operator/src/utils/bash.rs index 9bd8d7bf5..6bec385e0 100644 --- a/crates/stackable-operator/src/utils/bash.rs +++ b/crates/stackable-operator/src/utils/bash.rs @@ -91,7 +91,7 @@ wait_for_termination() /// status and stdout. #[cfg(test)] pub(crate) fn run_container_script(script: &str) -> (i32, String) { - let output = std::process::Command::new("/bin/bash") + let output = std::process::Command::new("bash") .args(["-euo", "pipefail", "-c", script]) .output() .expect("bash should be executable in the test environment");