Skip to content

Commit a938a03

Browse files
committed
fixup! mingw: Fix git-svn tests
1 parent 1a5e8bd commit a938a03

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

t/t9100-git-svn-basic.sh

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ test_expect_success \
3535
test_have_prereq !POSIXPERM ||
3636
chmod +x exec.sh
3737
} &&
38-
echo "utf-8" >utf-8.file &&
3938
svn_cmd import -m "import for git svn" . "$svnrepo" >/dev/null
4039
) &&
4140
rm -rf import &&
@@ -188,13 +187,11 @@ test_expect_success !MINGW "$name" '
188187
name="commit with UTF-8 message: locale: $GIT_SVN_LC_ALL"
189188
LC_ALL="$GIT_SVN_LC_ALL"
190189
export LC_ALL
191-
test_expect_success UTF8 "$name" '
192-
rm -f "$GIT_DIR"/index &&
193-
git checkout -f -b mybranch5 ${remotes_git_svn} &&
194-
echo "# hello" >> utf-8.file &&
195-
git update-index utf-8.file &&
196-
git commit -m "éï∏" &&
197-
git svn set-tree HEAD'
190+
test_expect_success !MINGW,UTF8 "$name" "
191+
echo '# hello' >> exec-2.sh &&
192+
git update-index exec-2.sh &&
193+
git commit -m 'éï∏' &&
194+
git svn set-tree HEAD"
198195
unset LC_ALL
199196

200197
name='test fetch functionality (svn => git) with alternate GIT_SVN_ID'

0 commit comments

Comments
 (0)