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:
@@ -194,7 +194,7 @@ mod tests {
|
|||||||
|
|
||||||
#[tokio::test]
|
#[tokio::test]
|
||||||
async fn test_dev_null_write() {
|
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]
|
#[tokio::test]
|
||||||
|
|||||||
Reference in New Issue
Block a user