X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft5301-sliding-window.sh;h=073ac0c6f9dd3d06474b1b81c8c7b622dcfee663;hb=38c9c9b798a0df875968ae49d699298131dfa24d;hp=a6dbb04a86c06cabb22810822dd0f079c9268dd7;hpb=53a58245863eff3d70aaa3ac75d7d57e843fc91d;p=git.git diff --git a/t/t5301-sliding-window.sh b/t/t5301-sliding-window.sh index a6dbb04a8..073ac0c6f 100755 --- a/t/t5301-sliding-window.sh +++ b/t/t5301-sliding-window.sh @@ -12,49 +12,49 @@ test_expect_success \ for i in a b c do echo $i >$i && - dd if=/dev/urandom bs=32k count=1 >>$i && - git-update-index --add $i || return 1 + test-genrandom "$i" 32768 >>$i && + git update-index --add $i || return 1 done && - echo d >d && cat c >>d && git-update-index --add d && - tree=`git-write-tree` && - commit1=`git-commit-tree $tree d && cat c >>d && git update-index --add d && + tree=`git write-tree` && + commit1=`git commit-tree $tree