mirror of
https://github.com/cve-search/git-vuln-finder.git
synced 2024-11-25 16:27:20 +00:00
checkout version curl-7_67_0 of curl for the tests.
This commit is contained in:
parent
1aec0290af
commit
2e1d646f99
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ def clone_curl():
|
||||||
git_url = 'https://github.com/curl/curl.git'
|
git_url = 'https://github.com/curl/curl.git'
|
||||||
repo_dir = './test_repos/curl'
|
repo_dir = './test_repos/curl'
|
||||||
repo = Repo.clone_from(url=git_url, to_path=repo_dir)
|
repo = Repo.clone_from(url=git_url, to_path=repo_dir)
|
||||||
repo.checkout('curl-7_67_0')
|
repo.heads['curl-7_67_0'].checkout()
|
||||||
|
|
||||||
def teardown():
|
def teardown():
|
||||||
os.unlink(repo_dir)
|
os.unlink(repo_dir)
|
||||||
|
|
Loading…
Reference in a new issue