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