Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
t5500: adjust to change in pack-object reporting behaviour.
author
Junio C Hamano
<junkio@cox.net>
Sun, 12 Feb 2006 07:08:23 +0000
(23:08 -0800)
committer
Junio C Hamano
<junkio@cox.net>
Sun, 12 Feb 2006 07:08:23 +0000
(23:08 -0800)
Now pack-object is not as chatty when its stderr is not connected
to a terminal, so the test needs to be adjusted for that.
Signed-off-by: Junio C Hamano <junkio@cox.net>
t/t5500-fetch-pack.sh
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
1536dd9
)
diff --git
a/t/t5500-fetch-pack.sh
b/t/t5500-fetch-pack.sh
index 0781bd287ee37f537c6d69e07ad6073c638faa1c..e15e14fc32fd748f1dd62c1a9507aa4f08288d0a 100755
(executable)
--- a/
t/t5500-fetch-pack.sh
+++ b/
t/t5500-fetch-pack.sh
@@
-76,7
+76,7
@@
function pull_to_client () {
git-symbolic-ref HEAD refs/heads/${heads:0:1}
test_expect_success "fsck" 'git-fsck-objects --full > fsck.txt 2>&1'
test_expect_object_count "after $number pull" $count
git-symbolic-ref HEAD refs/heads/${heads:0:1}
test_expect_success "fsck" 'git-fsck-objects --full > fsck.txt 2>&1'
test_expect_object_count "after $number pull" $count
- pack_count=$(grep
P
acking log.txt|tr -dc "0-9")
+ pack_count=$(grep
Unp
acking log.txt|tr -dc "0-9")
test -z "$pack_count" && pack_count=0
if [ -z "$no_strict_count_check" ]; then
test_expect_success "minimal count" "test $count = $pack_count"
test -z "$pack_count" && pack_count=0
if [ -z "$no_strict_count_check" ]; then
test_expect_success "minimal count" "test $count = $pack_count"