Index: tests/basic.sh |
diff --git a/tests/basic.sh b/tests/basic.sh |
index edf1cb8d7de8fa2b6f4260530404cfca5720fc10..8b7f64b2fc28e2b4e51a0f9efbaf64c86ea76cb6 100755 |
--- a/tests/basic.sh |
+++ b/tests/basic.sh |
@@ -26,7 +26,7 @@ setup_gitsvn |
git config rietveld.server localhost:8080 |
test_expect_success "git-cl status has no issue" \ |
- "$GIT_CL status | grep -q 'no issue'" |
+ "$GIT_CL_STATUS | grep -q 'no issue'" |
# Prevent the editor from coming up when you upload. |
export GIT_EDITOR=$(which true) |
@@ -35,10 +35,10 @@ setup_gitsvn |
"$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'" |
+ "$GIT_CL_STATUS | grep -q 'Issue number'" |
# Push a description to this URL. |
- URL=$($GIT_CL status | sed -ne '/Issue number/s/[^(]*(\(.*\))/\1/p') |
+ URL=$($GIT_CL_STATUS | sed -ne '/Issue number/s/[^(]*(\(.*\))/\1/p') |
curl --cookie dev_appserver_login="test@example.com:False" \ |
--data-urlencode subject="test" \ |
--data-urlencode description="foo-quux" \ |
@@ -54,7 +54,7 @@ setup_gitsvn |
"git show | grep -q 'foo-quux'" |
test_expect_success "issue no longer has a branch" \ |
- "$GIT_CL status | grep -q 'work: None'" |
+ "$GIT_CL_STATUS | grep -q 'work: None'" |
test_expect_success "upstream svn has our commit" \ |
"svn log $REPO_URL 2>/dev/null | grep -q 'foo-quux'" |