Home
last modified time | relevance | path

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

123

/external/linux-kselftest/tools/testing/selftests/net/
Dfib_nexthops.sh100 run_cmd() function
327 run_cmd "$IP nexthop add id $nhidstr via $ipstr$iter dev veth1"
343 run_cmd "$IP nexthop add id $grpidstr group $grpstr"
349 run_cmd "$IP nexthop list"
366 run_cmd "$IP nexthop add id 100 via $ipstr dev veth1"
367 run_cmd "$IP nexthop add id 1000 group 100 type resilient buckets $buckets"
368 run_cmd "$IP nexthop bucket list"
431 run_cmd "$IP nexthop add id 61 via 2001:db8:91::2 fdb"
432 run_cmd "$IP nexthop add id 62 via 2001:db8:91::3 fdb"
433 run_cmd "$IP nexthop add id 102 group 61/62 fdb"
[all …]
Dfcnal-test.sh207 run_cmd() function
227 run_cmd ${cmd}
293 run_cmd sysctl -q -w $*
568 run_cmd ping -c1 -w1 ${a}
572 run_cmd ping -c1 -w1 -I ${NSA_DEV} ${a}
576 run_cmd ping -c1 -w1 -I ${NSA_LO_IP} ${a}
596 run_cmd ping -c1 -w1 ${a}
606 run_cmd ping -c1 -w1 -I ${NSA_DEV} ${a}
616 run_cmd ping -c1 -w1 -I ${NSA_DEV} ${a}
630 run_cmd ping -c1 -w1 ${a}
[all …]
Dfib_tests.sh500 run_cmd "ip netns exec ns2 ping -w1 -c1 192.0.2.1"
503 run_cmd "ip netns exec ns2 ping -w1 -c1 127.0.0.1"
681 run_cmd() function
750 run_cmd "$IP -6 ro flush ${pfx}"
759 run_cmd "$IP -6 ro add ${pfx} ${nh}"
847 run_cmd "$IP -6 ro add 2001:db8:104::/64 via 2001:db8:103::2"
852 run_cmd "$IP -6 ro add 2001:db8:104::/64 dev veth3"
857 run_cmd "$IP -6 ro add unreachable 2001:db8:104::/64"
863 run_cmd "$IP -6 ro append 2001:db8:104::/64 via 2001:db8:103::2"
873 run_cmd "$IP -6 ro add 2001:db8:104::/64 nexthop via 2001:db8:101::2 nexthop via 2001:db8:103::2"
[all …]
Dpmtu.sh360 run_cmd() { function
423 run_cmd ${ns_a} ip fou add port 5555 ipproto ${ipproto} || return $ksft_skip
424run_cmd ${ns_a} ip link add ${encap}_a type ${type} ${mode} local ${a_addr} remote ${b_addr} encap…
426 run_cmd ${ns_b} ip fou add port 5556 ipproto ${ipproto}
427run_cmd ${ns_b} ip link add ${encap}_b type ${type} ${mode} local ${b_addr} remote ${a_addr} encap…
430 run_cmd ${ns_a} ip addr add ${tunnel4_a_addr}/${tunnel4_mask} dev ${encap}_a
431 run_cmd ${ns_b} ip addr add ${tunnel4_b_addr}/${tunnel4_mask} dev ${encap}_b
433 run_cmd ${ns_a} ip addr add ${tunnel6_a_addr}/${tunnel6_mask} dev ${encap}_a
434 run_cmd ${ns_b} ip addr add ${tunnel6_b_addr}/${tunnel6_mask} dev ${encap}_b
437 run_cmd ${ns_a} ip link set ${encap}_a up
[all …]
Dicmp_redirect.sh94 run_cmd() function
281 run_cmd ip -netns h2 li set eth0 mtu ${mtu}
282 run_cmd ip -netns r2 li set eth2 mtu ${mtu}
294 run_cmd ip -netns h1 ro get ${H1_VRF_ARG} ${H2_N2_IP}
295 run_cmd ip -netns h1 -6 ro get ${H1_VRF_ARG} ${H2_N2_IP6}
337 run_cmd ip netns exec h1 ping -q -M want -i 0.5 -c 10 -w 2 -s ${sz} ${H1_PING_ARG} ${H2_N2_IP}
338 run_cmd ip netns exec h1 ${ping6} -q -M want -i 0.5 -c 10 -w 2 -s ${sz} ${H1_PING_ARG} ${H2_N2_IP6}
344 run_cmd ip -netns r1 nexthop replace id 1 via ${R2_N1_IP} dev eth0
345 run_cmd ip -netns r1 nexthop replace id 2 via ${R2_LLADDR} dev eth0
350 run_cmd ip -netns r1 nexthop flush
[all …]
Dl2tp.sh45 run_cmd() function
234 run_cmd host-1 ip xfrm policy add \
238 run_cmd host-1 ip xfrm policy add \
242 run_cmd host-2 ip xfrm policy add \
246 run_cmd host-2 ip xfrm policy add \
273 run_cmd host-1 ip -6 xfrm policy add \
277 run_cmd host-1 ip -6 xfrm policy add \
281 run_cmd host-2 ip -6 xfrm policy add \
285 run_cmd host-2 ip -6 xfrm policy add \
312 run_cmd host-1 ip xfrm state flush
[all …]
Dfib_nexthop_multiprefix.sh47 run_cmd() function
158 run_cmd ip -netns h${hostid} li set eth0 mtu ${mtu}
159 run_cmd ip -netns r1 li set eth${hostid} mtu ${mtu}
176 run_cmd ip netns exec h0 ping -s ${ping_sz} -c5 -w5 ${dst}
205 run_cmd ip netns exec h0 ${ping6} -s ${ping_sz} -c5 -w5 ${dst}
245 run_cmd taskset -c ${c} ip netns exec h0 ping -c1 -w1 172.16.10${i}.1
248 run_cmd taskset -c ${c} ip netns exec h0 ${ping6} -c1 -w1 2001:db8:10${i}::1
Dfib-onlink-tests.sh123 run_cmd() function
247 run_cmd ip ro add table "${table}" "${prefix}"/32 via "${gw}" "${dev}" onlink
263 run_cmd ip ro add table "${table}" "${prefix}"/32 \
345 run_cmd ip -6 ro add table "${table}" "${prefix}"/128 via "${gw}" "${dev}" onlink
359 run_cmd ip -6 ro add table "${table}" "${prefix}"/128 "${opts}" \
/external/ktfmt/
Dprepare_upgrade.py70 run_cmd(["repo", "start", "ktfmt_update1"])
79 run_cmd(["repo", "start", "--head", "ktfmt_update2"])
85 def run_cmd(cmd): function
95 return run_cmd(["git", "status", "--porcelain"]) == ""
107 result = run_cmd(["git", "branch"])
121 run_cmd(cmd)
123 run_cmd(cmd)
157 run_cmd(cmd)
187 run_cmd(["git", "add", "--all"])
188 run_cmd(["git", "commit", "-m", cl_message])
[all …]
/external/autotest/site_utils/
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/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:type=pd --wp-status',
63 output = self.run_cmd('dump_fmap -p %s %s' % (fmap_filename, region))
79 self.run_cmd('flashrom -E -i RW_SECTION_B', 'SUCCESS')
82 self.run_cmd('chromeos-firmwareupdate --mode=factory', 'SUCCESS')
103 self.run_cmd('flashrom -r -i FMAP:%s' % fmap, 'SUCCESS')
108 self.run_cmd('dd bs=1 skip=%d count=%d if=%s of=%s 2>&1'
114 self.run_cmd('flashrom -r -i RW_SECTION_B:%s' % rw_b2, 'SUCCESS')
[all …]
/external/autotest/client/cros/
Dcryptohome.py85 out = run_cmd(TPM_MANAGER_CMD + ' status')
118 out = run_cmd(CRYPTOHOME_CMD +
153 out = run_cmd(cmd)
171 out = run_cmd(CRYPTOHOME_CMD + ' --action=get_login_status')
192 out = run_cmd(CRYPTOHOME_CMD + ' --action=install_attributes_get_status')
214 out = run_cmd(CRYPTOHOME_CMD + ' --action=install_attributes_finalize')
223 lambda: run_cmd(cmd).strip() == 'InstallAttributesIsReady(): 1',
232 out = run_cmd(ATTESTATION_CMD + ' status')
248 run_cmd(CRYPTOHOME_CMD + ' --action=tpm_take_ownership')
274 run_cmd(cmd)
[all …]
Dtpm.py36 out = run_cmd(TPM_MANAGER_CMD + ' status')
61 out = run_cmd(TPM_MANAGER_CMD + ' get_da_info')
79 def run_cmd(cmd): function
/external/autotest/server/site_tests/firmware_WriteProtectFunc/
Dfirmware_WriteProtectFunc.py110 def run_cmd(self, command, checkfor=''): member in firmware_WriteProtectFunc
137 cmd_output = self.run_cmd(
142 return self.run_cmd('dd bs=1 skip=%s count=%s if=%s of=%s' %
162 ('reboot cmd', lambda:self.run_cmd('reboot')),
189 self.run_cmd(
193 lines = self.run_cmd('dump_fmap -p %s' % ro_before)
208 self.run_cmd('cp %s %s' % (ro_before, ro_test))
209 self.run_cmd(
223 self.run_cmd('flashrom -p %s -w -i WP_RO:%s' %
226 self.run_cmd('flashrom -p %s -r -i WP_RO:%s' %
[all …]
/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 --flash-contents %s --noverify-all' %
137 self.run_cmd('flashrom -w %s --flash-contents %s' %
/external/autotest/server/site_tests/firmware_Mosys/
Dfirmware_Mosys.py35 lines = self.run_cmd('mosys help')
61 def run_cmd(self, command): member in firmware_Mosys
84 lines = self.run_cmd('ectool version')
114 lines = self.run_cmd('ectool --dev 1 version')
144 output = self.run_cmd(command)
159 output = self.run_cmd(command)
165 output = self.run_cmd(command)
179 output = self.run_cmd(command)
/external/autotest/server/site_tests/firmware_Fingerprint/
Dfirmware_Fingerprint.py153 result = self.run_cmd(cmd)
191 self.run_cmd(cmd)
231 result = self.run_cmd(cmd)
265 result = self.run_cmd(cmd)
289 result = self.run_cmd(cmd)
297 return self.run_cmd(cmd).exit_status == 0
306 result = self.run_cmd(cmd)
/external/autotest/server/cros/faft/
Dfingerprint_test.py428 result = self.run_cmd(self._INIT_ENTROPY_CMD)
476 result = self.run_cmd(ls_cmd)
774 result = self.run_cmd(cmd)
788 result = self.run_cmd(cmd)
805 result = self.run_cmd(touch_cmd)
811 self.run_cmd('sync')
822 result = self.run_cmd(rm_cmd)
828 self.run_cmd('sync')
837 flash_result = self.run_cmd(flash_cmd)
896 self.run_cmd('sync')
[all …]
/external/autotest/server/site_tests/firmware_FMap/
Dfirmware_FMap.py88 def run_cmd(self, command): member in firmware_FMap
118 self.run_cmd(
120 lines = self.run_cmd('dump_fmap -p %s' % fmap)
123 if (target in TARGET_BIOS) and self.run_cmd(command):
190 if self.faft_config.smm_store and 'x86' in self.run_cmd('uname -m')[0]:
/external/autotest/server/site_tests/infra_TLSExecDUTCommand/
Dinfra_TLSExecDUTCommand.py48 self.tlsclient.run_cmd("sleep 10", timeout=5)
61 res = self.tlsclient.run_cmd("NonExistingCommand")
69 res = self.tlsclient.run_cmd("echo success")
/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_FingerprintCrosConfig/
Dfirmware_FingerprintCrosConfig.py18 def run_cmd(self, command, timeout=300): member in firmware_FingerprintCrosConfig
30 return self.run_cmd(cmd)
/external/python/cpython3/Tools/c-analyzer/c_parser/preprocessor/
Dcommon.py26 def run_cmd(argv, *, function
62 return run_cmd(argv)
126 output = run_cmd(argv, stderr=None)
/external/autotest/server/cros/bluetooth/
Dbluetooth_peer_update.py45 def run_cmd(peer, cmd): function
192 status, _ = run_cmd(peer, cmd)
208 status, _ = run_cmd(peer, restart_cmd)
210 status, _ = run_cmd(peer, start_cmd)
219 status, output = run_cmd(peer, status_cmd)
/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()

123