piston/tests/fallocate.py

12 lines
270 B
Python
Raw Normal View History

2021-04-28 05:35:40 +02:00
"""
Description
Writing a large file to disk in the jobs directory, exhausting the
space will temporarly disable other jobs to be started.
Discovered by
Discord Derpius#9144
"""
with open("beans","w") as f:
n = 2**24
f.write("I love beans\n"*n)