Home
last modified time | relevance | path

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

12

/external/linux-kselftest/tools/testing/selftests/net/
Dfib_nexthops.sh71 run_cmd() function
269 run_cmd "$IP nexthop add id 52 via 2001:db8:91::2 dev veth1"
277 run_cmd "$IP nexthop get id 52"
281 run_cmd "$IP nexthop del id 52"
289 run_cmd "$IP nexthop add id 52 via 2001:db8:92::3"
293 run_cmd "$IP nexthop add id 53 via 2001:db8:3::3 dev veth1"
297 run_cmd "$IP nexthop add id 53 via 2001:db8:3::3 dev veth1 onlink"
302 run_cmd "$IP -6 nexthop add id 55 via 2001:db8:91::3 dev veth1"
303 run_cmd "$IP nexthop add id 56 via 2001:db8:91::4 dev veth1"
304 run_cmd "$IP nexthop add id 57 via 2001:db8:91::5 dev veth1"
[all …]
Dfcnal-test.sh188 run_cmd() function
203 run_cmd ${cmd}
247 run_cmd sysctl -q -w $*
463 run_cmd ping -c1 -w1 ${a}
467 run_cmd ping -c1 -w1 -I ${NSA_DEV} ${a}
471 run_cmd ping -c1 -w1 -I ${NSA_LO_IP} ${a}
491 run_cmd ping -c1 -w1 ${a}
501 run_cmd ping -c1 -w1 -I ${NSA_DEV} ${a}
511 run_cmd ping -c1 -w1 -I ${NSA_DEV} ${a}
525 run_cmd ping -c1 -w1 ${a}
[all …]
Dfib_tests.sh461 run_cmd "ip netns exec ns1 ping -I dummy1 -w1 -c1 198.51.100.1"
464 run_cmd "ip netns exec ns1 ping -I dummy1 -w1 -c1 127.0.0.1"
636 run_cmd() function
705 run_cmd "$IP -6 ro flush ${pfx}"
714 run_cmd "$IP -6 ro add ${pfx} ${nh}"
802 run_cmd "$IP -6 ro add 2001:db8:104::/64 via 2001:db8:103::2"
807 run_cmd "$IP -6 ro add 2001:db8:104::/64 dev veth3"
812 run_cmd "$IP -6 ro add unreachable 2001:db8:104::/64"
818 run_cmd "$IP -6 ro append 2001:db8:104::/64 via 2001:db8:103::2"
828 run_cmd "$IP -6 ro add 2001:db8:104::/64 nexthop via 2001:db8:101::2 nexthop via 2001:db8:103::2"
[all …]
Dpmtu.sh263 run_cmd() { function
316 run_cmd ${ns_a} ip fou add port 5555 ipproto ${ipproto} || return 2
317run_cmd ${ns_a} ip link add ${encap}_a type ${type} ${mode} local ${a_addr} remote ${b_addr} encap…
319 run_cmd ${ns_b} ip fou add port 5556 ipproto ${ipproto}
320run_cmd ${ns_b} ip link add ${encap}_b type ${type} ${mode} local ${b_addr} remote ${a_addr} encap…
323 run_cmd ${ns_a} ip addr add ${tunnel4_a_addr}/${tunnel4_mask} dev ${encap}_a
324 run_cmd ${ns_b} ip addr add ${tunnel4_b_addr}/${tunnel4_mask} dev ${encap}_b
326 run_cmd ${ns_a} ip addr add ${tunnel6_a_addr}/${tunnel6_mask} dev ${encap}_a
327 run_cmd ${ns_b} ip addr add ${tunnel6_b_addr}/${tunnel6_mask} dev ${encap}_b
330 run_cmd ${ns_a} ip link set ${encap}_a up
[all …]
Dicmp_redirect.sh90 run_cmd() function
275 run_cmd ip -netns h2 li set eth0 mtu ${mtu}
276 run_cmd ip -netns r2 li set eth2 mtu ${mtu}
288 run_cmd ip -netns h1 ro get ${H1_VRF_ARG} ${H2_N2_IP}
289 run_cmd ip -netns h1 -6 ro get ${H1_VRF_ARG} ${H2_N2_IP6}
330 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}
331 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}
337 run_cmd ip -netns r1 nexthop replace id 1 via ${R2_N1_IP} dev eth0
338 run_cmd ip -netns r1 nexthop replace id 2 via ${R2_LLADDR} dev eth0
343 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}" \
Dtraceroute.sh34 run_cmd() function
220 run_cmd host-1 "traceroute6 2000:103::4 | grep -q 2000:102::2"
289 run_cmd host-1 "traceroute 1.0.2.4 | grep -q 1.0.1.1"
/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/server/site_tests/firmware_WriteProtectFunc/
Dfirmware_WriteProtectFunc.py107 def run_cmd(self, command, checkfor=''): member in firmware_WriteProtectFunc
134 cmd_output = self.run_cmd(
139 return self.run_cmd('dd bs=1 skip=%s count=%s if=%s of=%s' %
157 ('reboot cmd', lambda:self.run_cmd('reboot')),
184 self.run_cmd(
188 lines = self.run_cmd('dump_fmap -p %s' % ro_before)
203 self.run_cmd('cp %s %s' % (ro_before, ro_test))
204 self.run_cmd(
218 self.run_cmd('flashrom -p %s -w -i WP_RO:%s' %
221 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 --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.py34 lines = self.run_cmd('mosys help')
60 def run_cmd(self, command): member in firmware_Mosys
83 lines = self.run_cmd('ectool version')
113 lines = self.run_cmd('ectool --dev 1 version')
143 output = self.run_cmd(command)
158 output = self.run_cmd(command)
164 output = self.run_cmd(command)
178 output = self.run_cmd(command)
/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.py406 result = self.run_cmd(self._INIT_ENTROPY_CMD)
449 result = self.run_cmd(ls_cmd)
747 result = self.run_cmd(cmd)
761 result = self.run_cmd(cmd)
778 result = self.run_cmd(touch_cmd)
784 self.run_cmd('sync')
795 result = self.run_cmd(rm_cmd)
801 self.run_cmd('sync')
808 flash_result = self.run_cmd(flash_cmd)
867 self.run_cmd('sync')
[all …]
/external/autotest/server/site_tests/firmware_Fingerprint/
Dfirmware_Fingerprint.py151 result = self.run_cmd(cmd)
189 self.run_cmd(cmd)
228 result = self.run_cmd(cmd)
262 result = self.run_cmd(cmd)
286 result = self.run_cmd(cmd)
294 return self.run_cmd(cmd).exit_status == 0
303 result = self.run_cmd(cmd)
/external/autotest/server/site_tests/firmware_FMap/
Dfirmware_FMap.py87 def run_cmd(self, command): member in firmware_FMap
117 self.run_cmd(
119 lines = self.run_cmd('dump_fmap -p %s' % fmap)
122 if (target in TARGET_BIOS) and self.run_cmd(command):
189 if self.faft_config.smm_store and 'x86' in self.run_cmd('uname -m')[0]:
/external/llvm-project/clang/utils/analyzer/
DSATestUpdateDiffs.py41 def run_cmd(command: str): function
50 run_cmd(f"git rm -r -q '{ref_results_path}'")
66 run_cmd(f"git add '{ref_results_path}'")
/external/autotest/server/cros/bluetooth/
Dbluetooth_peer_update.py39 def run_cmd(peer, cmd): function
107 status, _ = run_cmd(peer, cmd)
123 status, _ = run_cmd(peer, restart_cmd)
125 status, _ = run_cmd(peer, start_cmd)
134 status, output = run_cmd(peer, status_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/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()
Dnode.c221 return run_cmd(nlh, cmd, cmds, cmdl, NULL); in cmd_node_set()
243 return run_cmd(nlh, cmd, cmds, cmdl, NULL); in cmd_node_get()
267 return run_cmd(nlh, cmd, cmds, cmdl, NULL); in cmd_node()

12