summaryrefslogtreecommitdiff
path: root/t/t5313-pack-bounds-checks.sh
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2018-03-24 07:44:42 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-03-27 15:45:47 (GMT)
commitc680668d1aa6abf7e970355428838f8dc0ca4c1c (patch)
tree63da49632b1bc2561bf6efff13e8bca626a9cae0 /t/t5313-pack-bounds-checks.sh
parentdbceb3ecc5488408069283bbd091b2af9a1560df (diff)
downloadgit-c680668d1aa6abf7e970355428838f8dc0ca4c1c.zip
git-c680668d1aa6abf7e970355428838f8dc0ca4c1c.tar.gz
git-c680668d1aa6abf7e970355428838f8dc0ca4c1c.tar.bz2
t/helper: merge test-genrandom into test-tool
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5313-pack-bounds-checks.sh')
-rwxr-xr-xt/t5313-pack-bounds-checks.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t5313-pack-bounds-checks.sh b/t/t5313-pack-bounds-checks.sh
index 9372508..4fe4ad9 100755
--- a/t/t5313-pack-bounds-checks.sh
+++ b/t/t5313-pack-bounds-checks.sh
@@ -163,8 +163,8 @@ test_expect_success 'bogus offset inside v2 extended table' '
test_expect_success 'bogus OFS_DELTA in packfile' '
# Generate a pack with a delta in it.
- base=$(test-genrandom foo 3000 | git hash-object --stdin -w) &&
- delta=$(test-genrandom foo 2000 | git hash-object --stdin -w) &&
+ base=$(test-tool genrandom foo 3000 | git hash-object --stdin -w) &&
+ delta=$(test-tool genrandom foo 2000 | git hash-object --stdin -w) &&
do_pack "$base $delta" --delta-base-offset &&
rm -f .git/objects/??/* &&