mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27:44 +00:00
Removing debug code
This commit is contained in:
parent
c60d3866c3
commit
a69cb11de9
1 changed files with 0 additions and 2 deletions
|
@ -355,10 +355,8 @@ fn test_dev_random() {
|
||||||
|
|
||||||
let mut proc = new_ucmd!().args(&[rand_gen()]).run_no_wait();
|
let mut proc = new_ucmd!().args(&[rand_gen()]).run_no_wait();
|
||||||
let mut proc_stdout = proc.stdout.take().unwrap();
|
let mut proc_stdout = proc.stdout.take().unwrap();
|
||||||
println!("I got to 1");
|
|
||||||
proc_stdout.read_exact(&mut buf).unwrap();
|
proc_stdout.read_exact(&mut buf).unwrap();
|
||||||
|
|
||||||
println!("I got to 3");
|
|
||||||
let num_zeroes = buf.iter().fold(0, |mut acc, &n| {
|
let num_zeroes = buf.iter().fold(0, |mut acc, &n| {
|
||||||
if n == 0 {
|
if n == 0 {
|
||||||
acc += 1;
|
acc += 1;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue