summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2013-11-17 16:36:43 +0000
committerIan Jackson <ijackson@chiark.greenend.org.uk>2013-11-24 17:45:27 +0000
commitc4ed4e776fe57b77e1f4c2194a8377b09690ec04 (patch)
tree363af7ea612ec342a722e159fce7d049d043c0f6 /tests
parentc2d43f9859a861f8522c32bb42e9f74fd229b6bf (diff)
autopkgtests: fixes
Diffstat (limited to 'tests')
-rw-r--r--tests/lib2
-rwxr-xr-xtests/tests/push-newpackage4
2 files changed, 3 insertions, 3 deletions
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 \