Files
ostep-projects/initial-utilities/wzip/tests/filegen.py
Remzi Arpaci-Dusseau 6cb2958151 wzip tests
2019-02-16 08:06:01 -05:00

16 lines
302 B
Python
Executable File

#! /usr/bin/env python3
import random
import string
for i in range(1000000):
x = ''
letter = random.choice(string.ascii_lowercase + '\n')
if letter == '\n':
x += letter
else:
for i in range(int(random.random() * 20) + 1):
x += letter
print(x, end='')