• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1'''
2	Access Control Lists testing based on newpynfs framework
3	Aurelien Charbon - Bull SA
4'''
5
6from random_gen import *
7from optparse import OptionParser
8
9parser = OptionParser()
10parser.add_option("-u", "--users", dest="nu",type="int",help="number of users to create")
11parser.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 '''
17test=RandomGen()
18test.createNGroup(options.ng)
19test.getGroupList()
20test.createNUser(options.nu)
21