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>
Nicolas Pitre committed
Apr 11, 2007 at 13:35 UTC
39551b6926ef869e15af41f4eaa9356da98b2b5e
1 file changed
+1
-1
t/t5301-sliding-window.sh
+1
-1
@@ -12,7 +12,7 @@ test_expect_success \
12
for i in a b c
13
do
14
echo $i >$i &&
15
- dd if=/dev/urandom bs=32k count=1 >>$i &&
15
+ test-genrandom "$i" 32768 >>$i &&
16
git-update-index --add $i || return 1
17
done &&
18
echo d >d && cat c >>d && git-update-index --add d &&