Skip to content

Commit

Permalink
tests: use "git foo" without dash in strings
Browse files Browse the repository at this point in the history
This changes "git-foo" to "git foo" when message strings in tests
name git subcommands.

Signed-off-by: Nanako Shiraishi <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>
  • Loading branch information
Nanako Shiraishi authored and gitster committed Sep 10, 2008
1 parent 1f77354 commit f964732
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion t/t7606-merge-custom.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh

test_description='git-merge
test_description='git merge
Testing a custom strategy.'

Expand Down
4 changes: 2 additions & 2 deletions t/t9100-git-svn-basic.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ esac
say 'define NO_SVN_TESTS to skip git svn tests'

test_expect_success \
'initialize git-svn' '
'initialize git svn' '
mkdir import &&
cd import &&
echo foo > foo &&
Expand All @@ -31,7 +31,7 @@ test_expect_success \
echo "zzz" > bar/zzz &&
echo "#!/bin/sh" > exec.sh &&
chmod +x exec.sh &&
svn import -m "import for git-svn" . "$svnrepo" >/dev/null &&
svn import -m "import for git svn" . "$svnrepo" >/dev/null &&
cd .. &&
rm -rf import &&
git svn init "$svnrepo"'
Expand Down
4 changes: 2 additions & 2 deletions t/t9101-git-svn-props.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ EOF
printf "\r\n" > empty_crlf
a_empty_crlf=`git-hash-object -w empty_crlf`

svn import --no-auto-props -m 'import for git-svn' . "$svnrepo" >/dev/null
svn import --no-auto-props -m 'import for git svn' . "$svnrepo" >/dev/null
cd ..

rm -rf import
Expand All @@ -66,7 +66,7 @@ test_expect_success 'setup some commits to svn' \
svn commit -m "Propset Id" &&
cd ..'

test_expect_success 'initialize git-svn' 'git svn init "$svnrepo"'
test_expect_success 'initialize git svn' 'git svn init "$svnrepo"'
test_expect_success 'fetch revisions from svn' 'git svn fetch'

name='test svn:keywords ignoring'
Expand Down
4 changes: 2 additions & 2 deletions t/t9102-git-svn-deep-rmdir.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ test_expect_success 'initialize repo' '
mkdir -p deeply/nested/directory/number/2 &&
echo foo > deeply/nested/directory/number/1/file &&
echo foo > deeply/nested/directory/number/2/another &&
svn import -m "import for git-svn" . "$svnrepo" &&
svn import -m "import for git svn" . "$svnrepo" &&
cd ..
'

test_expect_success 'mirror via git-svn' '
test_expect_success 'mirror via git svn' '
git svn init "$svnrepo" &&
git svn fetch &&
git checkout -f -b test-rmdir ${remotes_git_svn}
Expand Down
2 changes: 1 addition & 1 deletion t/t9112-git-svn-md5less-file.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@ EOF

test_expect_success 'load svn dumpfile' 'svnadmin load "$rawsvnrepo" < dumpfile.svn'

test_expect_success 'initialize git-svn' 'git svn init "$svnrepo"'
test_expect_success 'initialize git svn' 'git svn init "$svnrepo"'
test_expect_success 'fetch revisions from svn' 'git svn fetch'
test_done
2 changes: 1 addition & 1 deletion t/t9122-git-svn-author.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ test_expect_success 'setup svn repository' '
)
'

test_expect_success 'interact with it via git-svn' '
test_expect_success 'interact with it via git svn' '
mkdir work.git &&
(
cd work.git &&
Expand Down
2 changes: 1 addition & 1 deletion t/t9123-git-svn-rebuild-with-rewriteroot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ test_description='git svn respects rewriteRoot during rebuild'
mkdir import
cd import
touch foo
svn import -m 'import for git-svn' . "$svnrepo" >/dev/null
svn import -m 'import for git svn' . "$svnrepo" >/dev/null
cd ..
rm -rf import

Expand Down
4 changes: 2 additions & 2 deletions t/t9124-git-svn-dcommit-auto-props.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ enable-auto-props=$1
EOF
}

test_expect_success 'initialize git-svn' '
test_expect_success 'initialize git svn' '
mkdir import &&
(
cd import &&
echo foo >foo &&
svn import -m "import for git-svn" . "$svnrepo"
svn import -m "import for git svn" . "$svnrepo"
) &&
rm -rf import &&
git svn init "$svnrepo"
Expand Down
2 changes: 1 addition & 1 deletion t/t9600-cvsimport.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh

test_description='git-cvsimport basic tests'
test_description='git cvsimport basic tests'
. ./test-lib.sh

CVSROOT=$(pwd)/cvsroot
Expand Down

0 comments on commit f964732

Please sign in to comment.