diff options
author | brian m. carlson <sandals@crustytoothpaste.net> | 2020-05-13 00:53:41 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-05-13 05:36:17 (GMT) |
commit | a1142963710fd71e5e6e0feb0c4020e977301af7 (patch) | |
tree | e3d52e91b14c7be8ccfe0bc748e02385b67c2b66 /t/t1050-large.sh | |
parent | b994622632154fc3b17fb40a38819ad954a5fb88 (diff) | |
download | git-a1142963710fd71e5e6e0feb0c4020e977301af7.zip git-a1142963710fd71e5e6e0feb0c4020e977301af7.tar.gz git-a1142963710fd71e5e6e0feb0c4020e977301af7.tar.bz2 |
t1050: match object ID paths in a hash-insensitive way
The pattern here looking for failures is specific to SHA-1. Let's
create a variable that matches the regex or glob pattern for a path
within the objects directory.
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t1050-large.sh')
-rwxr-xr-x | t/t1050-large.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t1050-large.sh b/t/t1050-large.sh index 184b479..7f88ea0 100755 --- a/t/t1050-large.sh +++ b/t/t1050-large.sh @@ -64,7 +64,7 @@ test_expect_success 'add a large file or two' ' test $count = 1 && cnt=$(git show-index <"$idx" | wc -l) && test $cnt = 2 && - for l in .git/objects/??/?????????????????????????????????????? + for l in .git/objects/$OIDPATH_REGEX do test_path_is_file "$l" || continue bad=t |