You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
311 B

#!/usr/bin/python
import e2fsprogs_uuid
import time
print "Generating uuid...",
try:
time = time.time()
u = e2fsprogs_uuid.generate()
except:
u = "FAIL"
print u, "...", time
print "Calling generate with param...",
try:
e2fsprogs_uuid.generate("param")
print "FAIL."
except:
print "OK"