chiark / gitweb /
autopkgtests: fixes
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 17 Nov 2013 16:36:43 +0000 (16:36 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 24 Nov 2013 17:45:27 +0000 (17:45 +0000)
debian/tests/control
tests/lib
tests/tests/push-newpackage

index ed68bf5..651e118 100644 (file)
@@ -1,3 +1,3 @@
-Tests: clone-nogit
+Tests: clone-nogit fetch-nogit push-newpackage
 Tests-Directory: tests/tests
 Depends: @
index 1d2d06a..94c4c79 100644 (file)
--- 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; }
        '
index 2d01657..92c9361 100755 (executable)
@@ -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 \