We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d07a2f0 + c23dbd3 commit be81602Copy full SHA for be81602
fuzz/fuzz_targets/fuzz_common.rs
@@ -125,6 +125,9 @@ where
125
let out = s.spawn(|| read_from_fd(pipe_stdout_fds[0]));
126
let err = s.spawn(|| read_from_fd(pipe_stderr_fds[0]));
127
let status = uumain_function(args.to_owned().into_iter());
128
+ // Reset the exit code global variable in case we run another test after this one
129
+ // See https://github.com/uutils/coreutils/issues/5777
130
+ uucore::error::set_exit_code(0);
131
io::stdout().flush().unwrap();
132
io::stderr().flush().unwrap();
133
unsafe {
0 commit comments