git.droids-corp.org
/
git-central.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Get tests passing again.
[git-central.git]
/
tests
/
t3200-post-receive-commitnumbers.sh
diff --git
a/tests/t3200-post-receive-commitnumbers.sh
b/tests/t3200-post-receive-commitnumbers.sh
index
985aadc
..
24b653b
100644
(file)
--- a/
tests/t3200-post-receive-commitnumbers.sh
+++ b/
tests/t3200-post-receive-commitnumbers.sh
@@
-1,4
+1,4
@@
-#!/bin/sh
+#!/bin/
ba
sh
test_description='server assign commit numbers'
test_description='server assign commit numbers'
@@
-8,9
+8,9
@@
test_expect_success 'setup' '
echo "setup" >a &&
git add a &&
git commit -m "setup" &&
echo "setup" >a &&
git add a &&
git commit -m "setup" &&
- git clone
./. server
&&
- rm -fr server
/
.git/hooks &&
- git remote add origin ./server &&
+ git clone
-l . --bare server.git
&&
+ rm -fr server.git/hooks &&
+ git remote add origin ./server
.git
&&
git config branch.master.remote origin &&
git config branch.master.merge refs/heads/master &&
git fetch
git config branch.master.remote origin &&
git config branch.master.merge refs/heads/master &&
git fetch
@@
-27,7
+27,7
@@
test_expect_success 'assign one new commit' '
test "$(git rev-parse HEAD)" = "$(git rev-parse r/1)" &&
test "$(git describe --tags)" = "r/1" &&
test "$(git rev-parse HEAD)" = "$(git rev-parse r/1)" &&
test "$(git describe --tags)" = "r/1" &&
- test "$(git rev-parse HEAD) refs/heads/master" = "$(cat server
/
.git/commitnumbers)"
+ test "$(git rev-parse HEAD) refs/heads/master" = "$(cat server.git/commitnumbers)"
'
test_expect_success 'assign two new commits' '
'
test_expect_success 'assign two new commits' '