use test-genrandom in tests instead of /dev/urandom
This way tests are completely deterministic and possibly more portable. Signed-off-by: Nicolas Pitre <nico@cam.org>maint
parent
2dca1af448
commit
39551b6926
|
@ -12,7 +12,7 @@ test_expect_success \
|
||||||
for i in a b c
|
for i in a b c
|
||||||
do
|
do
|
||||||
echo $i >$i &&
|
echo $i >$i &&
|
||||||
dd if=/dev/urandom bs=32k count=1 >>$i &&
|
test-genrandom "$i" 32768 >>$i &&
|
||||||
git-update-index --add $i || return 1
|
git-update-index --add $i || return 1
|
||||||
done &&
|
done &&
|
||||||
echo d >d && cat c >>d && git-update-index --add d &&
|
echo d >d && cat c >>d && git-update-index --add d &&
|
||||||
|
|
Loading…
Reference in New Issue