fix: test_dev_null_write() was not using echo as intended (#923)

I believe this test meant to verify that echoing content to `/dev/null`
succeeded, but instead, I believe it was testing the equivalent to `echo
'blah > /dev/null'`.
This commit is contained in:
Michael Bolin
2025-05-13 21:40:26 -07:00
committed by GitHub
parent a5f3a34827
commit 5bf9445351

View File

@@ -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]