X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/blobdiff_plain/2b5f6f656fa95d2ffefe7cc1261f4b0fc614f7b8..cbd2f5f3521bdac24e1dc43d85a4dcdccd55d4c6:/t/t1001-branch-rename.sh diff --git a/t/t1001-branch-rename.sh b/t/t1001-branch-rename.sh index 28af8ae..285440f 100755 --- a/t/t1001-branch-rename.sh +++ b/t/t1001-branch-rename.sh @@ -26,7 +26,7 @@ test_expect_success \ 'Rename an stgit branch' \ 'stg branch -c buz && stg branch -r foo bar && - test -z `find .git -name foo | tee /dev/stderr` && + [ -z $(find .git -type f | grep foo | tee /dev/stderr) ] && test -z $(git config -l | grep branch\\.foo) '