index
:
snekbox
3.11
cgroupsv2
dependabot/docker/docker-dependencies-d30b82f7c3
dependabot/github_actions/ci-dependencies-3249c11fdc
jb3/pydis-version-separation
main
multi-version
repl-like
research
sebastiaan/backend/cache-docker-images
sebastiaan/backend/test-repository-caching
update-all-the-versions
A mirrored copy of the python-discord/snekbox repository.
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
tests
/
test_nsjail.py
(
follow
)
Commit message (
Expand
)
Author
Age
Lines
*
Update Failing Tests
Hassan Abouelela
2023-03-18
-3
/
+5
*
Add unit test for hidden paths exclusion
Ionite
2023-03-09
-0
/
+19
*
Add new -B flag to unit tests
Ionite
2023-03-08
-1
/
+1
*
Update file write error unit test
Ionite
2023-03-02
-3
/
+9
*
Update unit tests for home output directory
Ionite
2023-03-02
-3
/
+3
*
Add refactors for Size enum rename
ionite34
2022-12-04
-2
/
+2
*
Change Size to IntEnum, change usage in tests
ionite34
2022-11-28
-2
/
+3
*
Refactor FileAttachment as non generic
ionite34
2022-11-28
-4
/
+4
*
Switch null byte test to use eval_code
ionite34
2022-11-28
-3
/
+2
*
Add additional tests for py_args
ionite34
2022-11-28
-9
/
+14
*
Add request file IO error handling
ionite34
2022-11-24
-0
/
+8
*
Refactor output files in `output` dir
ionite34
2022-11-24
-3
/
+3
*
Fixed leading empty filter for py_args
ionite34
2022-11-22
-5
/
+12
*
Refactor file parse timeout
ionite34
2022-11-22
-6
/
+28
*
Clarify resource unit test
ionite34
2022-11-21
-3
/
+3
*
Refactor config patches in tests
ionite34
2022-11-21
-28
/
+3
*
Add root back to unit test
ionite34
2022-11-21
-1
/
+1
*
Combined file handling to FileAttachment class
Ionite
2022-11-20
-4
/
+4
*
Add unit test for multiple python files
ionite34
2022-11-19
-0
/
+11
*
Implement files request form
ionite34
2022-11-19
-25
/
+35
*
Remove /dev/shm mounts
ionite34
2022-11-19
-17
/
+4
*
Refactored tests to use new kwargs
Ionite
2022-11-17
-13
/
+15
*
Added additional unit tests
Ionite
2022-11-16
-7
/
+65
*
Fixed unit tests
Ionite
2022-11-16
-6
/
+23
*
Use more common binary for testing v1 cgroups
Mark
2022-07-09
-3
/
+3
*
Test v1 cgroups are created as needed
Mark
2022-07-04
-0
/
+68
*
Use new NsJail instance for each test in NsJailArgsTests
Mark
2022-06-07
-12
/
+11
*
Test NsJail args are set and used when passed to __init__
Mark
2022-06-06
-0
/
+37
*
Add config path & output size args to NsJail class
Mark
2022-06-04
-3
/
+3
*
Add black and isort
MarkKoz
2022-06-03
-39
/
+51
*
Fix NsJail args test
MarkKoz
2021-12-21
-1
/
+2
*
test: add test_multiprocess_resource_limits to test memory limit sharing
Joe Banks
2021-07-17
-0
/
+28
*
test: update pid limit tests to account for new increased limit
Joe Banks
2021-07-17
-1
/
+10
*
chore: Add tests for py_args and ns_jail args
ToxicKidz
2021-05-18
-0
/
+13
*
Match new unicode eval tests and output to the format and functions of others
Bast
2021-04-08
-12
/
+8
*
Use PYTHONIOENCODING to enable utf-8 stdout for the nsjail pipe, and handle t...
Bast
2021-04-06
-0
/
+21
*
Update flooding test to expect code 143
Joe Banks
2021-03-16
-1
/
+1
*
Fix patch for DEBUG value during testing
MarkKoz
2021-02-04
-1
/
+1
*
Fix the memory limit test and the import error
MarkKoz
2021-02-04
-2
/
+2
*
Close file descriptors when subprocess ends
MarkKoz
2021-02-04
-1
/
+1
*
Suppress NsJail info logs during tests
MarkKoz
2021-02-04
-0
/
+1
*
Move exit code conversion to main function
Sebastiaan Zeeff
2020-11-21
-4
/
+2
*
Add test for stdout output truncation
Sebastiaan Zeeff
2020-11-21
-1
/
+19
*
Convert negative exit codes into standard form
Sebastiaan Zeeff
2020-11-20
-1
/
+1
*
Use SIGKILL instead of SIGTERM to terminate NsJail
Sebastiaan Zeeff
2020-11-20
-1
/
+1
*
Limit STDOUT to prevent OOM events in container
Sebastiaan Zeeff
2020-11-20
-0
/
+9
*
Fix #56: stdout and stderr outputs in wrong order
MarkKoz
2020-01-11
-0
/
+16
*
Add test for importing numpy
MarkKoz
2019-12-28
-0
/
+6
*
Test root and direct children are read-only
MarkKoz
2019-12-28
-7
/
+10
*
Test shared memory is disabled
MarkKoz
2019-12-28
-0
/
+27
[next]