mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-07-29 13:01:13 +03:00
A few test cases for benchmarks
This commit is contained in:
10
tests/generate.py
Executable file
10
tests/generate.py
Executable file
@ -0,0 +1,10 @@
|
||||
#!/usr/bin/python
|
||||
import os
|
||||
a=""
|
||||
for i in xrange(4096):
|
||||
a+=chr(i % 256);
|
||||
while True:
|
||||
try:
|
||||
os.write(1,a)
|
||||
except:
|
||||
exit(0)
|
Reference in New Issue
Block a user