Searched refs:run_command (Results 1 - 19 of 19) sorted by relevance

/trex/scripts/automation/regression/stateless_tests/
H A Dstl_examples_test.py4 from misc_methods import run_command namespace
28 return_code, stdout, stderr = run_command("sh -c 'cd %s; %s %s -s %s'" % (examples_dir, sys.executable, example, CTRexScenario.configuration.trex['trex_name']))
H A Dtrex_client_pkg_test.py3 from misc_methods import run_command namespace
31 return_code, stdout, stderr = run_command("bash -ce '%s'" % '; '.join(commands))
/trex/scripts/automation/regression/functional_tests/
H A Dplatform_cmd_link_test.py25 self.com_link.run_command([self.cache])
45 self.com_link.run_command([self.cache])
46 self.com_link.run_command(["show ip interface brief"])
55 self.com_link.run_command(["show ip interface brief"])
H A Dcpp_gtests_test.py14 def run_command(command, timeout = 15, poll_rate = 0.1, cwd = None): function
37 ret, out = run_command('%s --ut' % bp_sim, cwd = CTRexScenario.scripts_path)
44 ret, out = run_command(os.path.join(CTRexScenario.scripts_path, 'run-gtest-clean'), cwd = CTRexScenario.scripts_path)
52 ret, out = run_command(os.path.join(CTRexScenario.scripts_path, cmd), cwd = CTRexScenario.scripts_path)
/trex/scripts/
H A Dsimple_start_server.py20 def run_command(command, timeout = 15, cwd = None): function
40 ret_code, stdout, stderr = run_command('ps -u root --format pid,comm,cmd')
57 ret_code, stdout, stderr = run_command('ls')
71 run_command('kill %s' % pid)
72 ret_code_ps, _, _ = run_command('ps -p %s' % pid)
74 run_command('kill -9 %s' % pid)
75 ret_code_ps, _, _ = run_command('ps -p %s' % pid)
86 run_command('kill -INT %s' % pid)
H A Dscapy_daemon_server57 def run_command(command, timeout = 30, poll_rate = 0.1, cwd = None, demote = False, is_daemon = False): function
123 ret, out = run_command("ls %s" % check_path, demote = True)
143 proc, stdout_file = run_command(cmd, demote = True, is_daemon = True, cwd = server_path)
164 run_command('kill %s' % pid) # usual kill
168 _, out = run_command('kill -9 %s' % pid) # unconditional kill
H A Dmaster_daemon.py17 from singleton_daemon import SingletonDaemon, register_socket, run_command namespace
38 ret_code, stdout, stderr = run_command('wget %s -O %s' % (package_path, os.path.join(tmp_dir, file_name)), timeout = 600)
40 ret_code, stdout, stderr = run_command('rsync -Lc %s %s' % (package_path, os.path.join(tmp_dir, file_name)), timeout = 300)
49 ret_code, stdout, stderr = run_command('tar -xzf %s' % os.path.join(tmp_dir, file_name), timeout = 120, cwd = tmp_dir)
171 ret, out, err = run_command('taskset -pc 0 %s' % pid)
H A Ddpdk_nic_bind.py627 run_command = 'sudo ./t-rex-64 --dump-interfaces %s' % ' '.join(pci_addr_list)
628 proc = subprocess.Popen(shlex.split(run_command), stdout=subprocess.PIPE,
/trex/scripts/automation/regression/stateful_tests/
H A Dtrex_client_pkg_test.py3 from misc_methods import run_command namespace
26 return_code, _, stderr = run_command("bash -ce '%s'" % '; '.join(commands))
H A Dtrex_general_test.py377 return_code, _, stderr = misc_methods.run_command("tar -xzf %s -C %s" % (client_pkg_files[0], CTRexScenario.scripts_path))
/trex/scripts/automation/trex_control_plane/server/
H A Dsingleton_daemon.py47 ret_code, stdout, stderr = run_command('netstat -px')
58 ret_code, stdout, stderr = run_command('netstat -tlnp')
159 def run_command(command, timeout = 15, cwd = None): function
H A Dtrex_server.py34 from .singleton_daemon import register_socket, run_command namespace
36 from singleton_daemon import register_socket, run_command namespace
235 ret_code, stdout, stderr = run_command('./t-rex-64 --help', cwd = self.TREX_PATH)
396 ret_code, stdout, stderr = run_command('ps -u root --format pid,comm,cmd')
488 cmd = "{nice}{run_command}{debug_image} --iom {io} {cmd_options} --no-key".format( # -- iom 0 disables the periodic log to the screen (not needed)
490 run_command = self.TREX_START_CMD,
/trex/scripts/external_libs/nose-1.3.4/python2/nose/
H A Dcommands.py135 self.run_command('egg_info')
/trex/scripts/external_libs/nose-1.3.4/python3/nose/
H A Dcommands.py135 self.run_command('egg_info')
/trex/scripts/automation/regression/
H A Dmisc_methods.py26 def run_command(cmd, background = False): function
49 return run_command(cmd, background)
H A DCPlatform.py230 self.cmd_link.run_command( [pre_commit_cache, cache] )
353 self.cmd_link.run_command( [pre_commit_cache, cache] )
502 self.cmd_link.run_command( [pre_commit_cache, cache] )
524 self.cmd_link.run_command( [cache] )
621 self.cmd_link.run_command( [cache] )
H A Dplatform_cmd_link.py105 def run_command (self, cmd_list, **kwargs): member in class:CCommandLink
119 return self.run_command([cmd], **kwargs)
/trex/scripts/external_libs/python-daemon-2.0.5/
H A Dversion.py507 self.run_command(command_name)
H A Dtest_version.py1359 base_command, "run_command")
1377 base_command.run_command.assert_has_calls(expected_calls)

Completed in 21 milliseconds