Searched refs:tmpfile (Results 1 – 18 of 18) sorted by relevance
| /tools/testing/selftests/net/ |
| A D | rtnetlink_notification.sh | 20 local tmpfile 24 tmpfile=$(mktemp) 25 defer rm "$tmpfile" 27 ip monitor maddr > $tmpfile & 52 match_result=$(grep -cE "$test_dev.*(224.0.0.1|ff02::1)" "$tmpfile") 63 local tmpfile 67 tmpfile=$(mktemp) 68 defer rm "$tmpfile" 70 ip monitor acaddress > "$tmpfile" & 93 match_result=$(grep -cE "$test_dev.*(fe80::)" "$tmpfile")
|
| A D | fin_ack_lat.sh | 9 tmpfile=$(mktemp /tmp/fin_ack_latency.XXXX.log) 13 rm -f $tmpfile 21 ./fin_ack_lat | tee $tmpfile & 25 NR_SPIKES=$(wc -l $tmpfile | awk '{print $1}')
|
| A D | fib_nexthops.sh | 404 tmpfile=`mktemp /var/run/nexthoptestXXX` 405 mpid=`($IP monitor $mtype > $tmpfile & echo $!) 2>/dev/null` 407 echo "$mpid $tmpfile" 413 local tmpfile=$2 418 lines=`wc -l $tmpfile | cut "-d " -f1` 421 rm -rf $tmpfile
|
| A D | rtnetlink.sh | 643 tmpfile=`mktemp /var/run/ipsectestXXX` 644 mpid=`(ip x m > $tmpfile & echo $!) 2>/dev/null` 685 lines=`wc -l $tmpfile | cut "-d " -f1` 687 rm -rf $tmpfile
|
| /tools/testing/selftests/bpf/prog_tests/ |
| A D | test_veristat.c | 14 char tmpfile[80]; member 33 snprintf(fix->tmpfile, sizeof(fix->tmpfile), "/tmp/test_veristat.XXXXXX"); in init_fixture() 34 fix->fd = mkstemp(fix->tmpfile); in init_fixture() 44 remove(fix->tmpfile); in teardown_fixture() 135 fix->veristat, fix->tmpfile); in test_set_global_vars_out_of_range() 150 fix->veristat, fix->tmpfile); in test_unsupported_ptr_array_type() 165 fix->veristat, fix->tmpfile); in test_array_out_of_bounds() 180 fix->veristat, fix->tmpfile); in test_array_index_not_found() 195 fix->veristat, fix->tmpfile); in test_array_index_for_non_array() 202 fix->veristat, fix->tmpfile); in test_array_index_for_non_array() [all …]
|
| A D | arg_parsing.c | 119 char tmpfile[80]; in test_parse_test_list_file() local 123 snprintf(tmpfile, sizeof(tmpfile), "/tmp/bpf_arg_parsing_test.XXXXXX"); in test_parse_test_list_file() 124 fd = mkstemp(tmpfile); in test_parse_test_list_file() 149 ASSERT_OK(parse_test_list_file(tmpfile, &set, true), "parse file"); in test_parse_test_list_file() 166 remove(tmpfile); in test_parse_test_list_file()
|
| /tools/testing/selftests/powerpc/tm/ |
| A D | tm-vmxcopy.c | 43 char tmpfile[] = "/tmp/page_faultXXXXXX"; in test_vmxcopy() local 52 fd = mkstemp(tmpfile); in test_vmxcopy() 59 unlink(tmpfile); in test_vmxcopy()
|
| /tools/testing/selftests/net/netfilter/ |
| A D | conntrack_resize.sh | 11 tmpfile="" 34 rm -f "$tmpfile" "$tmpfile_proc" "$tmpfile_uniq" 331 l=$(ip netns exec "$ns" conntrack -L 2>/dev/null | sort | tee "$tmpfile" | wc -l) 345 unique=$(uniq "$tmpfile" | tee "$tmpfile_uniq" | wc -l) 348 diff -u "$tmpfile" "$tmpfile_uniq" 356 diff -u "$tmpfile" "$tmpfile_uniq" 506 tmpfile=$(mktemp)
|
| /tools/testing/selftests/tmpfs/ |
| A D | .gitignore | 2 /bug-link-o-tmpfile
|
| A D | Makefile | 5 TEST_GEN_PROGS += bug-link-o-tmpfile
|
| /tools/perf/tests/shell/ |
| A D | test_intel_pt.sh | 20 tmpfile="${temp_dir}/tmp-perf.data" 97 if ! perf_record_no_decode -o "${tmpfile}" -e dummy:u -C "$1" true >/dev/null 2>&1 ; then 132 perf_record_no_decode -o "${tmpfile}" -e dummy:k true >/dev/null 2>&1 && can_kernel_trace=1 418 perf_record_no_bpf -o "${tmpfile}" -e intel_pt//u "${jitdump_workload}" 419 perf inject -i "${tmpfile}" -o "${perfdatafile}" --jit
|
| /tools/testing/selftests/mm/ |
| A D | map_populate.c | 88 ftmp = tmpfile(); in main()
|
| A D | gup_longterm.c | 326 file = tmpfile(); in run_with_tmpfile()
|
| A D | cow.c | 422 file = tmpfile(); in do_test_iouring() 1691 file = tmpfile(); in run_with_tmpfile()
|
| /tools/testing/selftests/net/forwarding/ |
| A D | lib.sh | 1831 tmpfile=`mktemp /var/run/nexthoptestXXX` 1832 mpid=`($ip monitor $mtype > $tmpfile & echo $!) 2>/dev/null` 1834 echo "$mpid $tmpfile" 1840 local tmpfile=$1; shift 1846 local lines=`grep '^\w' $tmpfile | wc -l` 1849 rm -rf $tmpfile
|
| /tools/testing/selftests/net/mptcp/ |
| A D | mptcp_join.sh | 22 tmpfile="" 177 rm -f "$tmpfile" 531 tmpfile=$(mktemp) 532 head --bytes="$bytes" "$in" > "$tmpfile" 533 mv "$tmpfile" "$in" 534 head --bytes="$bytes" "$out" > "$tmpfile" 535 mv "$tmpfile" "$out" 536 tmpfile=""
|
| /tools/testing/selftests/bpf/benchs/ |
| A D | bench_sockmap.c | 442 file = tmpfile(); in producer()
|
| /tools/testing/selftests/bpf/ |
| A D | test_sockmap.c | 430 file = tmpfile(); in msg_loop_sendpage()
|
Completed in 25 milliseconds