Home
last modified time | relevance | path

Searched +full:exec +full:- +full:sh (Results 1 – 25 of 1030) sorted by relevance

12345678910>>...42

/external/linux-kselftest/android/patches/
D0006-execveat-build-exec-kselftest-for-Android.patch3 Date: Mon, 9 Oct 2017 14:35:11 -0700
4 Subject: [PATCH 06/20] execveat: build exec kselftest for Android
6 The Makefile for the exec kselftest creates a script, symlink, copy of
13 Test: run vts-kernel -m VtsKernelLinuxKselftestStaging
14 Signed-off-by: Steve Muckle <smuckle@google.com>
15 ---
16 tools/testing/selftests/exec/execveat.sh | 33 ++++++++++++++++++++++++
18 create mode 100755 tools/testing/selftests/exec/execveat.sh
20 diff --git a/tools/testing/selftests/exec/execveat.sh b/tools/testing/selftests/exec/execveat.sh
23 --- /dev/null
[all …]
D0007-execveat-use-system-bin-sh.patch3 Date: Mon, 9 Oct 2017 15:06:34 -0700
4 Subject: [PATCH 07/20] execveat: use /system/bin/sh
6 The Android shell is located at /system/bin/sh.
10 Test: run vts-kernel -m VtsKernelLinuxKselftestStaging
11 Signed-off-by: Steve Muckle <smuckle@google.com>
12 ---
13 tools/testing/selftests/exec/execveat.c | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
16 diff --git a/tools/testing/selftests/exec/execveat.c b/tools/testing/selftests/exec/execveat.c
18 --- a/tools/testing/selftests/exec/execveat.c
[all …]
/external/libpng/
Dautogen.sh1 #! /bin/sh
8 # missing. They are instantiated with autoreconf --force --install.
12 # necessary to run autogen.sh because ./configure --enable-maintainer-mode says
27 while test $# -gt 0
30 --maintainer)
33 --clean)
37 exec >&2
38 echo "$0: usage: ./autogen.sh"
39 if test -d .git
41 echo " ./autogen.sh generates the configure script and"
[all …]
/external/mtools/
Dmkmanpages27 package="mtools-"`grep mversion patchlevel.c | sed 's/^.*"\(.*\)";/\1/'`
35 outfile=`echo $command | tr '[A-Z]' '[a-z]'`.1
36 exec 4>&1
37 exec >$outfile
42 echo .SH Name
43 egrep -i "^$command " cmdname | fgrep -v '#'
44 #echo ".SH Description"
46 cat man-warning.texi mtools.texi man-warning-end.texi |
47 egrep -v '@end copying|@copying|@insertcopying' |
49 -e "/^@c\(omment\)\? skipskipskip/,/^@node $command/d" \
[all …]
/external/elfutils/tests/
DMakefile.am3 ## Copyright (C) 1996-2019 Red Hat, Inc.
22 AM_CPPFLAGS += -I$(top_srcdir)/libasm -I$(top_srcdir)/libdw \
23 -I$(top_srcdir)/libdwfl -I$(top_srcdir)/libdwelf \
24 -I$(top_srcdir)/libebl -I$(top_srcdir)/libelf \
25 -I$(top_srcdir)/lib -I..
26 AM_LDFLAGS = -Wl,-rpath-link,../libasm:../libdw:../libelf
29 AM_LDFLAGS += -Wl,-rpath,$(BUILD_RPATH)
36 showptable update1 update2 update3 update4 test-nlist \
37 show-die-info get-files next-files get-lines next-lines \
38 get-pubnames \
[all …]
Dtest-wrapper.sh1 #! /bin/sh
2 # Copyright (C) 2005-2012 Red Hat, Inc.
24 # $(srcdir)/test-wrapper.sh ../libelf:... run-test.sh ...
26 # $(srcdir)/test-wrapper.sh installed s,^,eu-, run-test.sh ...
44 *.sh)
53 echo >&2 installcheck not possible with --enable-tests-rpath
67 # When it is a run-*.sh script the VALGRIND_CMD will be passed on
70 exec "$@"
72 exec $VALGRIND_CMD "$@"
/external/shflags/examples/
Dwrite_date.sh1 #!/bin/sh
4 # file. If the file already exists, it will not be overwritten unless the '-f'
5 # (or '--force') flag is given.
8 # - declaration of the FLAGS_HELP variable to customize the help output
9 # - direct calling of the flags_help() function for script controlled usage
11 # - handling of non-flag type command-line arguments that follow the flags
14 # $ ./write_date.sh now.out
17 # $ ./write_date.sh now.out
20 # $ ./write_date.sh -f now.out
31 [ $# -gt 0 ] && echo "error: $@"
[all …]
/external/angle/src/compiler/translator/
DAsNode.h3 // Use of this source code is governed by a BSD-style license that can be
15 namespace sh
28 static ANGLE_INLINE TIntermNode *exec(TIntermNode *node) { return node; }
34 static ANGLE_INLINE TIntermTyped *exec(TIntermNode *node)
36 return node ? node->getAsTyped() : nullptr;
43 static ANGLE_INLINE TIntermSymbol *exec(TIntermNode *node)
45 return node ? node->getAsSymbolNode() : nullptr;
52 static ANGLE_INLINE TIntermConstantUnion *exec(TIntermNode *node)
54 return node ? node->getAsConstantUnion() : nullptr;
61 static ANGLE_INLINE TIntermFunctionPrototype *exec(TIntermNode *node)
[all …]
/external/rappor/pipeline/
Dalarm-lib.sh6 # ./alarm.sh <function name>
8 # You can source this file and use the alarm-status function.
10 set -o nounset
11 set -o pipefail
12 set -o errexit
17 # alarm-status job_dir/STATUS 10 \
20 alarm-status() {
25 # NOTE: It would be nice to setpgrp() before exec? And then can the signal
26 # be delivered to the entire group, like kill -SIGALRM -PID?
29 perl -e 'alarm shift; exec @ARGV or die "ERROR: after exec @ARGV"' "$@"
[all …]
/external/bazelbuild-rules_android/rules/android_application/
Dattrs.bzl7 # http://www.apache.org/licenses/LICENSE-2.0
55 cfg = "exec",
57 default = ":gen_android_feature_manifest.sh",
65 cfg = "exec",
70 cfg = "exec",
72 default = ":gen_priority_android_feature_manifest.sh",
75 cfg = "exec",
96 cfg = "exec",
98 default = ":feature_module_validation.sh",
/external/ltp/testcases/kernel/security/integrity/ima/tests/
Dima_violations.sh1 #!/bin/sh
2 # SPDX-License-Identifier: GPL-2.0-or-later
4 # Copyright (c) 2018-2020 Petr Vorel <pvorel@suse.cz>
23 PRINTK_RATE_LIMIT=`sysctl -n kernel.printk_ratelimit`
24 sysctl -wq kernel.printk_ratelimit=0
26 [ -f "$LOG" ] || \
34 sysctl -wq kernel.printk_ratelimit=$PRINTK_RATE_LIMIT
39 exec 3< $FILE || exit 1
44 exec 3>&-
49 exec 4> $FILE || exit 1
[all …]
/external/ltp/testcases/kernel/connectors/pec/
Dcn_pec.sh1 #!/bin/sh
2 # SPDX-License-Identifier: GPL-2.0-or-later
4 # Copyright (c) 2021 Joerg Vehlow <joerg.vehlow@aox-tech.de>
10 # to userspace. It sends events such as fork, exec, id change and exit.
20 TST_TEST_DATA="fork exec exit uid gid"
30 usage: $0 [-n <nevents>]
33 -n The number of evetns to generate per test (default 10)
50 # Sapwn a new sh, because redirecting to a non existing file handle
52 sh -c ": 2>/dev/null >&$fd || : 2>/dev/null <&$fd" 2>/dev/null
53 if [ $? -ne 0 ]; then
[all …]
/external/openthread/third_party/mbedtls/repo/tests/scripts/
Dbasic-build-test.sh1 #!/bin/sh
3 # basic-build-test.sh
6 # SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
14 # * Unit tests - executed using tests/scripts/run-test-suite.pl
15 # * Self-tests - executed using the test suites above
16 # * System tests - executed using tests/ssl-opt.sh
17 # * Interoperability tests - executed using tests/compat.sh
21 # Note the tests self-adapt due to configurations in include/mbedtls/config.h
27 # Usage: basic-build-test.sh
31 set -eu
[all …]
/external/mbedtls/tests/scripts/
Dbasic-build-test.sh1 #!/bin/sh
3 # basic-build-test.sh
6 # SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
14 # * Unit tests - executed using tests/scripts/run-test-suite.pl
15 # * Self-tests - executed using the test suites above
16 # * System tests - executed using tests/ssl-opt.sh
17 # * Interoperability tests - executed using tests/compat.sh
21 # Note the tests self-adapt due to configurations in include/mbedtls/mbedtls_config.h
27 # Usage: basic-build-test.sh
31 set -eu
[all …]
/external/sdv/vsomeip/third_party/boost/process/include/boost/process/detail/posix/
Dbasic_cmd.hpp63 if ((*begin == '"') && (*(end-1) == '"')) in build_args()
64 data.assign(begin+1, end-1); in build_args()
87 if ((itr != data.cbegin()) && (*(itr -1) != ' ' )) in build_args()
111 void on_setup(Executor& exec) in on_setup()
115 exec.exe = args.front().c_str(); in on_setup()
116 exec.cmd_style = true; in on_setup()
119 exec.exe = &exe.front(); in on_setup()
122 exec.cmd_line = cmd_impl.data(); in on_setup()
135 std::vector<std::string> args_ = {"-c", std::move(cmd)}; in exe_args_shell()
136 std::string sh = shell().string(); in exe_args_shell() local
[all …]
/external/abseil-cpp/ci/
Dcmake_install_test.sh9 # https://www.apache.org/licenses/LICENSE-2.0
17 set -euox pipefail
19 if [[ -z ${ABSEIL_ROOT:-} ]]; then
23 if [[ -z ${LINK_TYPE:-} ]]; then
27 source "${ABSEIL_ROOT}/ci/cmake_common.sh"
29 source "${ABSEIL_ROOT}/ci/linux_docker_containers.sh"
35 --mount type=bind,source="${ABSEIL_ROOT}",target=/abseil-cpp-ro,readonly \
36 --tmpfs=/buildfs:exec \
37 --workdir=/buildfs \
38 --rm \
[all …]
/external/webrtc/third_party/abseil-cpp/ci/
Dcmake_install_test.sh9 # https://www.apache.org/licenses/LICENSE-2.0
17 set -euox pipefail
19 if [[ -z ${ABSEIL_ROOT:-} ]]; then
23 if [[ -z ${LINK_TYPE:-} ]]; then
27 source "${ABSEIL_ROOT}/ci/cmake_common.sh"
29 source "${ABSEIL_ROOT}/ci/linux_docker_containers.sh"
35 --mount type=bind,source="${ABSEIL_ROOT}",target=/abseil-cpp-ro,readonly \
36 --tmpfs=/buildfs:exec \
37 --workdir=/buildfs \
38 --rm \
[all …]
/external/cronet/third_party/abseil-cpp/ci/
Dcmake_install_test.sh9 # https://www.apache.org/licenses/LICENSE-2.0
17 set -euox pipefail
19 if [[ -z ${ABSEIL_ROOT:-} ]]; then
23 if [[ -z ${LINK_TYPE:-} ]]; then
27 source "${ABSEIL_ROOT}/ci/cmake_common.sh"
29 source "${ABSEIL_ROOT}/ci/linux_docker_containers.sh"
35 --mount type=bind,source="${ABSEIL_ROOT}",target=/abseil-cpp-ro,readonly \
36 --tmpfs=/buildfs:exec \
37 --workdir=/buildfs \
38 --rm \
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/ci/
Dcmake_install_test.sh9 # https://www.apache.org/licenses/LICENSE-2.0
17 set -euox pipefail
19 if [[ -z ${ABSEIL_ROOT:-} ]]; then
23 if [[ -z ${LINK_TYPE:-} ]]; then
27 source "${ABSEIL_ROOT}/ci/cmake_common.sh"
29 source "${ABSEIL_ROOT}/ci/linux_docker_containers.sh"
35 --mount type=bind,source="${ABSEIL_ROOT}",target=/abseil-cpp-ro,readonly \
36 --tmpfs=/buildfs:exec \
37 --workdir=/buildfs \
38 --rm \
[all …]
/external/libtextclassifier/abseil-cpp/ci/
Dcmake_install_test.sh9 # https://www.apache.org/licenses/LICENSE-2.0
17 set -euox pipefail
19 if [[ -z ${ABSEIL_ROOT:-} ]]; then
23 if [[ -z ${LINK_TYPE:-} ]]; then
27 source "${ABSEIL_ROOT}/ci/cmake_common.sh"
29 source "${ABSEIL_ROOT}/ci/linux_docker_containers.sh"
35 --mount type=bind,source="${ABSEIL_ROOT}",target=/abseil-cpp-ro,readonly \
36 --tmpfs=/buildfs:exec \
37 --workdir=/buildfs \
38 --rm \
[all …]
/external/angle/third_party/abseil-cpp/ci/
Dcmake_install_test.sh9 # https://www.apache.org/licenses/LICENSE-2.0
17 set -euox pipefail
19 if [[ -z ${ABSEIL_ROOT:-} ]]; then
23 if [[ -z ${LINK_TYPE:-} ]]; then
27 source "${ABSEIL_ROOT}/ci/cmake_common.sh"
29 source "${ABSEIL_ROOT}/ci/linux_docker_containers.sh"
35 --mount type=bind,source="${ABSEIL_ROOT}",target=/abseil-cpp-ro,readonly \
36 --tmpfs=/buildfs:exec \
37 --workdir=/buildfs \
38 --rm \
[all …]
/external/private-join-and-compute/third_party/abseil-cpp-20230125.2/ci/
Dcmake_install_test.sh9 # https://www.apache.org/licenses/LICENSE-2.0
17 set -euox pipefail
19 if [[ -z ${ABSEIL_ROOT:-} ]]; then
23 if [[ -z ${LINK_TYPE:-} ]]; then
27 source "${ABSEIL_ROOT}/ci/cmake_common.sh"
29 source "${ABSEIL_ROOT}/ci/linux_docker_containers.sh"
35 --mount type=bind,source="${ABSEIL_ROOT}",target=/abseil-cpp-ro,readonly \
36 --tmpfs=/buildfs:exec \
37 --workdir=/buildfs \
38 --rm \
[all …]
/external/drm_hwcomposer/
DMakefile3 DOCKER_BIN := $(shell command -v docker 2> /dev/null)
4 NPROCS:=$(shell grep -c ^processor /proc/cpuinfo)
11 GIT_IS_SYMLINK:=$(shell test -L .git && echo true)
16 $(warning $$ sudo usermod -aG docker $$USER)
25 …@awk 'BEGIN {FS = ":.*?## "} /^[a-zA-Z_-]+:.*?## / {printf " \033[36m%-15s\033[0m %s\n", $$1, $$2…
30 mkdir -p $(dir $@)
31 $(DOCKER_BIN) build -t local/build-env -f $(DOCKERFILE) .;
34 …$(DOCKER_BIN) run -itd --name $(IMAGE_NAME) --network="host" -v $(shell pwd):/home/user/drm_hwcomp…
42 $(DOCKER_BIN) exec -it $(IMAGE_NAME) bash
46 @echo "Run meson cross-build for Android:"
[all …]
/external/toybox/tests/
Dsh.test3 [ -f testing.sh ] && . testing.sh
10 # Use "bash" name for host, "sh" for toybox. (/bin/sh is often defective.)
11 [ -z "$SH" ] && { [ -z "$TEST_HOST" ] && SH="sh" || export SH="bash" ; }
13 [ $UID -eq 0 ] && P='# ' || P='$ '
15 SS="env -i PATH=${PATH@Q} PS1='\\$ ' $SH --noediting --noprofile --norc -is"
30 # Test shell command line (-c and how scripts run) before changing EVAL
31 testing '-c "" exit status 0' '$SH -c "" && echo $?' '0\n' '' ''
32 testing '-c args' "\$SH -c 'echo \$0,\$1,\$2,\$3' one two three four five" \
34 testing '-c args2' "\$SH -c 'echo \${10}' a b c d e f g h i j k l" "k\n" "" ""
35 testing '-c arg split' \
[all …]
/external/kmod/testsuite/
DREADME15 - Isolate each test by running them in separate processes;
16 - Exec a binary, so we can test the tools and not only the lib API
17 - Fake accesses to filesystem so we can provide a test rootfs with all the
19 - Fake calls to init_module(), delete_module() and uname(), so we don't have to
29 1 - Look at testsuite.h, struct test, to see all the options available.
31 2 - Use TESTSUITE_MAIN and DEFINE_TEST to add new tests. Don't forget to fill
34 3 - If you want testsuite to compare the stdout/stderr of your tests in order
37 architectures, so don't print arch-dependent content if you are comparing
40 4 - Fill in the config vector. Setting any of these configuration will make
42 executing the test. If you are not exec'ing an external binary, you need to
[all …]

12345678910>>...42