Skip to content

Commit

Permalink
try using du to rank file size
Browse files Browse the repository at this point in the history
  • Loading branch information
XrXr committed Aug 30, 2024
1 parent d788ff0 commit a5ecbb6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tool/lib/test/unit.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1617,7 +1617,8 @@ def _run_anything type
puts "Finished%s %ss in %.6fs, %.4f tests/s, %.4f assertions/s.\n" %
[(@repeat_count ? "(#{@@current_repeat_count}/#{@repeat_count}) " : ""), type,
t, @test_count.fdiv(t), @assertion_count.fdiv(t)]
puts IO.popen(%W[df -h #{ENV["TMPDIR"]}], &:read)
puts IO.popen('du -h /System/Volumes/Data/Users/ 2>/dev/null | sort -hbr', &:read)

end while @repeat_count && @@current_repeat_count < @repeat_count &&
report.empty? && failures.zero? && errors.zero?

Expand Down

0 comments on commit a5ecbb6

Please sign in to comment.