1 ''' 2 Access Control Lists testing based on newpynfs framework 3 Aurelien Charbon - Bull SA 4 ''' 5 6 from random_gen import * 7 from optparse import OptionParser 8 9 parser = OptionParser() 10 parser.add_option("-u", "--users", dest="nu",type="int",help="number of users to create") 11 parser.add_option("-g", "--group",dest="ng",type="int",help="number of groups to create") 12 13 (options, args) = parser.parse_args() 14 15 ''' Measuring time to add an ACE to a list regarding the number of ACE already in the list''' 16 ''' Doing the measurement on 100 files ''' 17 test=RandomGen() 18 test.createNGroup(options.ng) 19 test.getGroupList() 20 test.createNUser(options.nu) 21