diff --git a/git_cl/test/abandon.sh b/git_cl/test/abandon.sh index 08760bddbb..85c49ca301 100755 --- a/git_cl/test/abandon.sh +++ b/git_cl/test/abandon.sh @@ -20,7 +20,7 @@ setup_gitsvn git add test; git commit -q -m "branch work" export EDITOR=$(which true) test_expect_success "upload succeeds" \ - "$GIT_CL upload -m test master... | grep -q 'Issue created'" + "$GIT_CL upload -m test master | grep -q 'Issue created'" # Switch back to master, delete the branch. git checkout master diff --git a/git_cl/test/basic.sh b/git_cl/test/basic.sh index cbf3c0221b..9412f80b21 100755 --- a/git_cl/test/basic.sh +++ b/git_cl/test/basic.sh @@ -28,7 +28,7 @@ setup_gitsvn export EDITOR=$(which true) test_expect_success "upload succeeds (needs a server running on localhost)" \ - "$GIT_CL upload -m test master... | grep -q 'Issue created'" + "$GIT_CL upload -m test master | grep -q 'Issue created'" test_expect_success "git-cl status now knows the issue" \ "$GIT_CL status | grep -q 'Issue number'" diff --git a/git_cl/test/hooks.sh b/git_cl/test/hooks.sh index 26536d02b0..93d6bb432b 100755 --- a/git_cl/test/hooks.sh +++ b/git_cl/test/hooks.sh @@ -11,8 +11,8 @@ setup_initsvn setup_gitsvn setup_hooks() { - upload_retval = shift - dcommit_retval = shift + upload_retval=$1 + dcommit_retval=$2 echo > PRESUBMIT.py <