##// END OF EJS Templates
tests: use `git init` instead of unusual synonym `git init-db`...
Martin von Zweigbergk -
r46275:04aa48af default
parent child Browse files
Show More
@@ -32,7 +32,7 b''
32 > }
32 > }
33 $ mkdir git-repo
33 $ mkdir git-repo
34 $ cd git-repo
34 $ cd git-repo
35 $ git init-db >/dev/null 2>/dev/null
35 $ git init >/dev/null 2>/dev/null
36 $ echo a > a
36 $ echo a > a
37 $ mkdir d
37 $ mkdir d
38 $ echo b > d/b
38 $ echo b > d/b
@@ -123,7 +123,7 b' Remove the directory, then try to replac'
123 $ count=10
123 $ count=10
124 $ mkdir git-repo2
124 $ mkdir git-repo2
125 $ cd git-repo2
125 $ cd git-repo2
126 $ git init-db >/dev/null 2>/dev/null
126 $ git init >/dev/null 2>/dev/null
127 $ echo foo > foo
127 $ echo foo > foo
128 $ git add foo
128 $ git add foo
129 $ commit -a -m 'add foo'
129 $ commit -a -m 'add foo'
@@ -421,7 +421,7 b' test binary conversion (issue1359)'
421 $ count=19
421 $ count=19
422 $ mkdir git-repo3
422 $ mkdir git-repo3
423 $ cd git-repo3
423 $ cd git-repo3
424 $ git init-db >/dev/null 2>/dev/null
424 $ git init >/dev/null 2>/dev/null
425 $ "$PYTHON" -c 'import struct; open("b", "wb").write(b"".join([struct.Struct(">B").pack(i) for i in range(256)])*16)'
425 $ "$PYTHON" -c 'import struct; open("b", "wb").write(b"".join([struct.Struct(">B").pack(i) for i in range(256)])*16)'
426 $ git add b
426 $ git add b
427 $ commit -a -m addbinary
427 $ commit -a -m addbinary
@@ -447,7 +447,7 b' test author vs committer'
447
447
448 $ mkdir git-repo4
448 $ mkdir git-repo4
449 $ cd git-repo4
449 $ cd git-repo4
450 $ git init-db >/dev/null 2>/dev/null
450 $ git init >/dev/null 2>/dev/null
451 $ echo >> foo
451 $ echo >> foo
452 $ git add foo
452 $ git add foo
453 $ commit -a -m addfoo
453 $ commit -a -m addfoo
@@ -715,7 +715,7 b' test sub modules'
715
715
716 $ mkdir git-repo5
716 $ mkdir git-repo5
717 $ cd git-repo5
717 $ cd git-repo5
718 $ git init-db >/dev/null 2>/dev/null
718 $ git init >/dev/null 2>/dev/null
719 $ echo 'sub' >> foo
719 $ echo 'sub' >> foo
720 $ git add foo
720 $ git add foo
721 $ commit -a -m 'addfoo'
721 $ commit -a -m 'addfoo'
@@ -723,7 +723,7 b' test sub modules'
723 $ cd ..
723 $ cd ..
724 $ mkdir git-repo6
724 $ mkdir git-repo6
725 $ cd git-repo6
725 $ cd git-repo6
726 $ git init-db >/dev/null 2>/dev/null
726 $ git init >/dev/null 2>/dev/null
727 $ git submodule add ${BASE} >/dev/null 2>/dev/null
727 $ git submodule add ${BASE} >/dev/null 2>/dev/null
728 $ commit -a -m 'addsubmodule' >/dev/null 2>/dev/null
728 $ commit -a -m 'addsubmodule' >/dev/null 2>/dev/null
729
729
General Comments 0
You need to be logged in to leave comments. Login now