rockandska
92a28e531b
use BATS_FILE_TMPDIR in test/plugin test
use global setup with bats with possibility to add specific test file _setup
use readlink in helper if realpath is not working as expected
10ヶ月前
James Stronz
47b0ce77c0
Re-allow paths in .python-version provided that they resolve to within the versions dir ( #2442 )
* Fixes #2430 while still preventing CVE-2022-35861
* Adds a skipped version message to stderr
Co-authored-by: Ivan Pozdeev <vano@mail.mipt.ru>
3年前
James Stronz
22fa683571
CVE-2022-35861: Fixed relative path traversal due to using version string in path ( #2412 )
4年前
Ville Skyttä
641916270b
feat: support (skip) commented lines in version-file
Sometimes it is convenient to be able to temporarily disable something
in a version-file. Because these files often aren't necessarily tracked
in a SCM, especially when working with virtualenvs, the SCM diffs won't
help with showing removed lines which are currently the only way to
disable something.
5年前
Yamashita Yuu
34065dddbb
reads only the first word from file
12年前
Yamashita Yuu
ea9214bb2e
ignores carriage returns
12年前
Vincent Robert
f205ec8359
Move carriage return test to version-file-read
12年前
Yamashita Yuu
319721b380
Modify applications and versions for Python
12年前
Yamashita Yuu
3dd9332eee
Fix broken tests
12年前
Yamashita Yuu
0965577b93
Import tests from rbenv with `sed -e s/rbenv/pyenv/g`
12年前
Mislav Marohnić
d2eace00c9
Add more tests for version-file-read
12年前
Mislav Marohnić
ab197ef51e
add tests for version commands
13年前