summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/tests/control2
-rw-r--r--tests/lib2
-rwxr-xr-xtests/tests/push-newpackage4
3 files changed, 4 insertions, 4 deletions
diff --git a/debian/tests/control b/debian/tests/control
index ed68bf5..651e118 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,3 +1,3 @@
-Tests: clone-nogit
+Tests: clone-nogit fetch-nogit push-newpackage
Tests-Directory: tests/tests
Depends: @
diff --git a/tests/lib b/tests/lib
index 1d2d06a..94c4c79 100644
--- a/tests/lib
+++ b/tests/lib
@@ -103,7 +103,7 @@ t-clean-on-branch () {
t-git-get-ref () {
local ref=$1
- git-show-ref -d $1 | perl -ne '
+ git show-ref -d $1 | perl -ne '
$x = $1 if m#^(\w+) \Q'$1'\E(?:\^\{\})?$#;
END { print "$x\n" if length $x; }
'
diff --git a/tests/tests/push-newpackage b/tests/tests/push-newpackage
index 2d01657..92c9361 100755
--- a/tests/tests/push-newpackage
+++ b/tests/tests/push-newpackage
@@ -7,8 +7,8 @@ t-git-none
t-worktree 3-1
v=3-1
cd $p
-git-branch -m dgit/sid master
-git-remote rm dgit
+git branch -m dgit/sid master
+git remote rm dgit
LANG=C t-dgit push 2>&1 \
| tee /dev/stderr \