/external/autotest/site_utils/ |
D | deploy_server_local_unittest.py | 89 def test_verify_repo_clean(self, run_cmd): argument 95 run_cmd.return_value = 'nothing to commit (working directory clean)\n' 99 run_cmd.return_value = self.PROD_STATUS 104 run_cmd.return_value = "That's a very dirty repo you've got." 109 def test_repo_versions(self, run_cmd): argument 123 run_cmd.return_value = self.PROD_VERSIONS 127 run_cmd.assert_called_with( 132 def test_repo_sync_not_for_push_servers(self, run_cmd): argument 140 run_cmd.assert_has_calls(expect_cmds) 143 def test_repo_sync_for_push_servers(self, run_cmd): argument [all …]
|
D | automated_deploy_unittest.py | 31 def testUpdateProdBranch(self, run_cmd): argument 37 run_cmd.return_value = self.PUSH_LOG 41 run_cmd.assert_has_calls(expect_cmds) 44 run_cmd.return_value = self.PUSH_LOG 49 run_cmd.assert_has_calls(expect_cmds) 52 run_cmd.return_value = self.PUSH_LOG 57 run_cmd.return_value = 'Fail to push prod branch' 63 def testGetPushedCommits(self, run_cmd): argument 69 run_cmd.return_value = fake_commits_logs 78 run_cmd.assert_called_with(expect_git_log_cmd, stream_output=True) [all …]
|
D | bind_mysql_to_cpuset.sh | 56 function run_cmd() { function 122 run_cmd "mkdir -p ${MOUNT_DIR}" 123 run_cmd "mount -t cpuset none ${MOUNT_DIR}" 146 run_cmd "kill -9 ${proc}" 149 run_cmd "rmdir ${MOUNT_DIR}/${MYSQL_CPUSET}" 151 run_cmd "umount ${MOUNT_DIR}" 225 run_cmd "mkdir -p ${MOUNT_DIR}/${MYSQL_CPUSET}" 228 run_cmd "cd ${MOUNT_DIR}/${MYSQL_CPUSET}" 233 run_cmd "bash -c \"/bin/echo ${MYSQL_CPUS} > cpus\"" 239 run_cmd "bash -c \"/bin/echo ${MYSQL_PID} > tasks\""
|
/external/autotest/server/site_tests/platform_Flashrom/ |
D | platform_Flashrom.py | 31 def run_cmd(self, command, checkfor=''): member in platform_Flashrom 50 self.run_cmd('flashrom -p host --wp-status', checkfor='is disabled') 52 self.run_cmd('flashrom -p ec --wp-status', checkfor='is disabled') 54 self.run_cmd('flashrom -p ec:dev=1 --wp-status', 64 output = self.run_cmd('mosys eeprom map | grep %s' % fmap) 80 self.run_cmd('flashrom -E -i RW_SECTION_B', 'SUCCESS') 83 self.run_cmd('chromeos-firmwareupdate --mode=factory', 91 outdir = self.run_cmd('chromeos-firmwareupdate --sb_extract')[-1] 99 self.run_cmd('dd bs=1 skip=%d count=%d if=%s of=%s 2>&1' 105 self.run_cmd('flashrom -r -i RW_SECTION_B:%s' % rw_b2, 'SUCCESS') [all …]
|
/external/autotest/cli/ |
D | acl_unittest.py | 81 self.run_cmd(argv=['atest', 'acl', 'list', '-v'], 92 self.run_cmd(argv=['atest', 'acl', 'list', 'acl0'], 103 self.run_cmd(argv=['atest', 'acl', 'list', '-v', '--user', 'user0'], 114 self.run_cmd(argv=['atest', 'acl', 'list', '-m', 'host0'], 127 self.run_cmd(argv=['atest', 'acl', 'list', '-m', 'host0', '-v'], 180 self.run_cmd(argv=['atest', 'acl', 'create', 'acl0', 191 self.run_cmd(argv=['atest', 'acl', 'create', 'acl0', 206 self.run_cmd(argv=['atest', 'acl', 'delete', 'acl0', 213 self.run_cmd(argv=['atest', 'acl', 'delete', 'acl0', 224 self.run_cmd(argv=['atest', 'acl', 'delete', [all …]
|
D | label_unittest.py | 48 self.run_cmd(argv=['atest', 'label', 'list'], 55 self.run_cmd(argv=['atest', 'label', 'list', '-d'], 62 self.run_cmd(argv=['atest', 'label', 'list', '--all'], 69 self.run_cmd(argv=['atest', 'label', 'list', '-t'], 76 self.run_cmd(argv=['atest', 'label', 'list', 86 self.run_cmd(argv=['atest', 'label', 'create', 'label0', 'label1'], 99 self.run_cmd(argv=['atest', 'label', 'create', 'label0', 'label1'], 118 self.run_cmd(argv=['atest', 'label', 'delete', 'label0', 'label1', '--no-confirmation'], 126 self.run_cmd(argv=['atest', 'label', 'add', 'label0', 136 self.run_cmd(argv=['atest', 'label', 'remove', 'label0',
|
D | shard_unittest.py | 21 self.run_cmd(argv=['atest', 'shard', 'list'], 29 self.run_cmd(argv=['atest', 'shard', 'create', 38 self.run_cmd(argv=['atest', 'shard', 'create', 51 self.run_cmd(argv=['atest', 'shard', 'add_boards', 60 self.run_cmd(argv=['atest', 'shard', 'add_boards', 72 self.run_cmd(argv=['atest', 'shard', 'add_boards', 86 self.run_cmd(argv=['atest', 'shard', 'delete',
|
D | test_unittest.py | 55 self.run_cmd(argv=['atest', 'test', 'list'], 64 self.run_cmd(argv=['atest', 'test', 'list', '--all'], 73 self.run_cmd(argv=['atest', 'test', 'list', '--experimental'], 89 self.run_cmd(argv=['atest', 'test', 'list', 'test3'], 101 self.run_cmd(argv=['atest', 'test', 'list', 'test3,test1'], 113 self.run_cmd(argv=['atest', 'test', 'list', 'test3', 'test1'], 123 self.run_cmd(argv=['atest', 'test', 'list', '-v'], 133 self.run_cmd(argv=['atest', 'test', 'list', '-d'], 142 self.run_cmd(argv=['atest', 'test', 'list', '-d', '-v'],
|
D | job_unittest.py | 112 self.run_cmd(argv=['atest', 'job', 'list'], 122 self.run_cmd(argv=['atest', 'job', 'list', '-u', 'Cringer'], 132 self.run_cmd(argv=['atest', 'job', 'list', '--all'], 141 self.run_cmd(argv=['atest', 'job', 'list', '5964'], 161 self.run_cmd(argv=['atest', 'job', 'list', '5964', '-v'], 182 self.run_cmd(argv=['atest', 'job', 'list', 'myt*'], 202 self.run_cmd(argv=['atest', 'job', 'list', '--all', '--verbose'], 224 self.run_cmd(argv=['atest', 'job', 'stat', '180'], 255 self.run_cmd(argv=['atest', 'job', 'stat', '6761', 294 self.run_cmd(argv=['atest', 'job', 'stat', '6761', [all …]
|
D | host_unittest.py | 123 self.run_cmd(argv=['atest', 'host', 'list'], 153 self.run_cmd(argv=['atest', 'host', 'list'], 184 self.run_cmd(argv=['atest', 'host', 'list', 'host1'], 206 self.run_cmd(argv=['atest', 'host', 'list', 'host1', 242 self.run_cmd(argv=['atest', 'host', 'list', 'host1', 266 self.run_cmd(argv=['atest', 'host', 'list', 278 self.run_cmd(argv=['atest', 'host', 'list', 311 self.run_cmd(argv=['atest', 'host', 'list', 344 self.run_cmd(argv=['atest', 'host', 'list', 366 self.run_cmd(argv=['atest', 'host', 'list', [all …]
|
D | user_unittest.py | 64 self.run_cmd(argv=['atest', 'user', 'list'], 81 self.run_cmd(argv=['atest', 'user', 'list', 'user0'], 92 self.run_cmd(argv=['atest', 'user', 'list', '--acl', 'acl0'], 103 self.run_cmd(argv=['atest', 'user', 'list', '--access_level', '2'], 114 self.run_cmd(argv=['atest', 'user', 'list', '--verbose'], 131 self.run_cmd(argv=['atest', 'user', 'list', '--ulist', ufile.name, 146 self.run_cmd(argv=['atest', 'user', 'list', '--acl', 'acl0', '-v'], 156 self.run_cmd(argv=['atest', 'user', 'list',
|
D | atest_unittest.py | 28 outputs = self.run_cmd(argv + [help], exit_code=0, 62 self.run_cmd(['atest'], exit_code=1, 69 self.run_cmd(['atest', 'bad_topic'], exit_code=1, 76 self.run_cmd(['atest', 'host', 'bad_action'], exit_code=1,
|
/external/autotest/server/site_tests/firmware_Mosys/ |
D | firmware_Mosys.py | 37 lines = self.run_cmd('mosys help') 49 def run_cmd(self, command): member in firmware_Mosys 72 lines = self.run_cmd('fwtool ec version') 74 lines = self.run_cmd('ectool version') 104 lines = self.run_cmd('ectool --dev 1 version') 135 lines = self.run_cmd(lsb_info) 181 output = self.run_cmd(command)[0] 196 output = self.run_cmd(command)[0] 210 output = self.run_cmd(command)[0] 218 lines = self.run_cmd(command) [all …]
|
/external/ltp/testcases/network/rpc/rpc-tirpc/ |
D | rpc_test.sh | 40 run_cmd() function 52 run_cmd "killall -9 $SERVER" 53 run_cmd "$CLEANER $PROGNUMNOSVC" 106 run_cmd "$SERVER $PROGNUMNOSVC" &
|
/external/autotest/client/site_tests/hardware_ch7036/ |
D | hardware_ch7036.py | 23 def run_cmd(cmd): function 33 ups_str = run_cmd('initctl status %s' % (server)) 44 run_cmd("%s xset dpms force %s" % (_XENV, dpms_verb)) 46 run_cmd("%s xset dpms force on" % (_XENV)) 52 lsof_out = run_cmd('lsof -c /ch7036_monitor/ ' + \
|
/external/netperf/doc/examples/ |
D | runemomniaggdemo.sh | 14 function run_cmd { function 185 run_cmd 193 run_cmd 202 run_cmd 215 run_cmd
|
/external/iproute2/tipc/ |
D | peer.c | 72 return run_cmd(nlh, cmd, cmds, cmdl, NULL); in cmd_peer_rm() 92 return run_cmd(nlh, cmd, cmds, cmdl, NULL); in cmd_peer()
|
D | node.c | 220 return run_cmd(nlh, cmd, cmds, cmdl, NULL); in cmd_node_set() 242 return run_cmd(nlh, cmd, cmds, cmdl, NULL); in cmd_node_get() 266 return run_cmd(nlh, cmd, cmds, cmdl, NULL); in cmd_node()
|
D | media.c | 153 return run_cmd(nlh, cmd, cmds, cmdl, NULL); in cmd_media_get() 234 return run_cmd(nlh, cmd, cmds, cmdl, NULL); in cmd_media_set() 259 return run_cmd(nlh, cmd, cmds, cmdl, NULL); in cmd_media()
|
D | link.c | 156 return run_cmd(nlh, cmd, cmds, cmdl, NULL); in cmd_link_get() 409 return run_cmd(nlh, cmd, cmds, cmdl, NULL); in cmd_link_stat() 492 return run_cmd(nlh, cmd, cmds, cmdl, NULL); in cmd_link_set() 519 return run_cmd(nlh, cmd, cmds, cmdl, NULL); in cmd_link()
|
D | cmdl.h | 41 int run_cmd(struct nlmsghdr *nlh, const struct cmd *caller,
|
D | tipc.c | 95 if ((res = run_cmd(NULL, &cmd, cmds, &cmdl, NULL)) != 0) in main()
|
/external/autotest/client/common_lib/ |
D | packages.py | 56 run_cmd = None 65 run_cmd = 'ssh %s@%s "%s%s"' % (username, host, cd_str, cmd) 67 run_cmd = 'ssh %s "%s%s"' % (host, cd_str, cmd) 72 run_cmd = "%s%s" % (cd_str, cmd) 74 if run_cmd: 75 return utils.run(run_cmd, ignore_status=ignore_status)
|
/external/autotest/server/site_tests/firmware_FMap/ |
D | firmware_FMap.py | 79 def run_cmd(self, command): member in firmware_FMap 99 lines = self.run_cmd("mosys eeprom map")
|
/external/toolchain-utils/deprecated/ |
D | run_benchmarks.py | 143 run_cmd = line 149 sshargs += "time -p %s'" % run_cmd
|