Commit a4e4ef38 authored by szager@chromium.org's avatar szager@chromium.org

Fix push-basic.sh. How did it ever pass? We may never know.

BUG=

Review URL: https://codereview.chromium.org/203383005

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@257738 0039d316-1c4b-4281-b951-d872f2087c98
parent fc616383
......@@ -45,7 +45,7 @@ setup_gitgit
$URL/edit
test_expect_success "Base URL contains branch name" \
"curl -s $($GIT_CL_STATUS --field=url) | grep 'URL:' | grep -q '@master'"
"curl -s $($GIT_CL_STATUS --field=url) | grep 'URL:[[:space:]]*[^<]' | grep -q '@master'"
test_expect_success "git-cl push ok" \
"$GIT_CL push -f"
......
......@@ -100,7 +100,7 @@ setup_initgit() {
git commit -qam "second commit"
# Hack: make sure master is not the current branch
# otherwise push will give a warning
git checkout -q -b foo
git checkout -q --detach master
)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment