Searched +full:run +full:- +full:shellcheck (Results 1 – 25 of 140) sorted by relevance
123456
| /external/shflags/ |
| D | test_runner | 6 # Copyright 2008-2020 Kate Ward. All Rights Reserved. 17 # Run all tests for all shells. 20 # Run all tests for single shell. 21 # $ ./test_runner -s /bin/bash 23 # Run single test for all shells. 24 # $ ./test_runner -t shunit_asserts_test.sh 26 # Run single test for single shell. 27 # $ ./test_runner -s /bin/bash -t shunit_asserts_test.sh 29 ### ShellCheck (http://www.shellcheck.net/) 31 # shellcheck disable=SC1090,SC1091 [all …]
|
| D | .travis.yml | 4 - SHUNIT_COLOR='always' 8 - ./test_runner 13 - ksh 14 - mksh 15 - zsh 19 - os: linux 21 - os: linux 23 - os: linux 25 - os: osx 26 - os: linux [all …]
|
| D | shflags_private_test.sh | 6 # Copyright 2008-2020 Kate Ward. All Rights Reserved. 12 ### ShellCheck (http://www.shellcheck.net/) 14 # shellcheck disable=SC1090,SC1091 16 # shellcheck disable=SC2003 18 # shellcheck disable=SC2006 21 stdoutF="${TMPDIR:-/tmp}/STDOUT" 22 stderrF="${TMPDIR:-/tmp}/STDERR" 29 value=`expr "${cols}" : '\([0-9]*\)'` 34 # shellcheck disable=SC2162 43 ### The mock_getopt_* commands behave like "getopt -lfoo '' --foo" was called. [all …]
|
| D | shflags_public_test.sh | 6 # Copyright 2008-2020 Kate Ward. All Rights Reserved. 12 ### ShellCheck (http://www.shellcheck.net/) 14 # shellcheck disable=SC1090,SC1091 16 # shellcheck disable=SC2006 19 expectedF="${TMPDIR:-/tmp}/expected" 20 returnF="${TMPDIR:-/tmp}/return" 21 stdoutF="${TMPDIR:-/tmp}/STDOUT" 22 stderrF="${TMPDIR:-/tmp}/STDERR" 28 _testHelp '-h' 29 _testHelp '--help' [all …]
|
| D | shflags_parsing_test.sh | 6 # Copyright 2008-2020 Kate Ward. All Rights Reserved. 12 ### ShellCheck (http://www.shellcheck.net/) 14 # shellcheck disable=SC1090,SC1091 20 stdoutF="${TMPDIR:-/tmp}/STDOUT" 21 stderrF="${TMPDIR:-/tmp}/STDERR" 27 if ! _flags_getoptStandard '-b' >"${stdoutF}" 2>"${stderrF}"; then 28 fail "error parsing -b flag" 32 if _flags_getoptStandard '-x' >"${stdoutF}" 2>"${stderrF}"; then 33 fail "expected error parsing invalid -x flag" 43 if ! _flags_getoptEnhanced '-b' >"${stdoutF}" 2>"${stderrF}"; then [all …]
|
| D | shflags_defines_test.sh | 6 # Copyright 2008-2020 Kate Ward. All Rights Reserved. 12 ### ShellCheck (http://www.shellcheck.net/) 14 # shellcheck disable=SC1090,SC1091 16 # Exit immediately if a simple command exits with a non-zero status. 17 set -e 20 set -u 23 stdoutF="${TMPDIR:-/tmp}/STDOUT" 24 stderrF="${TMPDIR:-/tmp}/STDERR" 66 …rtTrue '_flags_define() should not overwrite previously defined default.' "${FLAGS_multiDefBool:-}" 70 if ! _flags_define "${__FLAGS_TYPE_STRING}" long-name 'foo' 'dashed name' l; then [all …]
|
| /external/liburing/.github/workflows/ |
| D | shellcheck.yml | 1 name: Shellcheck 10 runs-on: ubuntu-latest 13 - name: Checkout source 16 - name: Display shellcheck version 17 run: shellcheck --version 19 - name: Shellcheck execution 20 run: shellcheck test/runtest*.sh
|
| /external/shflags/.githooks/ |
| D | pre-commit.shellcheck | 3 # Git hook to run ShellCheck. 5 # ShellCheck <https://www.shellcheck.net/> 8 set -u 18 if ! command -v shellcheck >/dev/null; then 19 echo 'unable to locate shellcheck' >&2 24 for f in $(git diff --cached --name-only); do 26 if [ ! -r "${f}" ]; then 32 shflags|shflags_test_helpers) cmd="shellcheck -s sh ${f}" ;; 33 *.sh) cmd="shellcheck ${f}" ;; 37 echo "shellcheck error for '${f}'" >&2
|
| /external/selinux/scripts/ |
| D | oss-fuzz.sh | 3 # The script is used to build the fuzz targets run on ClusterFuzz. It has to be 5 # https://google.github.io/oss-fuzz/getting-started/new-project-guide/#buildsh 7 # and so on (https://google.github.io/oss-fuzz/getting-started/new-project-guide/#buildsh-script-en… 9 # in C: https://google.github.io/oss-fuzz/getting-started/new-project-guide/#Requirements 12 # mode. To run secilc-fuzzer against a test case (named, say, CRASH) triggering an issue 13 # the following commands should be run 15 # $ ./scripts/oss-fuzz.sh 16 # $ ./out/secilc-fuzzer CRASH 18 # To run the fuzzer against the corpus OSS-Fuzz has accumulated so far it should be 21 …t https://storage.googleapis.com/selinux-backup.clusterfuzz-external.appspot.com/corpus/libFuzzer/… [all …]
|
| D | env_use_destdir | 2 # Set-up environment variables to run programs which are built in DESTDIR folder 5 # $ export DESTDIR=$HOME/selinux-destdir 6 # $ make install install-pywrap install-rubywrap 10 # Or to use variables in a subcommand, for example to run tests: 11 # $ export DESTDIR=$HOME/selinux-destdir 12 # $ make install install-pywrap install-rubywrap 16 if [ -z "${DESTDIR:-}" ] ; then 19 # shellcheck disable=SC2164 20 echo >&2 " DESTDIR=$(cd "$(dirname -- "$0")/.." ; pwd)/DESTDIR . $0" 25 if [ -n "${PREFIX:-}" ] ; then [all …]
|
| /external/fsverity-utils/.github/workflows/ |
| D | ci.yml | 1 # SPDX-License-Identifier: MIT 4 # Use of this source code is governed by an MIT-style 12 static-linking-test: 14 runs-on: ubuntu-latest 16 - uses: actions/checkout@v4 17 - run: scripts/run-tests.sh static_linking 19 dynamic-linking-test: 21 runs-on: ubuntu-latest 23 - uses: actions/checkout@v4 24 - run: scripts/run-tests.sh dynamic_linking [all …]
|
| /external/libbpf/.github/workflows/ |
| D | lint.yml | 7 - master 10 shellcheck: 11 name: ShellCheck 12 runs-on: ubuntu-latest 14 - name: Checkout repository 16 - name: Run ShellCheck 17 uses: ludeeus/action-shellcheck@master 19 SHELLCHECK_OPTS: --severity=error
|
| /external/curl/.github/workflows/ |
| D | shellcheck.yml | 3 # SPDX-License-Identifier: curl 5 name: shellcheck 10 - master 13 - master 16 group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }} 17 cancel-in-progress: true 22 shellcheck: 23 runs-on: ubuntu-latest 24 timeout-minutes: 5 26 - uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4 [all …]
|
| /external/bpftool/.github/workflows/ |
| D | lint-shell.yaml | 1 name: lint-shell 6 - '.github/workflows/lint-shell.yaml' 7 - 'scripts/**' 10 - master 13 group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.event.after }} 14 cancel-in-progress: true 17 shellcheck: 18 name: ShellCheck 19 runs-on: ubuntu-latest 21 - name: Checkout repository [all …]
|
| /external/shflags/lib/ |
| D | shunit2 | 4 # Copyright 2008-2020 Kate Ward. All Rights Reserved. 6 # http://www.apache.org/licenses/LICENSE-2.0 8 # shUnit2 -- Unit testing framework for Unix shell scripts. 17 # shellcheck disable=SC2006 19 # shellcheck disable=SC2003 22 if test -n "${SHUNIT_VERSION:-}"; then 34 # shellcheck disable=2039 40 __SHUNIT_CMD_ECHO_ESC='echo -e' 41 # shellcheck disable=SC2039 42 if ${__SHUNIT_BUILTIN} [ "`echo -e test`" = '-e test' ]; then [all …]
|
| /external/grpc-grpc/tools/gce/ |
| D | linux_kokoro_performance_worker_init.sh | 8 # http://www.apache.org/licenses/LICENSE-2.0 17 # You shouldn't run this script on your own, 20 set -ex 22 sudo apt-get update 25 sudo apt-get install -y openjdk-8-jdk 26 sudo apt-get install -y unzip lsof 28 sudo apt-get install -y \ 30 autotools-dev \ 31 build-essential \ 36 gcc-multilib \ [all …]
|
| /external/rust/crates/grpcio-sys/grpc/tools/gce/ |
| D | linux_kokoro_performance_worker_init.sh | 8 # http://www.apache.org/licenses/LICENSE-2.0 17 # You shouldn't run this script on your own, 20 set -ex 22 sudo apt-get update 25 sudo apt-get install -y openjdk-8-jdk 26 sudo apt-get install -y unzip lsof 28 sudo apt-get install -y \ 30 autotools-dev \ 31 build-essential \ 36 gcc-multilib \ [all …]
|
| /external/pigweed/pw_presubmit/py/pw_presubmit/ |
| D | shell_checks.py | 7 # https://www.apache.org/licenses/LICENSE-2.0 36 def shellcheck(ctx: PresubmitContext) -> None: function 37 """Run shell script static analiyzer on presubmit.""" 47 result = log_run(['shellcheck', *ctx.paths]) 49 raise PresubmitFailure('Shellcheck identifed issues.')
|
| /external/rust/crates/jni/.github/workflows/ |
| D | ci.yml | 9 runs-on: ubuntu-latest 11 - name: Checkout sources 13 - name: Install rust 14 uses: actions-rs/toolchain@v1 20 - name: Run rustfmt 21 uses: actions-rs/cargo@v1 24 args: --all -- --check 29 runs-on: ubuntu-latest 31 - name: Checkout sources 33 - name: Install rust [all …]
|
| /external/linux-kselftest/tools/testing/selftests/netfilter/ |
| D | nft_concat_range.sh | 2 # SPDX-License-Identifier: GPL-2.0 4 # nft_concat_range.sh - Tests for sets with concatenation of ranged fields 10 # shellcheck disable=SC2154,SC2034,SC2016,SC2030,SC2031 16 # - reported_issues: check for issues that were reported in the past 17 # - correctness: check that packets match given entries, and only those 18 # - concurrency: attempt races between insertion, deletion and lookup 19 # - timeout: check that packets match entries until they expire 20 # - performance: estimate matching rate, compare with rbtree and hash baselines 298 display net,mac - ICMP 315 display net6,mac - ICMPv6 [all …]
|
| /external/liburing/test/ |
| D | runtests.sh | 12 declare -A TEST_MAP 16 [ "$(id -u)" != "0" ] && DO_KMSG="0" 19 if [ -f "$TEST_DIR/config.local" ]; then 20 # shellcheck source=/dev/null disable=SC1091 23 if [ ! -e "$dev" ]; then 29 if [ ! -e "$dev" ]; then 41 if [ "$DO_KMSG" -eq 0 ]; then 45 dmesg | bash -c "$DMESG_FILTER" | grep -A 9999 "$dmesg_marker" >"${seqres}.dmesg" 46 grep -q -e "kernel BUG at" \ 47 -e "WARNING:" \ [all …]
|
| /external/mesa3d/.gitlab-ci/common/ |
| D | intel-gpu-freq.sh | 2 # shellcheck disable=SC2013 3 # shellcheck disable=SC2015 4 # shellcheck disable=SC2034 5 # shellcheck disable=SC2046 6 # shellcheck disable=SC2059 7 # shellcheck disable=SC2086 # we want word splitting 8 # shellcheck disable=SC2154 9 # shellcheck disable=SC2155 10 # shellcheck disable=SC2162 11 # shellcheck disable=SC2229 [all …]
|
| /external/rust/crates/grpcio-sys/grpc/test/csharp/codegen/ |
| D | csharp_codegen_simple_test.sh | 8 # http://www.apache.org/licenses/LICENSE-2.0 16 # Run this script via bazel test 19 # Simple test - compare generated output to expected files 21 set -x 34 rm -rf ${PROTO_OUT} 35 mkdir -p ${PROTO_OUT} 37 # run protoc and the plugin 39 --plugin=protoc-gen-grpc=$PLUGIN \ 40 --csharp_out=${PROTO_OUT} \ 41 --grpc_out=${PROTO_OUT} \ [all …]
|
| /external/grpc-grpc/test/csharp/codegen/ |
| D | csharp_codegen_simple_test.sh | 8 # http://www.apache.org/licenses/LICENSE-2.0 16 # Run this script via bazel test 19 # Simple test - compare generated output to expected files 21 set -x 34 rm -rf ${PROTO_OUT} 35 mkdir -p ${PROTO_OUT} 37 # run protoc and the plugin 39 --plugin=protoc-gen-grpc=$PLUGIN \ 40 --csharp_out=${PROTO_OUT} \ 41 --grpc_out=${PROTO_OUT} \ [all …]
|
| /external/mesa3d/.gitlab-ci/bare-metal/ |
| D | poe-powered.sh | 2 # shellcheck disable=SC1091 3 # shellcheck disable=SC2034 4 # shellcheck disable=SC2059 5 # shellcheck disable=SC2086 # we want word splitting 7 . "$SCRIPTS_DIR"/setup-test-env.sh 12 # We're run from the root of the repo, make a helper var for our paths 13 BM=$CI_PROJECT_DIR/install/bare-metal 18 if [ -z "$BM_SERIAL" ]; then 19 echo "Must set BM_SERIAL in your gitlab-runner config.toml [[runners]] environment" 24 if [ -z "$BM_POE_ADDRESS" ]; then [all …]
|
123456