Searched +full:local +full:- +full:dir (Results 1 – 25 of 1078) sorted by relevance
12345678910>>...44
| /external/linux-kselftest/tools/testing/selftests/firmware/ |
| D | fw_upload.sh | 2 # SPDX-License-Identifier: GPL-2.0 3 # This validates the user-initiated fw upload mechanism of the firmware 7 set -e 13 errors="hw-error 15 device-busy 16 invalid-file-size 17 read-write-error 18 flash-wearout" 19 error_abort="user-abort" 33 local fwdevs="$fwname1 $fwname2 $fwname3" [all …]
|
| D | fw_fallback.sh | 2 # SPDX-License-Identifier: GPL-2.0 7 set -e 23 local name="$1" 24 local file="$2" 27 echo -n "$name" >"$DIR"/trigger_request & 30 local timeout=10 31 while [ ! -e "$DIR"/"$name"/loading ]; do 33 timeout=$(( $timeout - 1 )) 34 if [ "$timeout" -eq 0 ]; then 40 echo 1 >"$DIR"/"$name"/loading [all …]
|
| /external/e2fsprogs/tests/f_bad_encryption/ |
| D | mkimage.sh | 8 set -e -u 13 debugfs -w "$@" image 18 local file=$1 19 local ino 24 ino=$(stat -c %i "$file") 25 do_debugfs -R "zap_block -f <$ino> 0" 29 local file=$1 30 local value=$2 31 local ino 33 ino=$(stat -c %i "$file") [all …]
|
| /external/e2fsprogs/tests/f_badsymlinks2/ |
| D | mkimage.sh | 5 set -e -u 11 debugfs -w "$@" image 22 local len=$1 23 local src=$2 24 local target=$(perl -e 'print "A" x '$len) 25 ln -s $target $src 26 stat -c %i $src 31 local ino=$1 32 local len=$2 34 echo "zap_block -f <$ino> -p $((len%256)) -o 0 -l 1 0" [all …]
|
| /external/linux-kselftest/tools/testing/selftests/netfilter/ |
| D | nft_nat.sh | 6 # Kselftest framework requirement - SKIP code is 4. 11 sfx=$(mktemp -u "XXXXXXXX") 12 ns0="ns0-$sfx" 13 ns1="ns1-$sfx" 14 ns2="ns2-$sfx" 18 for i in 0 1 2; do ip netns del ns$i-"$sfx";done 21 nft --version > /dev/null 2>&1 22 if [ $? -ne 0 ];then 27 ip -Version > /dev/null 2>&1 28 if [ $? -ne 0 ];then [all …]
|
| /external/ltp/testcases/lib/ |
| D | tst_security.sh | 2 # SPDX-License-Identifier: GPL-2.0-or-later 5 if [ -z "$TST_LIB_LOADED" ]; then 10 [ -n "$TST_SECURITY_LOADED" ] && return 0 15 local cmd 16 local profiles 26 [ -z "$profiles" ] && profiles="none" 39 [ -z "$profiles" ] && profiles="none" 48 local f="/sys/module/apparmor/parameters/enabled" 49 [ -f "$f" ] && [ "$(cat $f)" = "Y" ] 58 [ $# -eq 1 ] || tst_brk TCONF "usage tst_apparmor_used_profile CMD" [all …]
|
| /external/linux-kselftest/tools/testing/selftests/net/ |
| D | xfrm_policy.sh | 2 # SPDX-License-Identifier: GPL-2.0 8 # ns1 ---- ns3 ----- ns4 ---- ns2 21 # Kselftest framework requirement - SKIP code is 4. 32 local ns=$1 33 local me=$2 34 local remote=$3 35 local lnet=$4 36 local rnet=$5 39 …ip -net $ns xfrm policy add src $lnet dst $rnet dir out tmpl src $me dst $remote proto esp mode tu… 41 …ip -net $ns xfrm policy add src $rnet dst $lnet dir fwd tmpl src $remote dst $me proto esp mode tu… [all …]
|
| D | drop_monitor_tests.sh | 2 # SPDX-License-Identifier: GPL-2.0 7 # Kselftest framework requirement - SKIP code is 4. 10 # all tests in this script. Can be overridden with -t option 16 IP="ip -netns ns1" 17 TC="tc -netns ns1" 18 DEVLINK="devlink -N ns1" 27 local rc=$1 28 local expected=$2 29 local msg="$3" 31 if [ ${rc} -eq ${expected} ]; then [all …]
|
| /external/bazelbuild-rules_android/test/rules/android_sdk_repository/ |
| D | android_helper.sh | 9 # http://www.apache.org/licenses/LICENSE-2.0 17 # --- begin runfiles.bash initialization v2 --- 18 # Copy-pasted from the Bazel Bash runfiles library v2. 19 set -uo pipefail; f=bazel_tools/tools/bash/runfiles/runfiles.bash 20 source "${RUNFILES_DIR:-/dev/null}/$f" 2>/dev/null || \ 21 …source "$(grep -sm1 "^$f " "${RUNFILES_MANIFEST_FILE:-/dev/null}" | cut -f2- -d' ')" 2>/dev/null |… 23 source "$(grep -sm1 "^$f " "$0.runfiles_manifest" | cut -f2- -d' ')" 2>/dev/null || \ 24 source "$(grep -sm1 "^$f " "$0.exe.runfiles_manifest" | cut -f2- -d' ')" 2>/dev/null || \ 25 { echo>&2 "ERROR: cannot find $f"; exit 1; }; f=; set -e 26 # --- end runfiles.bash initialization v2 --- [all …]
|
| /external/ltp/testcases/commands/cp/ |
| D | cp_tests.sh | 2 # SPDX-License-Identifier: GPL-2.0-or-later 16 local dirname=$1 17 local dircnt=$2 18 local filecnt=$3 21 tst_res TINFO "Filling each dir with $filecnt files". 22 while [ $dircnt -gt 0 ]; do 23 dirname=$dirname/dir$dircnt 24 ROD mkdir -p $dirname 26 local fcnt=0 27 while [ $fcnt -lt $filecnt ]; do [all …]
|
| /external/webrtc/tools_webrtc/android/profiling/ |
| D | utilities.sh | 5 # Use of this source code is governed by a BSD-style license 31 local var="$1" 32 [[ -n "${var}" ]] 36 local file="$1" 37 [[ -f "${file}" ]] 41 local file="$1" 42 [[ ! -f "${file}" ]] 46 local dir="$1" 47 [[ -d "${dir}" ]] 51 local dir="$1" [all …]
|
| /external/rappor/pipeline/ |
| D | regtest.sh | 3 # End-to-end tests for the dashboard. 10 set -o nounset 11 set -o pipefail 12 set -o errexit 15 create-metadata() { 16 mkdir -p _tmp/metadata 19 local params_path=_tmp/metadata/regtest_params.csv 22 cp --verbose ../_tmp/python/demo1/case_params.csv $params_path 25 cat >_tmp/metadata/dist-analysis.csv <<EOF 34 cat >_tmp/metadata/rappor-vars.csv <<EOF [all …]
|
| D | assoc.sh | 6 set -o nounset 7 set -o pipefail 8 set -o errexit 14 source $RAPPOR_SRC/pipeline/tools-lib.sh 15 source $RAPPOR_SRC/pipeline/alarm-lib.sh 18 readonly DECODE_ASSOC=${DEP_DECODE_ASSOC:-$RAPPOR_SRC/bin/decode-assoc} 19 readonly FAST_EM=${DEP_FAST_EM:-$RAPPOR_SRC/analysis/cpp/_tmp/fast_em} 21 # Run a single decode-assoc process, to analyze one variable pair for one 23 decode-one() { 24 # Job constants, from decode-many [all …]
|
| /external/linux-kselftest/tools/testing/selftests/net/forwarding/ |
| D | devlink_lib.sh | 2 # SPDX-License-Identifier: GPL-2.0 4 # Kselftest framework requirement - SKIP code is 4. 10 if [[ ! -v DEVLINK_DEV ]]; then 11 DEVLINK_DEV=$(devlink port show "${NETIFS[p1]:-$NETIF_NO_CABLE}" -j \ 12 | jq -r '.port | keys[]' | cut -d/ -f-2) 13 if [ -z "$DEVLINK_DEV" ]; then 17 if [[ "$(echo $DEVLINK_DEV | grep -c pci)" -eq 0 ]]; then 22 DEVLINK_VIDDID=$(lspci -s $(echo $DEVLINK_DEV | cut -d"/" -f2) \ 23 -n | cut -d" " -f3) 24 elif [[ ! -z "$DEVLINK_DEV" ]]; then [all …]
|
| D | hw_stats_l3.sh | 2 # SPDX-License-Identifier: GPL-2.0 4 # +--------------------+ +----------------------+ 13 # +------------------|-+ +-|--------------------+ 15 # +------------------|-------------------------|--------------------+ 24 # +-----------------------------------------------------------------+ 58 ip -6 route add 2001:db8:2::/64 vrf v$h1 nexthop via 2001:db8:1::2 63 ip -6 route del 2001:db8:2::/64 vrf v$h1 nexthop via 2001:db8:1::2 74 ip -6 route add 2001:db8:1::/64 vrf v$h2 nexthop via 2001:db8:2::2 79 ip -6 route del 2001:db8:1::/64 vrf v$h2 nexthop via 2001:db8:2::2 169 $MZ $h1.200 -c 21 -d 20msec -p 100 \ [all …]
|
| /external/python/setuptools/pkg_resources/_vendor/ |
| D | appdirs.py | 2 # -*- coding: utf-8 -*- 3 # Copyright (c) 2005-2010 ActiveState Software Inc. 6 """Utilities for determining application-specific dirs. 11 # - MSDN on where to store app data files: 12 # http://support.microsoft.com/default.aspx?scid=kb;en-us;310294#XSLTH3194121123120121120120 13 # - Mac OS X: http://developer.apple.com/documentation/MacOSX/Conceptual/BPFileSystem/index.html 14 # - XDG spec for Un*x: http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html 46 r"""Return full path to the user-specific data dir for this application. 63 <http://technet.microsoft.com/en-us/library/cc766489(WS.10).aspx> 68 Unix: ~/.local/share/<AppName> # or in $XDG_DATA_HOME, if defined [all …]
|
| /external/ltp/testcases/network/stress/ipsec/ |
| D | ipsec_lib.sh | 2 # SPDX-License-Identifier: GPL-2.0-or-later 3 # Copyright (c) 2018-2022 Petr Vorel <pvorel@suse.cz> 21 TST_SETUP=${TST_SETUP:-ipsec_lib_setup} 36 echo "r x Num of requests, PING_MAX or netstress' '-r' opt" 84 SPI=${SPI:-1000} 85 VTI_KEY=${VTI_KEY:-10} 90 if [ -n "$IPSEC_MODE" ]; then 91 tst_net_run -q "tst_check_drivers xfrm_user" || \ 99 local bits=$1 100 local bytes=$(( $bits / 8)) [all …]
|
| /external/ltp/testcases/open_posix_testsuite/scripts/ |
| D | generate-makefiles.sh | 7 # but as long as you follow the criterion set in locate-test, then the 8 # end-result for modifying and/or adding tests can be achieved by merely 19 readonly buildonly_compiler_args="-c" 23 local maketype=$1; shift 27 locate-test --$maketype | sed -e 's,^./,,g' | sort > make-gen.$maketype 29 generate_makefiles make-gen.$maketype $* 31 rm -f make-gen.$maketype 36 local link_libs= 37 local make_rule_prereq_cache= 38 local make_copy_prereq_cache= [all …]
|
| /external/ltp/testcases/kernel/security/integrity/ima/tests/ |
| D | ima_setup.sh | 2 # SPDX-License-Identifier: GPL-2.0-or-later 4 # Copyright (c) 2018-2020 Petr Vorel <pvorel@suse.cz> 25 local algorithm="$1" 26 local file="$2" 27 local digest 29 digest="$(${algorithm}sum $file 2>/dev/null | cut -f1 -d ' ')" 30 if [ -n "$digest" ]; then 35 digest="$(openssl $algorithm $file 2>/dev/null | cut -f2 -d ' ')" 36 if [ -n "$digest" ]; then 42 local arg="$algorithm" [all …]
|
| /external/ltp/testcases/commands/sysctl/ |
| D | sysctl01.sh | 2 # SPDX-License-Identifier: GPL-2.0-or-later 19 local dir="/proc/sys/kernel/" 20 [ -e "$dir""sched_time_avg_ms" ] && local name="sched_time_avg_ms" 21 [ -e "$dir""sched_time_avg" ] && local name="sched_time_avg" 22 [ -z "$name" ] && tst_brk TCONF \ 25 local orig_value=$(cat "$dir""$name") 27 sysctl -w "kernel.""$name"=0 >/dev/null 2>&1 29 local test_value=$(cat "$dir""$name") 31 if [ ${test_value} -eq ${orig_value} ]; then 35 sysctl -w "kernel.""$name"=${orig_value} >/dev/null 2>&1
|
| /external/cronet/third_party/icu/source/test/testdata/ |
| D | Makefile.in | 5 # Copyright (C) 1998-2015, International Business Machines 9 ## Top-level Makefile.in for ICU 28 -include Makefile.local 31 .PHONY : all all-local all-recursive install install-local \ 32 install-recursive clean clean-local clean-recursive distclean \ 33 distclean-local distclean-recursive doc dist dist-local dist-recursive \ 34 check check-local check-recursive build-dir testdata.jar xcheck check-exhaustive 36 xcheck: all-local 38 .NOTPARALLEL: build-dir 44 all: all-local [all …]
|
| /external/icu/icu4c/source/test/testdata/ |
| D | Makefile.in | 5 # Copyright (C) 1998-2015, International Business Machines 9 ## Top-level Makefile.in for ICU 28 -include Makefile.local 31 .PHONY : all all-local all-recursive install install-local \ 32 install-recursive clean clean-local clean-recursive distclean \ 33 distclean-local distclean-recursive doc dist dist-local dist-recursive \ 34 check check-local check-recursive build-dir testdata.jar xcheck check-exhaustive 36 xcheck: all-local 38 .NOTPARALLEL: build-dir 44 all: all-local [all …]
|
| /external/perfetto/tools/ |
| D | tmux | 8 # http://www.apache.org/licenses/LICENSE-2.0 15 set -e 23 local out=$1 24 local key=$2 25 "$SCRIPT_DIR/gn" args "$out" --list=$key --short | awk '{print $3}' \ 26 | tr -d '"' 30 local out=$1 36 local out=$1 42 [[ -n "$SSH_TARGET" ]] 47 ! test -d /proc [all …]
|
| /external/rappor/bin/ |
| D | test.sh | 5 Simple smoke test for the decode-dist tool. This will fail if your machine 12 ./test.sh decode-assoc-R-smoke # test pure R implementation 13 ./test.sh decode-assoc-cpp-smoke # test with analysis/cpp/fast_em.cc 14 ./test.sh decode-assoc-cpp-converge # run for longer with C++ 15 ./test.sh decode-assoc-tensorflow 19 set -o nounset 20 set -o pipefail 21 set -o errexit 29 readonly ASSOC_TESTDATA_DIR=_tmp/decode-assoc-test 30 readonly DIST_TESTDATA_DIR=_tmp/decode-dist-test [all …]
|
| /external/ltp/testcases/commands/ln/ |
| D | ln_tests.sh | 2 # SPDX-License-Identifier: GPL-2.0-or-later 16 ROD mkdir -p dir/subdir 18 ROD touch dir/file 23 local dname="$1" 24 local lname="$2" 41 local fname="$1" 42 local lname="$2" 53 local args="$1" 54 local src="$2" 55 local link="$3" [all …]
|
12345678910>>...44