├── .github └── CODEOWNERS ├── .gitignore ├── .gitmodules ├── .gittrees ├── CHANGELOG.md ├── CONTRIBUTING.md ├── CyberArk_Open_Source_Contributor_Agreement.pdf ├── Jenkinsfile ├── LICENSE ├── README.md ├── SECURITY.md ├── filehandling └── lib ├── git └── lib ├── github └── lib ├── helpers └── lib ├── init ├── k8s ├── Dockerfile ├── lib └── platform_login ├── logging └── lib ├── ruby └── lib ├── run-tests ├── secrets.yml ├── test-utils ├── bats-assert-1 │ ├── .gitignore │ ├── .travis.yml │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── load.bash │ ├── package.json │ ├── script │ │ └── install-bats.sh │ ├── src │ │ └── assert.bash │ └── test │ │ ├── 50-assert-11-assert.bats │ │ ├── 50-assert-12-assert_equal.bats │ │ ├── 50-assert-13-assert_success.bats │ │ ├── 50-assert-14-assert_failure.bats │ │ ├── 50-assert-15-assert_output.bats │ │ ├── 50-assert-16-refute_output.bats │ │ ├── 50-assert-17-assert_line.bats │ │ ├── 50-assert-18-refute_line.bats │ │ ├── 50-assert-19-refute.bats │ │ └── test_helper.bash ├── bats-support │ ├── .travis.yml │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── load.bash │ ├── package.json │ ├── script │ │ └── install-bats.sh │ ├── src │ │ ├── error.bash │ │ ├── lang.bash │ │ └── output.bash │ └── test │ │ ├── 50-output-10-batslib_err.bats │ │ ├── 50-output-11-batslib_count_lines.bats │ │ ├── 50-output-12-batslib_is_single_line.bats │ │ ├── 50-output-13-batslib_get_max_single_line_key_width.bats │ │ ├── 50-output-14-batslib_print_kv_single.bats │ │ ├── 50-output-15-batslib_print_kv_multi.bats │ │ ├── 50-output-16-batslib_print_kv_single_or_multi.bats │ │ ├── 50-output-17-batslib_prefix.bats │ │ ├── 50-output-18-batslib_mark.bats │ │ ├── 50-output-19-batslib_decorate.bats │ │ ├── 51-error-10-fail.bats │ │ ├── 52-lang-10-batslib_is_caller.bats │ │ └── test_helper.bash ├── bats │ ├── .appveyor.yml │ ├── .gitattributes │ ├── .travis.yml │ ├── AUTHORS │ ├── Dockerfile │ ├── LICENSE.md │ ├── README.md │ ├── bin │ │ └── bats │ ├── contrib │ │ └── rpm │ │ │ └── bats.spec │ ├── docs │ │ ├── CODEOWNERS │ │ ├── CODE_OF_CONDUCT.md │ │ ├── CONTRIBUTING.md │ │ ├── PULL_REQUEST_TEMPLATE.md │ │ └── usage.md │ ├── install.sh │ ├── libexec │ │ └── bats-core │ │ │ ├── bats │ │ │ ├── bats-exec-suite │ │ │ ├── bats-exec-test │ │ │ ├── bats-format-tap-stream │ │ │ └── bats-preprocess │ ├── man │ │ ├── Makefile │ │ ├── README.md │ │ ├── bats.1 │ │ ├── bats.1.ronn │ │ ├── bats.7 │ │ └── bats.7.ronn │ ├── package.json │ └── test │ │ ├── bats.bats │ │ ├── fixtures │ │ ├── bats │ │ │ ├── dos_line.bats │ │ │ ├── duplicate-tests.bats │ │ │ ├── empty.bats │ │ │ ├── environment.bats │ │ │ ├── expand_var_in_test_name.bats │ │ │ ├── exported_function.bats │ │ │ ├── failing.bats │ │ │ ├── failing_and_passing.bats │ │ │ ├── failing_helper.bats │ │ │ ├── failing_setup.bats │ │ │ ├── failing_teardown.bats │ │ │ ├── intact.bats │ │ │ ├── invalid_tap.bats │ │ │ ├── load.bats │ │ │ ├── loop_keep_IFS.bats │ │ │ ├── no-final-newline.bats │ │ │ ├── output.bats │ │ │ ├── passing.bats │ │ │ ├── passing_and_failing.bats │ │ │ ├── passing_and_skipping.bats │ │ │ ├── passing_failing_and_skipping.bats │ │ │ ├── quoted_and_unquoted_test_names.bats │ │ │ ├── reference_unset_parameter.bats │ │ │ ├── reference_unset_parameter_in_setup.bats │ │ │ ├── reference_unset_parameter_in_teardown.bats │ │ │ ├── setup.bats │ │ │ ├── single_line.bats │ │ │ ├── skipped.bats │ │ │ ├── skipped_with_parens.bats │ │ │ ├── source_nonexistent_file.bats │ │ │ ├── source_nonexistent_file_in_setup.bats │ │ │ ├── source_nonexistent_file_in_teardown.bats │ │ │ ├── teardown.bats │ │ │ ├── test_helper.bash │ │ │ ├── unofficial_bash_strict_mode.bash │ │ │ ├── unofficial_bash_strict_mode.bats │ │ │ ├── whitespace.bats │ │ │ └── without_trailing_newline.bats │ │ └── suite │ │ │ ├── empty │ │ │ └── .gitkeep │ │ │ ├── multiple │ │ │ ├── a.bats │ │ │ └── b.bats │ │ │ ├── recursive │ │ │ ├── subsuite │ │ │ │ └── test2.bats │ │ │ └── test.bats │ │ │ └── single │ │ │ └── test.bats │ │ ├── install.bats │ │ ├── root.bats │ │ ├── suite.bats │ │ └── test_helper.bash ├── lib └── tap2junit │ ├── Dockerfile │ ├── constraints.txt │ ├── requirements.txt │ └── tap2junit.py └── tests-for-this-repo ├── filehandling.bats ├── fixtures ├── ruby │ └── ruby_gems_api_response.json └── test-utils │ ├── tap2junit.in │ └── tap2junit.out ├── git.bats ├── github.bats ├── helpers.bats ├── k8s.bats ├── lint.bats ├── logging.bats ├── python-lint ├── Dockerfile ├── constraints.txt └── requirements.txt ├── ruby.bats ├── run-bats-tests ├── run-gitleaks ├── run-python-lint ├── test-utils.bats └── validate-changelog /.github/CODEOWNERS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/.github/CODEOWNERS -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.gittrees: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/.gittrees -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /CyberArk_Open_Source_Contributor_Agreement.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/CyberArk_Open_Source_Contributor_Agreement.pdf -------------------------------------------------------------------------------- /Jenkinsfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/Jenkinsfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/README.md -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/SECURITY.md -------------------------------------------------------------------------------- /filehandling/lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/filehandling/lib -------------------------------------------------------------------------------- /git/lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/git/lib -------------------------------------------------------------------------------- /github/lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/github/lib -------------------------------------------------------------------------------- /helpers/lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/helpers/lib -------------------------------------------------------------------------------- /init: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/init -------------------------------------------------------------------------------- /k8s/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/k8s/Dockerfile -------------------------------------------------------------------------------- /k8s/lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/k8s/lib -------------------------------------------------------------------------------- /k8s/platform_login: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/k8s/platform_login -------------------------------------------------------------------------------- /logging/lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/logging/lib -------------------------------------------------------------------------------- /ruby/lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/ruby/lib -------------------------------------------------------------------------------- /run-tests: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/run-tests -------------------------------------------------------------------------------- /secrets.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/secrets.yml -------------------------------------------------------------------------------- /test-utils/bats-assert-1/.gitignore: -------------------------------------------------------------------------------- 1 | /bats-assert-*.tgz 2 | -------------------------------------------------------------------------------- /test-utils/bats-assert-1/.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats-assert-1/.travis.yml -------------------------------------------------------------------------------- /test-utils/bats-assert-1/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats-assert-1/CHANGELOG.md -------------------------------------------------------------------------------- /test-utils/bats-assert-1/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats-assert-1/LICENSE -------------------------------------------------------------------------------- /test-utils/bats-assert-1/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats-assert-1/README.md -------------------------------------------------------------------------------- /test-utils/bats-assert-1/load.bash: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats-assert-1/load.bash -------------------------------------------------------------------------------- /test-utils/bats-assert-1/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats-assert-1/package.json -------------------------------------------------------------------------------- /test-utils/bats-assert-1/script/install-bats.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats-assert-1/script/install-bats.sh -------------------------------------------------------------------------------- /test-utils/bats-assert-1/src/assert.bash: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats-assert-1/src/assert.bash -------------------------------------------------------------------------------- /test-utils/bats-assert-1/test/50-assert-11-assert.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats-assert-1/test/50-assert-11-assert.bats -------------------------------------------------------------------------------- /test-utils/bats-assert-1/test/50-assert-12-assert_equal.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats-assert-1/test/50-assert-12-assert_equal.bats -------------------------------------------------------------------------------- /test-utils/bats-assert-1/test/50-assert-13-assert_success.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats-assert-1/test/50-assert-13-assert_success.bats -------------------------------------------------------------------------------- /test-utils/bats-assert-1/test/50-assert-14-assert_failure.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats-assert-1/test/50-assert-14-assert_failure.bats -------------------------------------------------------------------------------- /test-utils/bats-assert-1/test/50-assert-15-assert_output.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats-assert-1/test/50-assert-15-assert_output.bats -------------------------------------------------------------------------------- /test-utils/bats-assert-1/test/50-assert-16-refute_output.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats-assert-1/test/50-assert-16-refute_output.bats -------------------------------------------------------------------------------- /test-utils/bats-assert-1/test/50-assert-17-assert_line.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats-assert-1/test/50-assert-17-assert_line.bats -------------------------------------------------------------------------------- /test-utils/bats-assert-1/test/50-assert-18-refute_line.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats-assert-1/test/50-assert-18-refute_line.bats -------------------------------------------------------------------------------- /test-utils/bats-assert-1/test/50-assert-19-refute.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats-assert-1/test/50-assert-19-refute.bats -------------------------------------------------------------------------------- /test-utils/bats-assert-1/test/test_helper.bash: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats-assert-1/test/test_helper.bash -------------------------------------------------------------------------------- /test-utils/bats-support/.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats-support/.travis.yml -------------------------------------------------------------------------------- /test-utils/bats-support/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats-support/CHANGELOG.md -------------------------------------------------------------------------------- /test-utils/bats-support/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats-support/LICENSE -------------------------------------------------------------------------------- /test-utils/bats-support/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats-support/README.md -------------------------------------------------------------------------------- /test-utils/bats-support/load.bash: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats-support/load.bash -------------------------------------------------------------------------------- /test-utils/bats-support/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats-support/package.json -------------------------------------------------------------------------------- /test-utils/bats-support/script/install-bats.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats-support/script/install-bats.sh -------------------------------------------------------------------------------- /test-utils/bats-support/src/error.bash: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats-support/src/error.bash -------------------------------------------------------------------------------- /test-utils/bats-support/src/lang.bash: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats-support/src/lang.bash -------------------------------------------------------------------------------- /test-utils/bats-support/src/output.bash: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats-support/src/output.bash -------------------------------------------------------------------------------- /test-utils/bats-support/test/50-output-10-batslib_err.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats-support/test/50-output-10-batslib_err.bats -------------------------------------------------------------------------------- /test-utils/bats-support/test/50-output-11-batslib_count_lines.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats-support/test/50-output-11-batslib_count_lines.bats -------------------------------------------------------------------------------- /test-utils/bats-support/test/50-output-12-batslib_is_single_line.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats-support/test/50-output-12-batslib_is_single_line.bats -------------------------------------------------------------------------------- /test-utils/bats-support/test/50-output-13-batslib_get_max_single_line_key_width.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats-support/test/50-output-13-batslib_get_max_single_line_key_width.bats -------------------------------------------------------------------------------- /test-utils/bats-support/test/50-output-14-batslib_print_kv_single.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats-support/test/50-output-14-batslib_print_kv_single.bats -------------------------------------------------------------------------------- /test-utils/bats-support/test/50-output-15-batslib_print_kv_multi.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats-support/test/50-output-15-batslib_print_kv_multi.bats -------------------------------------------------------------------------------- /test-utils/bats-support/test/50-output-16-batslib_print_kv_single_or_multi.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats-support/test/50-output-16-batslib_print_kv_single_or_multi.bats -------------------------------------------------------------------------------- /test-utils/bats-support/test/50-output-17-batslib_prefix.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats-support/test/50-output-17-batslib_prefix.bats -------------------------------------------------------------------------------- /test-utils/bats-support/test/50-output-18-batslib_mark.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats-support/test/50-output-18-batslib_mark.bats -------------------------------------------------------------------------------- /test-utils/bats-support/test/50-output-19-batslib_decorate.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats-support/test/50-output-19-batslib_decorate.bats -------------------------------------------------------------------------------- /test-utils/bats-support/test/51-error-10-fail.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats-support/test/51-error-10-fail.bats -------------------------------------------------------------------------------- /test-utils/bats-support/test/52-lang-10-batslib_is_caller.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats-support/test/52-lang-10-batslib_is_caller.bats -------------------------------------------------------------------------------- /test-utils/bats-support/test/test_helper.bash: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats-support/test/test_helper.bash -------------------------------------------------------------------------------- /test-utils/bats/.appveyor.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats/.appveyor.yml -------------------------------------------------------------------------------- /test-utils/bats/.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats/.gitattributes -------------------------------------------------------------------------------- /test-utils/bats/.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats/.travis.yml -------------------------------------------------------------------------------- /test-utils/bats/AUTHORS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats/AUTHORS -------------------------------------------------------------------------------- /test-utils/bats/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats/Dockerfile -------------------------------------------------------------------------------- /test-utils/bats/LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats/LICENSE.md -------------------------------------------------------------------------------- /test-utils/bats/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats/README.md -------------------------------------------------------------------------------- /test-utils/bats/bin/bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats/bin/bats -------------------------------------------------------------------------------- /test-utils/bats/contrib/rpm/bats.spec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats/contrib/rpm/bats.spec -------------------------------------------------------------------------------- /test-utils/bats/docs/CODEOWNERS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats/docs/CODEOWNERS -------------------------------------------------------------------------------- /test-utils/bats/docs/CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats/docs/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /test-utils/bats/docs/CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats/docs/CONTRIBUTING.md -------------------------------------------------------------------------------- /test-utils/bats/docs/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats/docs/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /test-utils/bats/docs/usage.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats/docs/usage.md -------------------------------------------------------------------------------- /test-utils/bats/install.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats/install.sh -------------------------------------------------------------------------------- /test-utils/bats/libexec/bats-core/bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats/libexec/bats-core/bats -------------------------------------------------------------------------------- /test-utils/bats/libexec/bats-core/bats-exec-suite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats/libexec/bats-core/bats-exec-suite -------------------------------------------------------------------------------- /test-utils/bats/libexec/bats-core/bats-exec-test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats/libexec/bats-core/bats-exec-test -------------------------------------------------------------------------------- /test-utils/bats/libexec/bats-core/bats-format-tap-stream: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats/libexec/bats-core/bats-format-tap-stream -------------------------------------------------------------------------------- /test-utils/bats/libexec/bats-core/bats-preprocess: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats/libexec/bats-core/bats-preprocess -------------------------------------------------------------------------------- /test-utils/bats/man/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats/man/Makefile -------------------------------------------------------------------------------- /test-utils/bats/man/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats/man/README.md -------------------------------------------------------------------------------- /test-utils/bats/man/bats.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats/man/bats.1 -------------------------------------------------------------------------------- /test-utils/bats/man/bats.1.ronn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats/man/bats.1.ronn -------------------------------------------------------------------------------- /test-utils/bats/man/bats.7: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats/man/bats.7 -------------------------------------------------------------------------------- /test-utils/bats/man/bats.7.ronn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats/man/bats.7.ronn -------------------------------------------------------------------------------- /test-utils/bats/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats/package.json -------------------------------------------------------------------------------- /test-utils/bats/test/bats.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats/test/bats.bats -------------------------------------------------------------------------------- /test-utils/bats/test/fixtures/bats/dos_line.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats/test/fixtures/bats/dos_line.bats -------------------------------------------------------------------------------- /test-utils/bats/test/fixtures/bats/duplicate-tests.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats/test/fixtures/bats/duplicate-tests.bats -------------------------------------------------------------------------------- /test-utils/bats/test/fixtures/bats/empty.bats: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test-utils/bats/test/fixtures/bats/environment.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats/test/fixtures/bats/environment.bats -------------------------------------------------------------------------------- /test-utils/bats/test/fixtures/bats/expand_var_in_test_name.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats/test/fixtures/bats/expand_var_in_test_name.bats -------------------------------------------------------------------------------- /test-utils/bats/test/fixtures/bats/exported_function.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats/test/fixtures/bats/exported_function.bats -------------------------------------------------------------------------------- /test-utils/bats/test/fixtures/bats/failing.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats/test/fixtures/bats/failing.bats -------------------------------------------------------------------------------- /test-utils/bats/test/fixtures/bats/failing_and_passing.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats/test/fixtures/bats/failing_and_passing.bats -------------------------------------------------------------------------------- /test-utils/bats/test/fixtures/bats/failing_helper.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats/test/fixtures/bats/failing_helper.bats -------------------------------------------------------------------------------- /test-utils/bats/test/fixtures/bats/failing_setup.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats/test/fixtures/bats/failing_setup.bats -------------------------------------------------------------------------------- /test-utils/bats/test/fixtures/bats/failing_teardown.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats/test/fixtures/bats/failing_teardown.bats -------------------------------------------------------------------------------- /test-utils/bats/test/fixtures/bats/intact.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats/test/fixtures/bats/intact.bats -------------------------------------------------------------------------------- /test-utils/bats/test/fixtures/bats/invalid_tap.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats/test/fixtures/bats/invalid_tap.bats -------------------------------------------------------------------------------- /test-utils/bats/test/fixtures/bats/load.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats/test/fixtures/bats/load.bats -------------------------------------------------------------------------------- /test-utils/bats/test/fixtures/bats/loop_keep_IFS.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats/test/fixtures/bats/loop_keep_IFS.bats -------------------------------------------------------------------------------- /test-utils/bats/test/fixtures/bats/no-final-newline.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats/test/fixtures/bats/no-final-newline.bats -------------------------------------------------------------------------------- /test-utils/bats/test/fixtures/bats/output.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats/test/fixtures/bats/output.bats -------------------------------------------------------------------------------- /test-utils/bats/test/fixtures/bats/passing.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats/test/fixtures/bats/passing.bats -------------------------------------------------------------------------------- /test-utils/bats/test/fixtures/bats/passing_and_failing.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats/test/fixtures/bats/passing_and_failing.bats -------------------------------------------------------------------------------- /test-utils/bats/test/fixtures/bats/passing_and_skipping.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats/test/fixtures/bats/passing_and_skipping.bats -------------------------------------------------------------------------------- /test-utils/bats/test/fixtures/bats/passing_failing_and_skipping.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats/test/fixtures/bats/passing_failing_and_skipping.bats -------------------------------------------------------------------------------- /test-utils/bats/test/fixtures/bats/quoted_and_unquoted_test_names.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats/test/fixtures/bats/quoted_and_unquoted_test_names.bats -------------------------------------------------------------------------------- /test-utils/bats/test/fixtures/bats/reference_unset_parameter.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats/test/fixtures/bats/reference_unset_parameter.bats -------------------------------------------------------------------------------- /test-utils/bats/test/fixtures/bats/reference_unset_parameter_in_setup.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats/test/fixtures/bats/reference_unset_parameter_in_setup.bats -------------------------------------------------------------------------------- /test-utils/bats/test/fixtures/bats/reference_unset_parameter_in_teardown.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats/test/fixtures/bats/reference_unset_parameter_in_teardown.bats -------------------------------------------------------------------------------- /test-utils/bats/test/fixtures/bats/setup.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats/test/fixtures/bats/setup.bats -------------------------------------------------------------------------------- /test-utils/bats/test/fixtures/bats/single_line.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats/test/fixtures/bats/single_line.bats -------------------------------------------------------------------------------- /test-utils/bats/test/fixtures/bats/skipped.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats/test/fixtures/bats/skipped.bats -------------------------------------------------------------------------------- /test-utils/bats/test/fixtures/bats/skipped_with_parens.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats/test/fixtures/bats/skipped_with_parens.bats -------------------------------------------------------------------------------- /test-utils/bats/test/fixtures/bats/source_nonexistent_file.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats/test/fixtures/bats/source_nonexistent_file.bats -------------------------------------------------------------------------------- /test-utils/bats/test/fixtures/bats/source_nonexistent_file_in_setup.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats/test/fixtures/bats/source_nonexistent_file_in_setup.bats -------------------------------------------------------------------------------- /test-utils/bats/test/fixtures/bats/source_nonexistent_file_in_teardown.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats/test/fixtures/bats/source_nonexistent_file_in_teardown.bats -------------------------------------------------------------------------------- /test-utils/bats/test/fixtures/bats/teardown.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats/test/fixtures/bats/teardown.bats -------------------------------------------------------------------------------- /test-utils/bats/test/fixtures/bats/test_helper.bash: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats/test/fixtures/bats/test_helper.bash -------------------------------------------------------------------------------- /test-utils/bats/test/fixtures/bats/unofficial_bash_strict_mode.bash: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | set -euo pipefail 3 | IFS=$'\n\t' 4 | -------------------------------------------------------------------------------- /test-utils/bats/test/fixtures/bats/unofficial_bash_strict_mode.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats/test/fixtures/bats/unofficial_bash_strict_mode.bats -------------------------------------------------------------------------------- /test-utils/bats/test/fixtures/bats/whitespace.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats/test/fixtures/bats/whitespace.bats -------------------------------------------------------------------------------- /test-utils/bats/test/fixtures/bats/without_trailing_newline.bats: -------------------------------------------------------------------------------- 1 | @test "truth" { 2 | true 3 | } -------------------------------------------------------------------------------- /test-utils/bats/test/fixtures/suite/empty/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test-utils/bats/test/fixtures/suite/multiple/a.bats: -------------------------------------------------------------------------------- 1 | @test "truth" { 2 | true 3 | } 4 | -------------------------------------------------------------------------------- /test-utils/bats/test/fixtures/suite/multiple/b.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats/test/fixtures/suite/multiple/b.bats -------------------------------------------------------------------------------- /test-utils/bats/test/fixtures/suite/recursive/subsuite/test2.bats: -------------------------------------------------------------------------------- 1 | @test "another passing test" { 2 | true 3 | } 4 | -------------------------------------------------------------------------------- /test-utils/bats/test/fixtures/suite/recursive/test.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats/test/fixtures/suite/recursive/test.bats -------------------------------------------------------------------------------- /test-utils/bats/test/fixtures/suite/single/test.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats/test/fixtures/suite/single/test.bats -------------------------------------------------------------------------------- /test-utils/bats/test/install.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats/test/install.bats -------------------------------------------------------------------------------- /test-utils/bats/test/root.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats/test/root.bats -------------------------------------------------------------------------------- /test-utils/bats/test/suite.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats/test/suite.bats -------------------------------------------------------------------------------- /test-utils/bats/test/test_helper.bash: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/bats/test/test_helper.bash -------------------------------------------------------------------------------- /test-utils/lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/lib -------------------------------------------------------------------------------- /test-utils/tap2junit/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/tap2junit/Dockerfile -------------------------------------------------------------------------------- /test-utils/tap2junit/constraints.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/tap2junit/constraints.txt -------------------------------------------------------------------------------- /test-utils/tap2junit/requirements.txt: -------------------------------------------------------------------------------- 1 | junit-xml 2 | -------------------------------------------------------------------------------- /test-utils/tap2junit/tap2junit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/test-utils/tap2junit/tap2junit.py -------------------------------------------------------------------------------- /tests-for-this-repo/filehandling.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/tests-for-this-repo/filehandling.bats -------------------------------------------------------------------------------- /tests-for-this-repo/fixtures/ruby/ruby_gems_api_response.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/tests-for-this-repo/fixtures/ruby/ruby_gems_api_response.json -------------------------------------------------------------------------------- /tests-for-this-repo/fixtures/test-utils/tap2junit.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/tests-for-this-repo/fixtures/test-utils/tap2junit.in -------------------------------------------------------------------------------- /tests-for-this-repo/fixtures/test-utils/tap2junit.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/tests-for-this-repo/fixtures/test-utils/tap2junit.out -------------------------------------------------------------------------------- /tests-for-this-repo/git.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/tests-for-this-repo/git.bats -------------------------------------------------------------------------------- /tests-for-this-repo/github.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/tests-for-this-repo/github.bats -------------------------------------------------------------------------------- /tests-for-this-repo/helpers.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/tests-for-this-repo/helpers.bats -------------------------------------------------------------------------------- /tests-for-this-repo/k8s.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/tests-for-this-repo/k8s.bats -------------------------------------------------------------------------------- /tests-for-this-repo/lint.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/tests-for-this-repo/lint.bats -------------------------------------------------------------------------------- /tests-for-this-repo/logging.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/tests-for-this-repo/logging.bats -------------------------------------------------------------------------------- /tests-for-this-repo/python-lint/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/tests-for-this-repo/python-lint/Dockerfile -------------------------------------------------------------------------------- /tests-for-this-repo/python-lint/constraints.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/tests-for-this-repo/python-lint/constraints.txt -------------------------------------------------------------------------------- /tests-for-this-repo/python-lint/requirements.txt: -------------------------------------------------------------------------------- 1 | pytest-flake8 2 | -------------------------------------------------------------------------------- /tests-for-this-repo/ruby.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/tests-for-this-repo/ruby.bats -------------------------------------------------------------------------------- /tests-for-this-repo/run-bats-tests: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/tests-for-this-repo/run-bats-tests -------------------------------------------------------------------------------- /tests-for-this-repo/run-gitleaks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/tests-for-this-repo/run-gitleaks -------------------------------------------------------------------------------- /tests-for-this-repo/run-python-lint: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/tests-for-this-repo/run-python-lint -------------------------------------------------------------------------------- /tests-for-this-repo/test-utils.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberark/bash-lib/HEAD/tests-for-this-repo/test-utils.bats -------------------------------------------------------------------------------- /tests-for-this-repo/validate-changelog: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | . "$(dirname "${BASH_SOURCE[0]}")/../init" 4 | 5 | bl_validate_changelog 6 | --------------------------------------------------------------------------------