From 1723bffa192e80fdcf52bfab19057d41c6005889 Mon Sep 17 00:00:00 2001 From: Michael Bolin Date: Tue, 13 May 2025 19:17:10 -0700 Subject: [PATCH] fix: test_dev_null_write() was not using echo as intended --- codex-rs/core/src/landlock.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codex-rs/core/src/landlock.rs b/codex-rs/core/src/landlock.rs index 9a1d28499a..bc5713b29d 100644 --- a/codex-rs/core/src/landlock.rs +++ b/codex-rs/core/src/landlock.rs @@ -194,7 +194,7 @@ mod tests { #[tokio::test] async fn test_dev_null_write() { - run_cmd(&["echo", "blah", ">", "/dev/null"], &[], 200).await; + run_cmd(&["bash", "-lc", "echo blah > /dev/null"], &[], 200).await; } #[tokio::test]