示例#1
0
def sudocmd2(request):
    tracker = SudoCmdTracker(command=u'/usr/bin/sudoTestCmd1',
                             description=u'Test sudo command 2')
    return tracker.make_fixture(request)
示例#2
0
def sudocmd_plus(request):
    tracker = SudoCmdTracker(command=u'/bin/ls -l /lost+found/*',
                             description=u'Test sudo command 3')
    return tracker.make_fixture(request)
def sudocmd_plus(request):
    tracker = SudoCmdTracker(command=u'/bin/ls -l /lost+found/*',
                             description=u'Test sudo command 3')
    return tracker.make_fixture(request)
示例#4
0
def sudocmd2(request):
    tracker = SudoCmdTracker(command=u'/usr/bin/sudoTestCmd1',
                             description=u'Test sudo command 2')
    return tracker.make_fixture(request)
def sudocmd1(request, xmlrpc_setup):
    tracker = SudoCmdTracker(command=u'/usr/bin/sudotestcmd1',
                             description=u'Test sudo command 1')
    return tracker.make_fixture(request)