diff options
author | Junio C Hamano <gitster@pobox.com> | 2014-04-03 12:38:38 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-04-03 12:38:38 -0700 |
commit | 8ba87adad637b402fb309754e213ec40b74e4f18 (patch) | |
tree | ca8a9e5b21b53890ae499ad60f636e0882c93c3e /t/t3600-rm.sh | |
parent | Merge branch 'cn/fetch-prune-overlapping-destination' (diff) | |
parent | tests: don't rely on strerror text when testing rmdir failure (diff) | |
download | tgif-8ba87adad637b402fb309754e213ec40b74e4f18.tar.xz |
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/t3600-rm.sh')
-rwxr-xr-x | t/t3600-rm.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/t/t3600-rm.sh b/t/t3600-rm.sh index 3d305814b9..e00d7d2b61 100755 --- a/t/t3600-rm.sh +++ b/t/t3600-rm.sh @@ -711,8 +711,7 @@ test_expect_success 'checking out a commit after submodule removal needs manual git submodule update && git checkout -q HEAD^ 2>actual && git checkout -q master 2>actual && - echo "warning: unable to rmdir submod: Directory not empty" >expected && - test_i18ncmp expected actual && + test_i18ngrep "^warning: unable to rmdir submod:" actual && git status -s submod >actual && echo "?? submod/" >expected && test_cmp expected actual && |