X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/76fe7432fbc2a445092d54309d8298e9e6f81906..ef26f5689727635abbd4d75b75fdcc84ad7c709b:/t/git-untrusted.t?ds=inline diff --git a/t/git-untrusted.t b/t/git-untrusted.t index 285a242e8..5fd2efb9e 100755 --- a/t/git-untrusted.t +++ b/t/git-untrusted.t @@ -184,7 +184,7 @@ sub test { isnt($h->full_result(0), 0); is($out, ''); like($err, qr{remote: <.*>staff only is locked and cannot be edited}); - my $sha1 = run_git(['rev-list', '--max-count=1', 'HEAD'], chdir => "$tmp/repo.git"); + $sha1 = run_git(['rev-list', '--max-count=1', 'HEAD'], chdir => "$tmp/repo.git"); is($sha1, $allowed_sha1, 'proposed commit was not pushed'); $sha1 = run_git(['rev-list', '--max-count=1', 'HEAD']); is($sha1, $allowed_sha1, 'proposed commit was not pushed');