Initial revision
This commit is contained in:
parent
90ef0525aa
commit
36a011247f
12
tests/mklargefile.py
Normal file
12
tests/mklargefile.py
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
#! /usr/bin/python
|
||||
import sys
|
||||
|
||||
if __name__ == '__main__':
|
||||
if len(sys.argv)<3:
|
||||
print sys.argv[0],'<filename> <filesize (in GB)>'
|
||||
else:
|
||||
GB=1024*1024*1024
|
||||
f=open(sys.argv[1],'w')
|
||||
f.seek(long(sys.argv[2])*GB)
|
||||
f.write('!')
|
||||
f.close();
|
||||
Loading…
Reference in New Issue
Block a user