Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-07-07 04:14:43 +0300
committerJunio C Hamano <gitster@pobox.com>2017-07-07 04:14:43 +0300
commit8f58a34cad97c562f88c9d502c4f3b8886355cbe (patch)
tree772c55208aad03bcb5fce827bfdbf11b60950040 /t/t1450-fsck.sh
parent33cc9cfc3d0e55539a88b3ed90d310845d652197 (diff)
parent73fc2aadc748da8a5515345ab02657e4db7f66d4 (diff)
Merge branch 'js/fsck-name-object'
Test fix. * js/fsck-name-object: t1450: use egrep for regexp "alternation"
Diffstat (limited to 't/t1450-fsck.sh')
-rwxr-xr-xt/t1450-fsck.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t1450-fsck.sh b/t/t1450-fsck.sh
index adf0bc88ba..bb89e1a5db 100755
--- a/t/t1450-fsck.sh
+++ b/t/t1450-fsck.sh
@@ -573,7 +573,7 @@ test_expect_success 'fsck --name-objects' '
remove_object $(git rev-parse julius:caesar.t) &&
test_must_fail git fsck --name-objects >out &&
tree=$(git rev-parse --verify julius:) &&
- grep "$tree (\(refs/heads/master\|HEAD\)@{[0-9]*}:" out
+ egrep "$tree \((refs/heads/master|HEAD)@\{[0-9]*\}:" out
)
'