1#!/usr/bin/python 2import e2fsprogs_uuid 3import time 4 5print "Generating uuid...", 6try: 7 time = time.time() 8 u = e2fsprogs_uuid.generate() 9except: 10 u = "FAIL" 11print u, "...", time 12 13print "Calling generate with param...", 14try: 15 e2fsprogs_uuid.generate("param") 16 print "FAIL." 17except: 18 print "OK" 19