From 39551b6926ef869e15af41f4eaa9356da98b2b5e Mon Sep 17 00:00:00 2001 From: Nicolas Pitre Date: Wed, 11 Apr 2007 13:35:13 -0400 Subject: use test-genrandom in tests instead of /dev/urandom This way tests are completely deterministic and possibly more portable. Signed-off-by: Nicolas Pitre --- t/t5301-sliding-window.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 't/t5301-sliding-window.sh') diff --git a/t/t5301-sliding-window.sh b/t/t5301-sliding-window.sh index a6dbb04a86..fce77f1255 100755 --- a/t/t5301-sliding-window.sh +++ b/t/t5301-sliding-window.sh @@ -12,7 +12,7 @@ test_expect_success \ for i in a b c do echo $i >$i && - dd if=/dev/urandom bs=32k count=1 >>$i && + test-genrandom "$i" 32768 >>$i && git-update-index --add $i || return 1 done && echo d >d && cat c >>d && git-update-index --add d && -- cgit v1.2.3