Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
t/helper: merge test-genrandom into test-tool
author
Nguyễn Thái Ngọc Duy
<pclouds@gmail.com>
Sat, 24 Mar 2018 07:44:42 +0000
(08:44 +0100)
committer
Junio C Hamano
<gitster@pobox.com>
Tue, 27 Mar 2018 15:45:47 +0000
(08:45 -0700)
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
22 files changed:
Makefile
patch
|
blob
|
history
t/helper/test-genrandom.c
patch
|
blob
|
history
t/helper/test-tool.c
patch
|
blob
|
history
t/helper/test-tool.h
patch
|
blob
|
history
t/t0005-signals.sh
patch
|
blob
|
history
t/t0021-conversion.sh
patch
|
blob
|
history
t/t1006-cat-file.sh
patch
|
blob
|
history
t/t1050-large.sh
patch
|
blob
|
history
t/t5000-tar-tree.sh
patch
|
blob
|
history
t/t5300-pack-object.sh
patch
|
blob
|
history
t/t5301-sliding-window.sh
patch
|
blob
|
history
t/t5302-pack-index.sh
patch
|
blob
|
history
t/t5303-pack-corruption-resilience.sh
patch
|
blob
|
history
t/t5310-pack-bitmaps.sh
patch
|
blob
|
history
t/t5313-pack-bounds-checks.sh
patch
|
blob
|
history
t/t5314-pack-cycle-detection.sh
patch
|
blob
|
history
t/t5316-pack-delta-depth.sh
patch
|
blob
|
history
t/t5546-receive-limits.sh
patch
|
blob
|
history
t/t5547-push-quarantine.sh
patch
|
blob
|
history
t/t5608-clone-2gb.sh
patch
|
blob
|
history
t/t9300-fast-import.sh
patch
|
blob
|
history
t/t9802-git-p4-filetype.sh
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
dbceb3e
)
diff --git
a/Makefile
b/Makefile
index 895b170fe3247c78f58155ac94e0131d27693da5..d0bc6cfecfd86e67ac6d5d80f50f5368cb107c8c 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-661,13
+661,13
@@
TEST_BUILTINS_OBJS += test-drop-caches.o
TEST_BUILTINS_OBJS += test-dump-cache-tree.o
TEST_BUILTINS_OBJS += test-dump-split-index.o
TEST_BUILTINS_OBJS += test-example-decorate.o
TEST_BUILTINS_OBJS += test-dump-cache-tree.o
TEST_BUILTINS_OBJS += test-dump-split-index.o
TEST_BUILTINS_OBJS += test-example-decorate.o
+TEST_BUILTINS_OBJS += test-genrandom.o
TEST_BUILTINS_OBJS += test-lazy-init-name-hash.o
TEST_BUILTINS_OBJS += test-sha1.o
TEST_PROGRAMS_NEED_X += test-dump-fsmonitor
TEST_PROGRAMS_NEED_X += test-dump-untracked-cache
TEST_PROGRAMS_NEED_X += test-fake-ssh
TEST_BUILTINS_OBJS += test-lazy-init-name-hash.o
TEST_BUILTINS_OBJS += test-sha1.o
TEST_PROGRAMS_NEED_X += test-dump-fsmonitor
TEST_PROGRAMS_NEED_X += test-dump-untracked-cache
TEST_PROGRAMS_NEED_X += test-fake-ssh
-TEST_PROGRAMS_NEED_X += test-genrandom
TEST_PROGRAMS_NEED_X += test-hashmap
TEST_PROGRAMS_NEED_X += test-index-version
TEST_PROGRAMS_NEED_X += test-line-buffer
TEST_PROGRAMS_NEED_X += test-hashmap
TEST_PROGRAMS_NEED_X += test-index-version
TEST_PROGRAMS_NEED_X += test-line-buffer
diff --git
a/t/helper/test-genrandom.c
b/t/helper/test-genrandom.c
index 8d11d22d98649900b6d558cc174e2af1dbff9948..99b8dc1e2d9cdc3a0e0f464fdeee0f94733d00d1 100644
(file)
--- a/
t/helper/test-genrandom.c
+++ b/
t/helper/test-genrandom.c
@@
-4,9
+4,10
@@
* Copyright (C) 2007 by Nicolas Pitre, licensed under the GPL version 2.
*/
* Copyright (C) 2007 by Nicolas Pitre, licensed under the GPL version 2.
*/
+#include "test-tool.h"
#include "git-compat-util.h"
#include "git-compat-util.h"
-int cmd_
main
(int argc, const char **argv)
+int cmd_
_genrandom
(int argc, const char **argv)
{
unsigned long count, next = 0;
unsigned char *c;
{
unsigned long count, next = 0;
unsigned char *c;
diff --git
a/t/helper/test-tool.c
b/t/helper/test-tool.c
index 55799069cc12d0a4ec8c69219a1279d23b52a4ef..f52cbcfe670844a769b9459b68e1911c21a458ba 100644
(file)
--- a/
t/helper/test-tool.c
+++ b/
t/helper/test-tool.c
@@
-16,6
+16,7
@@
static struct test_cmd cmds[] = {
{ "dump-cache-tree", cmd__dump_cache_tree },
{ "dump-split-index", cmd__dump_split_index },
{ "example-decorate", cmd__example_decorate },
{ "dump-cache-tree", cmd__dump_cache_tree },
{ "dump-split-index", cmd__dump_split_index },
{ "example-decorate", cmd__example_decorate },
+ { "genrandom", cmd__genrandom },
{ "lazy-init-name-hash", cmd__lazy_init_name_hash },
{ "sha1", cmd__sha1 },
};
{ "lazy-init-name-hash", cmd__lazy_init_name_hash },
{ "sha1", cmd__sha1 },
};
diff --git
a/t/helper/test-tool.h
b/t/helper/test-tool.h
index 721a1e1b09e37cdd4b57823a924d812b91aff75d..f7ec6ae0c34bd0a7c0958fb0dd509b81f95592cd 100644
(file)
--- a/
t/helper/test-tool.h
+++ b/
t/helper/test-tool.h
@@
-10,6
+10,7
@@
int cmd__drop_caches(int argc, const char **argv);
int cmd__dump_cache_tree(int argc, const char **argv);
int cmd__dump_split_index(int argc, const char **argv);
int cmd__example_decorate(int argc, const char **argv);
int cmd__dump_cache_tree(int argc, const char **argv);
int cmd__dump_split_index(int argc, const char **argv);
int cmd__example_decorate(int argc, const char **argv);
+int cmd__genrandom(int argc, const char **argv);
int cmd__lazy_init_name_hash(int argc, const char **argv);
int cmd__sha1(int argc, const char **argv);
int cmd__lazy_init_name_hash(int argc, const char **argv);
int cmd__sha1(int argc, const char **argv);
diff --git
a/t/t0005-signals.sh
b/t/t0005-signals.sh
index 46042f1f1338f628d5256f0e932a4037e98b34ab..c16947cf5db97ef66d12c4b48ee81386ea7a103d 100755
(executable)
--- a/
t/t0005-signals.sh
+++ b/
t/t0005-signals.sh
@@
-36,7
+36,7
@@
large_git () {
}
test_expect_success 'create blob' '
}
test_expect_success 'create blob' '
- test-genrandom foo 16384 >file &&
+ test-
tool
genrandom foo 16384 >file &&
git add file
'
git add file
'
diff --git
a/t/t0021-conversion.sh
b/t/t0021-conversion.sh
index 46f8e583c37da7d03d715ea5cb1a4ee5bbe0ca28..9479a4aaabc1a4187fc702f864642ac493508bb9 100755
(executable)
--- a/
t/t0021-conversion.sh
+++ b/
t/t0021-conversion.sh
@@
-19,7
+19,7
@@
write_script rot13-filter.pl "$PERL_PATH" \
generate_random_characters () {
LEN=$1
NAME=$2
generate_random_characters () {
LEN=$1
NAME=$2
- test-genrandom some-seed $LEN |
+ test-
tool
genrandom some-seed $LEN |
perl -pe "s/./chr((ord($&) % 26) + ord('a'))/sge" >"$TEST_ROOT/$NAME"
}
perl -pe "s/./chr((ord($&) % 26) + ord('a'))/sge" >"$TEST_ROOT/$NAME"
}
@@
-267,7
+267,7
@@
test_expect_success 'filtering large input to small output should use little mem
'
test_expect_success 'filter that does not read is fine' '
'
test_expect_success 'filter that does not read is fine' '
- test-genrandom foo $((128 * 1024 + 1)) >big &&
+ test-
tool
genrandom foo $((128 * 1024 + 1)) >big &&
echo "big filter=epipe" >.gitattributes &&
test_config filter.epipe.clean "echo xyzzy" &&
git add big &&
echo "big filter=epipe" >.gitattributes &&
test_config filter.epipe.clean "echo xyzzy" &&
git add big &&
diff --git
a/t/t1006-cat-file.sh
b/t/t1006-cat-file.sh
index b19f3326946203409fe0e428b9fc73d34134d756..2ac3b940c611db08fd48e5782db13d2f8f1d48ec 100755
(executable)
--- a/
t/t1006-cat-file.sh
+++ b/
t/t1006-cat-file.sh
@@
-282,7
+282,7
@@
test_expect_success "--batch-check with multiple sha1s gives correct format" '
'
test_expect_success 'setup blobs which are likely to delta' '
'
test_expect_success 'setup blobs which are likely to delta' '
- test-genrandom foo 10240 >foo &&
+ test-
tool
genrandom foo 10240 >foo &&
{ cat foo; echo plus; } >foo-plus &&
git add foo foo-plus &&
git commit -m foo &&
{ cat foo; echo plus; } >foo-plus &&
git add foo foo-plus &&
git commit -m foo &&
diff --git
a/t/t1050-large.sh
b/t/t1050-large.sh
index 6fd264cff0d6de1961656c2cd1193d8ce37e9a1f..f9eb143f43420b0e2f2b864b4f83f78de7886a7b 100755
(executable)
--- a/
t/t1050-large.sh
+++ b/
t/t1050-large.sh
@@
-103,9
+103,9
@@
test_expect_success 'packsize limit' '
# mid1 and mid2 will fit within 256k limit but
# appending mid3 will bust the limit and will
# result in a separate packfile.
# mid1 and mid2 will fit within 256k limit but
# appending mid3 will bust the limit and will
# result in a separate packfile.
- test-genrandom "a" $(( 66 * 1024 )) >mid1 &&
- test-genrandom "b" $(( 80 * 1024 )) >mid2 &&
- test-genrandom "c" $(( 128 * 1024 )) >mid3 &&
+ test-
tool
genrandom "a" $(( 66 * 1024 )) >mid1 &&
+ test-
tool
genrandom "b" $(( 80 * 1024 )) >mid2 &&
+ test-
tool
genrandom "c" $(( 128 * 1024 )) >mid3 &&
git add mid1 mid2 mid3 &&
count=0
git add mid1 mid2 mid3 &&
count=0
diff --git
a/t/t5000-tar-tree.sh
b/t/t5000-tar-tree.sh
index 266d052efb3f8a86d917e74eafc05c8d7dfee748..af4d9b88762889fb5d2b390f2251bbb39a52d266 100755
(executable)
--- a/
t/t5000-tar-tree.sh
+++ b/
t/t5000-tar-tree.sh
@@
-101,7
+101,7
@@
test_expect_success \
ten=0123456789 && hundred=$ten$ten$ten$ten$ten$ten$ten$ten$ten$ten &&
echo long filename >a/four$hundred &&
mkdir a/bin &&
ten=0123456789 && hundred=$ten$ten$ten$ten$ten$ten$ten$ten$ten$ten &&
echo long filename >a/four$hundred &&
mkdir a/bin &&
- test-genrandom "frotz" 500000 >a/bin/sh &&
+ test-
tool
genrandom "frotz" 500000 >a/bin/sh &&
printf "A\$Format:%s\$O" "$SUBSTFORMAT" >a/substfile1 &&
printf "A not substituted O" >a/substfile2 &&
if test_have_prereq SYMLINKS; then
printf "A\$Format:%s\$O" "$SUBSTFORMAT" >a/substfile1 &&
printf "A not substituted O" >a/substfile2 &&
if test_have_prereq SYMLINKS; then
diff --git
a/t/t5300-pack-object.sh
b/t/t5300-pack-object.sh
index 9c68b992511b7098df0570ca37e0add468a8a093..3bac1f20e09cf6b921078a93f6a6b5097317585c 100755
(executable)
--- a/
t/t5300-pack-object.sh
+++ b/
t/t5300-pack-object.sh
@@
-16,8
+16,8
@@
test_expect_success \
perl -e "print \"a\" x 4096;" > a &&
perl -e "print \"b\" x 4096;" > b &&
perl -e "print \"c\" x 4096;" > c &&
perl -e "print \"a\" x 4096;" > a &&
perl -e "print \"b\" x 4096;" > b &&
perl -e "print \"c\" x 4096;" > c &&
- test-genrandom "seed a" 2097152 > a_big &&
- test-genrandom "seed b" 2097152 > b_big &&
+ test-
tool
genrandom "seed a" 2097152 > a_big &&
+ test-
tool
genrandom "seed b" 2097152 > b_big &&
git update-index --add a a_big b b_big c &&
cat c >d && echo foo >>d && git update-index --add d &&
tree=$(git write-tree) &&
git update-index --add a a_big b b_big c &&
cat c >d && echo foo >>d && git update-index --add d &&
tree=$(git write-tree) &&
diff --git
a/t/t5301-sliding-window.sh
b/t/t5301-sliding-window.sh
index cae8c2e8822ccc1e464e3f5b71c99c1f6b1c2323..76f9798ab958cae2414cbcc496bbb22af85f0ac5 100755
(executable)
--- 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 &&
for i in a b c
do
echo $i >$i &&
-
test-
genrandom "$i" 32768 >>$i &&
+
test-tool
genrandom "$i" 32768 >>$i &&
git update-index --add $i || return 1
done &&
echo d >d && cat c >>d && git update-index --add d &&
git update-index --add $i || return 1
done &&
echo d >d && cat c >>d && git update-index --add d &&
diff --git
a/t/t5302-pack-index.sh
b/t/t5302-pack-index.sh
index d695a6082edf69c6ab377ea825519097f84162f3..bb9b8bb3097c05f6e28c37fa24fa27d5bb5b805d 100755
(executable)
--- a/
t/t5302-pack-index.sh
+++ b/
t/t5302-pack-index.sh
@@
-15,17
+15,17
@@
test_expect_success \
while test $i -le 100
do
iii=$(printf '%03i' $i)
while test $i -le 100
do
iii=$(printf '%03i' $i)
-
test-
genrandom "bar" 200 > wide_delta_$iii &&
-
test-
genrandom "baz $iii" 50 >> wide_delta_$iii &&
-
test-
genrandom "foo"$i 100 > deep_delta_$iii &&
-
test-
genrandom "foo"$(expr $i + 1) 100 >> deep_delta_$iii &&
-
test-
genrandom "foo"$(expr $i + 2) 100 >> deep_delta_$iii &&
+
test-tool
genrandom "bar" 200 > wide_delta_$iii &&
+
test-tool
genrandom "baz $iii" 50 >> wide_delta_$iii &&
+
test-tool
genrandom "foo"$i 100 > deep_delta_$iii &&
+
test-tool
genrandom "foo"$(expr $i + 1) 100 >> deep_delta_$iii &&
+
test-tool
genrandom "foo"$(expr $i + 2) 100 >> deep_delta_$iii &&
echo $iii >file_$iii &&
echo $iii >file_$iii &&
-
test-
genrandom "$iii" 8192 >>file_$iii &&
+
test-tool
genrandom "$iii" 8192 >>file_$iii &&
git update-index --add file_$iii deep_delta_$iii wide_delta_$iii &&
i=$(expr $i + 1) || return 1
done &&
git update-index --add file_$iii deep_delta_$iii wide_delta_$iii &&
i=$(expr $i + 1) || return 1
done &&
- { echo 101 && test-genrandom 100 8192; } >file_101 &&
+ { echo 101 && test-
tool
genrandom 100 8192; } >file_101 &&
git update-index --add file_101 &&
tree=$(git write-tree) &&
commit=$(git commit-tree $tree </dev/null) && {
git update-index --add file_101 &&
tree=$(git write-tree) &&
commit=$(git commit-tree $tree </dev/null) && {
diff --git
a/t/t5303-pack-corruption-resilience.sh
b/t/t5303-pack-corruption-resilience.sh
index 5940ce2084a6e9cc935a0e5784ff8b6bff8e035d..3634e258f8bf66c2c1917c1598f6f21486c08684 100755
(executable)
--- a/
t/t5303-pack-corruption-resilience.sh
+++ b/
t/t5303-pack-corruption-resilience.sh
@@
-19,14
+19,14
@@
test_description='resilience to pack corruptions with redundant objects'
# 3) object header is always 2 bytes.
create_test_files() {
# 3) object header is always 2 bytes.
create_test_files() {
- test-genrandom "foo" 2000 > file_1 &&
- test-genrandom "foo" 1800 > file_2 &&
- test-genrandom "foo" 1800 > file_3 &&
+ test-
tool
genrandom "foo" 2000 > file_1 &&
+ test-
tool
genrandom "foo" 1800 > file_2 &&
+ test-
tool
genrandom "foo" 1800 > file_3 &&
echo " base " >> file_1 &&
echo " delta1 " >> file_2 &&
echo " delta delta2 " >> file_3 &&
echo " base " >> file_1 &&
echo " delta1 " >> file_2 &&
echo " delta delta2 " >> file_3 &&
- test-genrandom "bar" 150 >> file_2 &&
- test-genrandom "baz" 100 >> file_3
+ test-
tool
genrandom "bar" 150 >> file_2 &&
+ test-
tool
genrandom "baz" 100 >> file_3
}
create_new_pack() {
}
create_new_pack() {
diff --git
a/t/t5310-pack-bitmaps.sh
b/t/t5310-pack-bitmaps.sh
index 20e2473a03b645d690b25598bc0cb2e421034b6c..f6d600fd82fd499a80f67f0a4ff1a60b4a1db1b5 100755
(executable)
--- a/
t/t5310-pack-bitmaps.sh
+++ b/
t/t5310-pack-bitmaps.sh
@@
-284,7
+284,7
@@
test_expect_success JGIT 'jgit can read our bitmaps' '
'
test_expect_success 'splitting packs does not generate bogus bitmaps' '
'
test_expect_success 'splitting packs does not generate bogus bitmaps' '
- test-genrandom foo $((1024 * 1024)) >rand &&
+ test-
tool
genrandom foo $((1024 * 1024)) >rand &&
git add rand &&
git commit -m "commit with big file" &&
git -c pack.packSizeLimit=500k repack -adb &&
git add rand &&
git commit -m "commit with big file" &&
git -c pack.packSizeLimit=500k repack -adb &&
diff --git
a/t/t5313-pack-bounds-checks.sh
b/t/t5313-pack-bounds-checks.sh
index 9372508c993e72ad99da004ca2400df81c721006..4fe4ad9d6166d9a82cb944fadfc0317b5052b973 100755
(executable)
--- 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.
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/??/* &&
do_pack "$base $delta" --delta-base-offset &&
rm -f .git/objects/??/* &&
diff --git
a/t/t5314-pack-cycle-detection.sh
b/t/t5314-pack-cycle-detection.sh
index f7dbdfb412f3ee139ce88e56d1cd8be166d3bbd2..f31995d3d28d9fcd590c91aed7686aef87e332af 100755
(executable)
--- a/
t/t5314-pack-cycle-detection.sh
+++ b/
t/t5314-pack-cycle-detection.sh
@@
-73,7
+73,7
@@
make_pack () {
}
test_expect_success 'setup' '
}
test_expect_success 'setup' '
- test-genrandom base 4096 >base &&
+ test-
tool
genrandom base 4096 >base &&
for i in one two
do
# we want shared content here to encourage deltas...
for i in one two
do
# we want shared content here to encourage deltas...
diff --git
a/t/t5316-pack-delta-depth.sh
b/t/t5316-pack-delta-depth.sh
index 2ed479b712aed7a8f11c8495c0eba72788eb4f26..0f06c40eb13f31d8f06962dd1c88c5ff5810618f 100755
(executable)
--- a/
t/t5316-pack-delta-depth.sh
+++ b/
t/t5316-pack-delta-depth.sh
@@
-47,7
+47,7
@@
test_description='pack-objects breaks long cross-pack delta chains'
# repeatedly-modified file to generate the delta chain).
test_expect_success 'create series of packs' '
# repeatedly-modified file to generate the delta chain).
test_expect_success 'create series of packs' '
- test-genrandom foo 4096 >content &&
+ test-
tool
genrandom foo 4096 >content &&
prev= &&
for i in $(test_seq 1 10)
do
prev= &&
for i in $(test_seq 1 10)
do
diff --git
a/t/t5546-receive-limits.sh
b/t/t5546-receive-limits.sh
index 10cb0be2b7ea42e5a1767edcd3515f933e6ef4af..0b0e987fdb73fcd7d8f54c393ee7deb15a4b5b8c 100755
(executable)
--- a/
t/t5546-receive-limits.sh
+++ b/
t/t5546-receive-limits.sh
@@
-44,7
+44,7
@@
test_pack_input_limit () {
}
test_expect_success "create known-size (1024 bytes) commit" '
}
test_expect_success "create known-size (1024 bytes) commit" '
- test-genrandom foo 1024 >one-k &&
+ test-
tool
genrandom foo 1024 >one-k &&
git add one-k &&
test_commit one-k
'
git add one-k &&
test_commit one-k
'
diff --git
a/t/t5547-push-quarantine.sh
b/t/t5547-push-quarantine.sh
index 113c87007f31abced0d93b3702f0b54f50ff4679..faaa51ccc562545c18180410e68483019a80832d 100755
(executable)
--- a/
t/t5547-push-quarantine.sh
+++ b/
t/t5547-push-quarantine.sh
@@
-39,7
+39,7
@@
test_expect_success 'push to repo path with path separator (colon)' '
# so make it likely for us to generate a delta by having
# a non-trivial file with multiple versions.
# so make it likely for us to generate a delta by having
# a non-trivial file with multiple versions.
- test-genrandom foo 4096 >file.bin &&
+ test-
tool
genrandom foo 4096 >file.bin &&
git add file.bin &&
git commit -m bin &&
git add file.bin &&
git commit -m bin &&
diff --git
a/t/t5608-clone-2gb.sh
b/t/t5608-clone-2gb.sh
index 191d6d3a780325b6f3e294b6b42540569ef129d1..df822d9a3e9e7c7b4b7031ffa75716cd7ba6103a 100755
(executable)
--- a/
t/t5608-clone-2gb.sh
+++ b/
t/t5608-clone-2gb.sh
@@
-21,7
+21,7
@@
test_expect_success CLONE_2GB 'setup' '
do
printf "Generating blob $i/$blobcount\r" >&2 &&
printf "blob\nmark :$i\ndata $blobsize\n" &&
do
printf "Generating blob $i/$blobcount\r" >&2 &&
printf "blob\nmark :$i\ndata $blobsize\n" &&
- #test-genrandom $i $blobsize &&
+ #test-
tool
genrandom $i $blobsize &&
printf "%-${blobsize}s" $i &&
echo "M 100644 :$i $i" >> commit
i=$(($i+1)) ||
printf "%-${blobsize}s" $i &&
echo "M 100644 :$i $i" >> commit
i=$(($i+1)) ||
diff --git
a/t/t9300-fast-import.sh
b/t/t9300-fast-import.sh
index e4d06accc458191d0d52fe325b3118ac019e96c2..dc79df7b042b75ca192ff1a860eb0c22a9059a8e 100755
(executable)
--- a/
t/t9300-fast-import.sh
+++ b/
t/t9300-fast-import.sh
@@
-2654,7
+2654,7
@@
test_expect_success 'R: corrupt lines do not mess marks file' '
##
test_expect_success 'R: blob bigger than threshold' '
blobsize=$((2*1024*1024 + 53)) &&
##
test_expect_success 'R: blob bigger than threshold' '
blobsize=$((2*1024*1024 + 53)) &&
- test-genrandom bar $blobsize >expect &&
+ test-
tool
genrandom bar $blobsize >expect &&
cat >input <<-INPUT_END &&
commit refs/heads/big-file
committer $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL> $GIT_COMMITTER_DATE
cat >input <<-INPUT_END &&
commit refs/heads/big-file
committer $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL> $GIT_COMMITTER_DATE
diff --git
a/t/t9802-git-p4-filetype.sh
b/t/t9802-git-p4-filetype.sh
index eb9a8ed197b4c6383a4c688f5e5c3a3fcb102b12..1fc9b33aeb5f095816fba72e85c94f0455994418 100755
(executable)
--- a/
t/t9802-git-p4-filetype.sh
+++ b/
t/t9802-git-p4-filetype.sh
@@
-237,7
+237,7
@@
test_expect_success 'ignore apple' '
build_gendouble &&
(
cd "$cli" &&
build_gendouble &&
(
cd "$cli" &&
- test-genrandom apple 1024 >double.png &&
+ test-
tool
genrandom apple 1024 >double.png &&
"$PYTHON_PATH" "$TRASH_DIRECTORY/gendouble.py" >%double.png &&
p4 add -t apple double.png &&
p4 submit -d appledouble
"$PYTHON_PATH" "$TRASH_DIRECTORY/gendouble.py" >%double.png &&
p4 add -t apple double.png &&
p4 submit -d appledouble