summaryrefslogtreecommitdiff
path: root/t/t7001-mv.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2014-04-03 19:38:38 (GMT)
committerJunio C Hamano <gitster@pobox.com>2014-04-03 19:38:38 (GMT)
commit8ba87adad637b402fb309754e213ec40b74e4f18 (patch)
treeca8a9e5b21b53890ae499ad60f636e0882c93c3e /t/t7001-mv.sh
parent400ecca8c10520ced800b4fcdd5bdeb94bd2a556 (diff)
parent11b53902513c6d59f59594845ce53fe761f0894c (diff)
downloadgit-8ba87adad637b402fb309754e213ec40b74e4f18.zip
git-8ba87adad637b402fb309754e213ec40b74e4f18.tar.gz
git-8ba87adad637b402fb309754e213ec40b74e4f18.tar.bz2
Merge branch 'cb/aix'
* cb/aix: tests: don't rely on strerror text when testing rmdir failure dir.c: make git_fnmatch() not inline
Diffstat (limited to 't/t7001-mv.sh')
-rwxr-xr-xt/t7001-mv.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/t/t7001-mv.sh b/t/t7001-mv.sh
index 215d43d..34fb1af 100755
--- a/t/t7001-mv.sh
+++ b/t/t7001-mv.sh
@@ -447,8 +447,7 @@ test_expect_success 'checking out a commit before submodule moved needs manual u
git mv sub sub2 &&
git commit -m "moved sub to sub2" &&
git checkout -q HEAD^ 2>actual &&
- echo "warning: unable to rmdir sub2: Directory not empty" >expected &&
- test_i18ncmp expected actual &&
+ test_i18ngrep "^warning: unable to rmdir sub2:" actual &&
git status -s sub2 >actual &&
echo "?? sub2/" >expected &&
test_cmp expected actual &&