test/test_git.rb in hoc-0.5 vs test/test_git.rb in hoc-0.6
- old
+ new
@@ -71,13 +71,13 @@
set -e
cd '#{dir}'
git init .
git config user.email test@teamed.io
git config user.name test
- dd if=/dev/random of=test.dat bs=1 count=65536
+ dd if=/dev/urandom of=test.dat bs=1 count=65536
git add test.dat
git commit -am 'binary file'
- dd if=/dev/random of=test.dat bs=1 count=65536
+ dd if=/dev/urandom of=test.dat bs=1 count=65536
git add test.dat
git commit -am 'binary file modified'
")
hits = HOC::Git.new(dir, []).hits
assert_equal 1, hits.size