diff options
Diffstat (limited to 'tests/pushspecs-only.script')
-rwxr-xr-x | tests/pushspecs-only.script | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/pushspecs-only.script b/tests/pushspecs-only.script index 1be8fb3..787cc38 100755 --- a/tests/pushspecs-only.script +++ b/tests/pushspecs-only.script @@ -31,7 +31,7 @@ cat >"$lorryfile" <<EOF "url": "file://$git_upstream", "refspecs": [ "master", - "refs/tags/rc*" + "refs/tags/rc/*" ] } } @@ -48,5 +48,5 @@ git init --quiet --bare "$mirror_path"/pushspecs.git allrefs="$(cd "$mirror_path"/pushspecs.git && git for-each-ref | sort)" wantedrefs="$(cd "$mirror_path"/pushspecs.git && - git for-each-ref master 'refs/tags/rc*' | sort)" + git for-each-ref refs/heads/master 'refs/tags/rc/*' | sort)" test "$allrefs" = "$wantedrefs" |