Home
last modified time | relevance | path

Searched refs:run_cmd (Results 1 – 25 of 41) sorted by relevance

12

/external/linux-kselftest/tools/testing/selftests/net/
Dfib_tests.sh585 run_cmd() function
621 run_cmd "$IP -6 ro flush ${pfx}"
630 run_cmd "$IP -6 ro add ${pfx} ${nh}"
741 run_cmd "$IP -6 ro add 2001:db8:104::/64 via 2001:db8:103::2"
746 run_cmd "$IP -6 ro add 2001:db8:104::/64 dev veth3"
751 run_cmd "$IP -6 ro add unreachable 2001:db8:104::/64"
757 run_cmd "$IP -6 ro append 2001:db8:104::/64 via 2001:db8:103::2"
767 run_cmd "$IP -6 ro add 2001:db8:104::/64 nexthop via 2001:db8:101::2 nexthop via 2001:db8:103::2"
772 run_cmd "$IP -6 ro add 2001:db8:104::/64 via 2001:db8:103::2 metric 512"
775 run_cmd "$IP -6 ro add 2001:db8:104::/64 via 2001:db8:103::3 metric 256"
[all …]
Dfib-onlink-tests.sh122 run_cmd() function
232 run_cmd ip ro add table "${table}" "${prefix}"/32 via "${gw}" "${dev}" onlink
248 run_cmd ip ro add table "${table}" "${prefix}"/32 \
330 run_cmd ip -6 ro add table "${table}" "${prefix}"/128 via "${gw}" "${dev}" onlink
344 run_cmd ip -6 ro add table "${table}" "${prefix}"/128 "${opts}" \
/external/autotest/site_utils/
Dautomated_deploy_unittest.py34 def testUpdateProdBranchWithNoNewChanges(self, run_cmd): argument
39 run_cmd.return_value = None
43 run_cmd.assert_has_calls(expect_cmds)
47 def testUpdateProdBranchRebaseToCorrectHash(self, run_cmd): argument
52 run_cmd.side_effect = [self.GIT_LOG_FOR_COMMITS, None, self.PUSH_LOG]
58 run_cmd.assert_has_calls(expect_cmds)
62 def testUpdateProdBranchRebaseToProdNext(self, run_cmd): argument
67 run_cmd.side_effect = [self.GIT_LOG_FOR_COMMITS, None, self.PUSH_LOG]
75 run_cmd.assert_has_calls(expect_cmds)
79 def testUpdateProdBranchParseCommitRange(self, run_cmd): argument
[all …]
Ddeploy_server_local_unittest.py90 def test_verify_repo_clean(self, run_cmd): argument
96 run_cmd.return_value = 'nothing to commit (working directory clean)\n'
100 run_cmd.return_value = self.PROD_STATUS
105 run_cmd.return_value = "That's a very dirty repo you've got."
110 def test_repo_versions(self, run_cmd): argument
124 run_cmd.return_value = self.PROD_VERSIONS
128 run_cmd.assert_called_with(
133 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 …]
Dbind_mysql_to_cpuset.sh56 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/swiftshader/third_party/subzero/pydir/
Dcrosstest_generator.py32 def RunNativePrefix(toolchain_root, target, attr, run_cmd): argument
52 return (prefix + ' ' + run_cmd) if prefix else run_cmd
196 run_cmd = run_cmd_base
198 run_cmd = '{root}/run.py -q '.format(root=root) + run_cmd
200 run_cmd = (
203 root=root, arch=NonsfiLoaderArch(target)) + run_cmd
204 run_cmd = RunNativePrefix(args.toolchain_root, target, attr,
205 run_cmd)
207 run_cmd = RunNativePrefix(args.toolchain_root, target, attr,
208 run_cmd)
[all …]
/external/autotest/cli/
Dacl_unittest.py81 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 …]
Dlabel_unittest.py48 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',
Dshard_unittest.py21 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',
Djob_unittest.py112 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 …]
Dtest_unittest.py55 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'],
Dhost_unittest.py123 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 …]
Duser_unittest.py64 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',
Datest_unittest.py28 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/platform_Flashrom/
Dplatform_Flashrom.py30 def run_cmd(self, command, checkfor=''): member in platform_Flashrom
49 self.run_cmd('flashrom -p host --wp-status', checkfor='is disabled')
51 self.run_cmd('flashrom -p ec --wp-status', checkfor='is disabled')
53 self.run_cmd('flashrom -p ec:dev=1 --wp-status',
63 output = self.run_cmd('mosys eeprom map | grep %s' % fmap)
79 self.run_cmd('flashrom -E -i RW_SECTION_B', 'SUCCESS')
82 self.run_cmd('chromeos-firmwareupdate --mode=factory', 'SUCCESS')
104 self.run_cmd('dd bs=1 skip=%d count=%d if=%s of=%s 2>&1'
110 self.run_cmd('flashrom -r -i RW_SECTION_B:%s' % rw_b2, 'SUCCESS')
113 result_output = self.run_cmd('cmp %s %s' % (shball_rw_b, rw_b2))
/external/autotest/server/site_tests/platform_FlashErasers/
Dplatform_FlashErasers.py20 def run_cmd(self, command, checkfor=''): member in platform_FlashErasers
49 for line in [x.strip() for x in self.run_cmd('dump_fmap %s' % bios)]:
89 active_fw = self.run_cmd('crossystem mainfw_act')[0]
103 self.run_cmd('flashrom -r %s' % bios_image)
125 self.run_cmd('cp %s %s' % (bios_image, junk_image))
129 self.run_cmd(dd_cmd)
133 self.run_cmd('flashrom -w %s --diff %s --fast-verify' %
137 self.run_cmd('flashrom -w %s --diff %s' % (bios_image, junk_image))
/external/autotest/server/site_tests/firmware_Mosys/
Dfirmware_Mosys.py37 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/u-boot/scripts/
Dcoccicheck156 run_cmd() { function
231 run_cmd $SPATCH -D patch \
233 run_cmd $SPATCH -D report \
235 run_cmd $SPATCH -D context \
237 run_cmd $SPATCH -D org \
240 run_cmd $SPATCH -D report \
242 run_cmd $SPATCH -D context \
245 run_cmd $SPATCH -D $MODE $FLAGS --cocci-file $COCCI $OPT $OPTIONS || exit 1
/external/autotest/client/site_tests/platform_CryptohomeTPMReOwn/
Dplatform_CryptohomeTPMReOwn.py11 def run_cmd(cmd): function
44 output = run_cmd(
63 run_cmd("echo TEST_CONTENT > %s" % test_file_path(self.user))
70 output = run_cmd("cat %s" % test_file_path(self.user))
79 output = run_cmd("cat %s" % test_file_path(self.user))
/external/autotest/server/cros/faft/
Dfingerprint_test.py241 result = self.run_cmd(self._INIT_ENTROPY_CMD)
253 result = self.run_cmd(ls_cmd)
383 result = self.run_cmd(flash_cmd)
392 result = self.run_cmd(flash_cmd)
425 def run_cmd(self, command, timeout=300): member in FingerprintTest
437 result = self.run_cmd(cmd)
448 result = self.run_cmd(test_cmd)
/external/skqp/docker/skia-with-swift-shader-base/
Dbuild-with-swift-shader-and-run59 run_cmd = ['docker', 'run', '--rm', '-w=/skia', '-v', '%s:/skia' % skia_root, IMAGE] + supplied_cmd variable
61 print subprocess.check_output(run_cmd)
/external/skia/docker/skia-with-swift-shader-base/
Dbuild-with-swift-shader-and-run59 run_cmd = ['docker', 'run', '--rm', '-w=/skia', '-v', '%s:/skia' % skia_root, IMAGE] + supplied_cmd variable
61 print subprocess.check_output(run_cmd)
/external/autotest/server/site_tests/firmware_FMap/
Dfirmware_FMap.py80 def run_cmd(self, command): member in firmware_FMap
100 lines = self.run_cmd("mosys eeprom map")
162 if self.faft_config.smm_store and 'x86' in self.run_cmd('uname -m')[0]:
/external/iproute2/tipc/
Dpeer.c72 return run_cmd(nlh, cmd, cmds, cmdl, NULL); in cmd_peer_rm()
92 return run_cmd(nlh, cmd, cmds, cmdl, NULL); in cmd_peer()
Dmedia.c153 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()

12