diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2018-03-24 08:44:43 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-03-27 17:45:47 +0200 |
commit | 7c18cbd562af9f00877baad5f46b057d47b1c493 (patch) | |
tree | 54113988cb9d6ced44d7f27d3e7d0bd68ea68022 /t/t0011-hashmap.sh | |
parent | t/helper: merge test-genrandom into test-tool (diff) | |
download | git-7c18cbd562af9f00877baad5f46b057d47b1c493.tar.xz git-7c18cbd562af9f00877baad5f46b057d47b1c493.zip |
t/helper: merge test-hashmap 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/t0011-hashmap.sh')
-rwxr-xr-x | t/t0011-hashmap.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t0011-hashmap.sh b/t/t0011-hashmap.sh index 9c217d948c..3f1f505e89 100755 --- a/t/t0011-hashmap.sh +++ b/t/t0011-hashmap.sh @@ -4,7 +4,7 @@ test_description='test hashmap and string hash functions' . ./test-lib.sh test_hashmap() { - echo "$1" | test-hashmap $3 > actual && + echo "$1" | test-tool hashmap $3 > actual && echo "$2" > expect && test_cmp expect actual } @@ -232,7 +232,7 @@ test_expect_success 'grow / shrink' ' echo value40 >> expect && echo size >> in && echo 64 39 >> expect && - cat in | test-hashmap > out && + cat in | test-tool hashmap > out && test_cmp expect out ' |