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
il y a 10 mois
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>
il y a 3 ans
James Stronz
22fa683571
CVE-2022-35861: Fixed relative path traversal due to using version string in path ( #2412 )
il y a 4 ans
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.
il y a 5 ans
Yamashita Yuu
34065dddbb
reads only the first word from file
il y a 12 ans
Yamashita Yuu
ea9214bb2e
ignores carriage returns
il y a 12 ans
Vincent Robert
f205ec8359
Move carriage return test to version-file-read
il y a 12 ans
Yamashita Yuu
319721b380
Modify applications and versions for Python
il y a 12 ans
Yamashita Yuu
3dd9332eee
Fix broken tests
il y a 12 ans
Yamashita Yuu
0965577b93
Import tests from rbenv with `sed -e s/rbenv/pyenv/g`
il y a 12 ans
Mislav Marohnić
d2eace00c9
Add more tests for version-file-read
il y a 12 ans
Mislav Marohnić
ab197ef51e
add tests for version commands
il y a 13 ans