chiark / gitweb /
autopkgtests: t-git: take p and v args
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 17 Nov 2013 19:18:19 +0000 (19:18 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 24 Nov 2013 17:45:28 +0000 (17:45 +0000)
tests/lib

index 4a40e77..6f25580 100644 (file)
--- a/tests/lib
+++ b/tests/lib
@@ -38,6 +38,8 @@ t-worktree () {
 }
 
 t-git () {
+       p=$1
+       v=$2
        mkdir -p $tmp/git
        (set -e; cd $tmp/git; tar xf $troot/git-srcs/${p}_$v.git.tar)
 }