diff options
author | Lars Wirzenius <liw@liw.fi> | 2017-03-04 23:18:33 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2017-03-04 23:18:33 +0200 |
commit | d26502a1862ccc55a869327f7ed7989d1a8e081b (patch) | |
tree | 2b116cd64404edb5c975d7ad894a27ebee794526 | |
parent | 5e2a970c350441a1dbc11d2f9097bcc0e599abab (diff) | |
download | git.liw.fi-ruleset-tests-d26502a1862ccc55a869327f7ed7989d1a8e081b.tar.gz |
Add missing check for git_as result
-rw-r--r-- | 000.yarn | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -267,7 +267,8 @@ groups, and respositories. user = 'admin' url = helper.repo_ssh_url(repo) dirname = helper.local_checkout_dirname(user, repo) - helper.git_as(None, ['clone', url, dirname]) + exit, out, err = helper.git_as(None, ['clone', url, dirname]) + helper.assertEqual(exit, 0) env = dict(os.environ) env['GIT_SSH_COMMAND'] = helper.env_ssh_command(None) cliapp.runcmd(['git', 'config', 'user.email', user], cwd=dirname, env=env) |