From 218caa410aa38c29984be31a5229b9fa717560ee Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:19:13 +0200 Subject: Merging upstream version 1.68.2+dfsg1. Signed-off-by: Daniel Baumann --- src/test/ui/process/issue-14940.rs | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 src/test/ui/process/issue-14940.rs (limited to 'src/test/ui/process/issue-14940.rs') diff --git a/src/test/ui/process/issue-14940.rs b/src/test/ui/process/issue-14940.rs deleted file mode 100644 index 98a4af0c4..000000000 --- a/src/test/ui/process/issue-14940.rs +++ /dev/null @@ -1,19 +0,0 @@ -// run-pass -// ignore-emscripten no processes -// ignore-sgx no processes - -use std::env; -use std::process::Command; -use std::io::{self, Write}; - -fn main() { - let mut args = env::args(); - if args.len() > 1 { - let mut out = io::stdout(); - out.write(&['a' as u8; 128 * 1024]).unwrap(); - } else { - let out = Command::new(&args.next().unwrap()).arg("child").output(); - let out = out.unwrap(); - assert!(out.status.success()); - } -} -- cgit v1.2.3