1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 11:37:44 +00:00

fuzz: flush after calling uumain - was failing with printf

This commit is contained in:
Sylvestre Ledru 2023-11-08 12:46:46 +01:00
parent 2e0e88c3ac
commit 5fed5443e4

View file

@ -64,6 +64,7 @@ where
} }
uumain_exit_status = uumain_function(args.to_owned().into_iter()); uumain_exit_status = uumain_function(args.to_owned().into_iter());
io::stdout().flush().unwrap();
// Restore the original stdout // Restore the original stdout
unsafe { unsafe {