Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/bats.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-622519-26353/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/bats.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1684022400 Wrote: /builddir/build/SRPMS/bats-1.9.0-1.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/bats.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-622519-26353/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/bats.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1684022400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.KitTj4 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf bats-core-1.9.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/bats-core-1.9.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd bats-core-1.9.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.OrvqZl + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/bats-1.9.0-1.fc38.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/bats-1.9.0-1.fc38.noarch ++ dirname /builddir/build/BUILDROOT/bats-1.9.0-1.fc38.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/bats-1.9.0-1.fc38.noarch + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd bats-core-1.9.0 + ./install.sh /builddir/build/BUILDROOT/bats-1.9.0-1.fc38.noarch/usr Installed Bats to /builddir/build/BUILDROOT/bats-1.9.0-1.fc38.noarch/usr/bin/bats + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/libexec/bats-core/bats-preprocess from /usr/bin/env bash to #!/usr/bin/bash mangling shebang in /usr/libexec/bats-core/bats-format-tap from /usr/bin/env bash to #!/usr/bin/bash mangling shebang in /usr/libexec/bats-core/bats from /usr/bin/env bash to #!/usr/bin/bash mangling shebang in /usr/libexec/bats-core/bats-format-tap13 from /usr/bin/env bash to #!/usr/bin/bash mangling shebang in /usr/libexec/bats-core/bats-exec-file from /usr/bin/env bash to #!/usr/bin/bash mangling shebang in /usr/libexec/bats-core/bats-exec-test from /usr/bin/env bash to #!/usr/bin/bash mangling shebang in /usr/libexec/bats-core/bats-format-pretty from /usr/bin/env bash to #!/usr/bin/bash mangling shebang in /usr/libexec/bats-core/bats-exec-suite from /usr/bin/env bash to #!/usr/bin/bash mangling shebang in /usr/libexec/bats-core/bats-format-cat from /usr/bin/env bash to #!/usr/bin/bash mangling shebang in /usr/libexec/bats-core/bats-format-junit from /usr/bin/env bash to #!/usr/bin/bash mangling shebang in /usr/bin/bats from /usr/bin/env bash to #!/usr/bin/bash mangling shebang in /usr/lib/bats-core/test_functions.bash from /usr/bin/env bash to #!/usr/bin/bash mangling shebang in /usr/lib/bats-core/formatter.bash from /usr/bin/env bash to #!/usr/bin/bash mangling shebang in /usr/lib/bats-core/common.bash from /usr/bin/env bash to #!/usr/bin/bash mangling shebang in /usr/lib/bats-core/preprocessing.bash from /usr/bin/env bash to #!/usr/bin/bash mangling shebang in /usr/lib/bats-core/tracing.bash from /usr/bin/env bash to #!/usr/bin/bash mangling shebang in /usr/lib/bats-core/semaphore.bash from /usr/bin/env bash to #!/usr/bin/bash mangling shebang in /usr/lib/bats-core/warnings.bash from /usr/bin/env bash to #!/usr/bin/bash mangling shebang in /usr/lib/bats-core/validator.bash from /usr/bin/env bash to #!/usr/bin/bash + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.Vnsjpy + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd bats-core-1.9.0 + ./bin/bats test 1..284 ok 1 no arguments prints message and usage instructions ok 2 invalid option prints message and usage instructions ok 3 -v and --version print version number ok 4 -h and --help print help ok 5 invalid filename prints an error ok 6 empty test file runs zero tests ok 7 one passing test ok 8 summary passing tests ok 9 summary passing and skipping tests ok 10 summary passing and failing tests ok 11 summary passing, failing and skipping tests ok 12 BATS_CWD is correctly set to PWD as validated by bats_trim_filename ok 13 one failing test ok 14 one failing and one passing test ok 15 failing test with significant status ok 16 failing helper function logs the test case's line number ok 17 failing bash condition logs correct line number ok 18 failing bash expression logs correct line number ok 19 failing negated command logs correct line number ok 20 test environments are isolated ok 21 setup is run once before each test ok 22 teardown is run once after each test, even if it fails ok 23 setup failure ok 24 passing test with teardown failure ok 25 failing test with teardown failure ok 26 teardown failure with significant status ok 27 failing test file outside of BATS_CWD ok 28 output is discarded for passing tests and printed for failing tests ok 29 -c prints the number of tests ok 30 dash-e is not mangled on beginning of line ok 31 dos line endings are stripped before testing ok 32 test file without trailing newline ok 33 skipped tests ok 34 extended syntax ok 35 timing syntax ok 36 extended timing syntax ok 37 time is greater than 0ms for long test ok 38 single-line tests ok 39 testing IFS not modified by run ok 40 expand variables in test name ok 41 handle quoted and unquoted test names ok 42 ensure compatibility with unofficial Bash strict mode ok 43 parse @test lines with various whitespace combinations ok 44 duplicate tests error and generate a warning on stderr ok 45 sourcing a nonexistent file in setup produces error output ok 46 referencing unset parameter in setup produces error output ok 47 sourcing a nonexistent file in test produces error output ok 48 referencing unset parameter in test produces error output ok 49 sourcing a nonexistent file in teardown produces error output ok 50 referencing unset parameter in teardown produces error output ok 51 execute exported function without breaking failing test output ok 52 output printed even when no final newline ok 53 run tests which consume stdin (see #197) ok 54 report correct line on unset variables ok 55 report correct line on external function calls ok 56 test count validator catches mismatch and returns non zero ok 57 running the same file twice runs its tests twice without errors ok 58 Don't use unbound variables inside bats (issue #340) ok 59 filenames with tab can be used ok 60 each file is evaluated n+1 times ok 61 Don't hang on CTRL-C (issue #353) ok 62 test comment style ok 63 test works even if PATH is reset ok 64 Test nounset does not trip up bats' internals (see #385) ok 65 run tmpdir is cleaned up by default ok 66 run tmpdir is not cleanup up with --no-cleanup-tempdir ok 67 run should exit if tmpdir exist ok 68 run should exit if TMPDIR can't be created ok 69 Fail if BATS_TMPDIR does not exist or is not writable ok 70 Setting BATS_TMPDIR is ignored ok 71 Parallel mode works on MacOS with over subscription (issue #433) ok 72 Failure in free code (see #399) ok 73 CTRL-C aborts and fails the current test ok 74 CTRL-C aborts and fails the current run ok 75 CTRL-C aborts and fails after run ok 76 CTRL-C aborts and fails the current teardown ok 77 CTRL-C aborts and fails the current setup_file ok 78 CTRL-C aborts and fails the current teardown_file ok 79 single star in output is not treated as a glob ok 80 multiple stars in output are not treated as a glob ok 81 ensure all folders are shellchecked ok 82 BATS_RUN_COMMAND: test content of variable ok 83 --print-output-on-failure works as expected ok 84 --print-output-on-failure also shows stderr (for run --separate-stderr) ok 85 --show-output-of-passing-tests works as expected ok 86 --verbose-run prints output ok 87 BATS_VERBOSE_RUN=1 also prints output ok 88 --gather-test-outputs-in gathers outputs of all tests (even succeeding!) ok 89 --gather-test-outputs-in allows directory to exist (only if empty) ok 90 Tell about missing flock and shlock # skip this test requires flock not to be installed ok 91 Test with a name that is waaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaay too long # skip This test should only check if the long name chokes bats' internals during execution ok 92 BATS_CODE_QUOTE_STYLE works with any two characters (even unicode) # skip Unicode chars are not counted as one char in this system ok 93 BATS_CODE_QUOTE_STYLE=custom requires BATS_CODE_QUOTE_BEGIN/END ok 94 Warn about invalid BATS_CODE_QUOTE_STYLE ok 95 Debug trap must only override variables that are prefixed with BATS_ (issue #519) ok 96 Don't wait for disowned background jobs to finish because of open FDs (#205) ok 97 Allow for prefixing tests' names with BATS_TEST_NAME_PREFIX ok 98 Setting status in teardown* does not override exit code (see issue #575) ok 99 BATS_* variables don't contain double slashes ok 100 Without .bats/run-logs --filter-status failed returns an error ok 101 Without previous recording --filter-status failed runs all tests and then runs only failed and missed tests ok 102 Without previous recording --filter-status passed runs all tests and then runs only passed and missed tests ok 103 Without previous recording --filter-status missed runs all tests and then runs only missed tests ok 104 --filter-status failed gives warning on empty failed test list ok 105 --filter-status failed does not update list when run is aborted ok 106 BATS_TEST_RETRIES allows for retrying tests ok 107 Exit code is zero after successful retry (see #660) ok 108 Error on invalid --line-reference-format ok 109 --line-reference-format switches format ok 110 Focus tests filter out other tests and override exit code ok 111 Focus tests with BATS_NO_FAIL_FOCUS_RUN=1 does not override exit code ok 112 Bats waits for report formatter to finish ok 113 Failing report formatter fails test run ok 114 bats_version_lt ok 115 bats_require_minimum_version ok 116 bats_binary_search ok 117 bats_sort ok 118 bats_all_in ok 119 bats_any_in ok 120 bats_trim ok 121 bats_append_arrays_as_args ok 122 setup_file is run once per file ok 123 teardown_file is run once per file ok 124 setup_file is called correctly in multi file suite ok 125 teardown_file is called correctly in multi file suite ok 126 setup_file failure aborts tests for this file ok 127 teardown_file failure fails at least one test from the file ok 128 teardown_file runs even if any test in the file failed not ok 129 teardown_file should run even after user abort via CTRL-C # (in test file test/file_setup_teardown.bats, line 118) # `[[ -f "$LOG" ]]' failed # 1..1 # # # Received SIGINT, aborting ... # # # bats warning: Executed 0 instead of expected 1 tests # Waited: 3 seconds ok 130 setup_file runs even if all tests in the file are skipped ok 131 teardown_file runs even if all tests in the file are skipped ok 132 setup_file must not leak context between tests in the same suite ok 133 teardown_file must not leak context between tests in the same suite ok 134 halfway setup_file errors are caught and reported ok 135 halfway teardown_file errors are ignored ok 136 variables exported in setup_file are visible in tests ok 137 Don't run setup_file for files without tests ok 138 Failure in setup_file and teardown_file still prints error message ok 139 tap passing and skipping tests ok 140 tap passing, failing and skipping tests ok 141 skipped test with parens (pretty formatter) ok 142 pretty and tap formats ok 143 pretty formatter bails on invalid tap ok 144 All formatters (except cat) implement the callback interface ok 145 absolute paths load external formatters ok 146 specifying nonexistent external formatter is an error ok 147 specifying non executable external formatter is an error ok 148 install.sh creates a valid installation, and uninstall.sh undos it ok 149 install.sh creates a multilib valid installation, and uninstall.sh undos it ok 150 uninstall.sh works even if nothing is installed ok 151 install.sh only updates permissions for Bats files ok 152 bin/bats is resilient to symbolic links ok 153 junit formatter with skipped test does not fail ok 154 junit formatter: escapes xml special chars ok 155 junit formatter: test suites ok 156 junit formatter: test suites relative path ok 157 junit formatter: files with the same name are distinguishable ok 158 junit formatter as report formatter creates report.xml ok 159 junit does not mark tests with FD 3 output as failed (issue #360) ok 160 junit does not mark tests with FD 3 output in teardown_file as failed (issue #531) ok 161 don't choke on setup_file errors ok 162 find_in_bats_lib_path recognizes files relative to test file ok 163 find_in_bats_lib_path recognizes files in BATS_LIB_PATH ok 164 find_in_bats_lib_path returns 1 if no load path is found ok 165 find_in_bats_lib_path follows the priority of BATS_LIB_PATH ok 166 load sources scripts relative to the current test file ok 167 load sources relative scripts with filename extension ok 168 load aborts if the specified script does not exist ok 169 load sources scripts by absolute path ok 170 load aborts if the script, specified by an absolute path, does not exist ok 171 load relative script with ambiguous name ok 172 load does not use the BATS_LIB_PATH ok 173 load supports plain symbols ok 174 load doesn't support _declare_d symbols ok 175 load supports scripts on the PATH ok 176 bats_load_library supports libraries with loaders on the BATS_LIB_PATH ok 177 bats_load_library supports libraries with loaders on the BATS_LIB_PATH with multiple libraries ok 178 bats_load_library can handle whitespaces in BATS_LIB_PATH ok 179 bats_load_library errors when a library errors while sourcing ok 180 load in teardown after failure does not prevent test from being counted (see #609) not ok 181 parallel test execution with --jobs # timeout after 10s # (from function `reentrant_run' in file test/test_helper.bash, line 67, # in test file test/parallel.bats, line 51) # `reentrant_run bats --jobs $PARALLELITY "$FIXTURE_ROOT/parallel.bats"' failed due to timeout not ok 182 parallel can preserve environment variables # timeout after 10s # (from function `reentrant_run' in file test/test_helper.bash, line 67, # in test file test/parallel.bats, line 65) # `reentrant_run bats --jobs 2 "$FIXTURE_ROOT/parallel-preserve-environment.bats"' failed due to timeout not ok 183 parallel suite execution with --jobs # timeout after 10s # (from function `reentrant_run' in file test/test_helper.bash, line 67, # in test file test/parallel.bats, line 81) # `reentrant_run bash -c "bats --jobs $PARALLELITY \"${FIXTURE_ROOT}/suite/\" 2> >(grep -v '^parallel: Warning: ')"' failed due to timeout not ok 184 setup_file is not over parallelized # timeout after 10s # (from function `reentrant_run' in file test/test_helper.bash, line 67, # in test file test/parallel.bats, line 110) # `reentrant_run bats --jobs $PARALLELITY "$FIXTURE_ROOT/setup_file"' failed due to timeout not ok 185 running the same file twice runs its tests twice without errors # timeout after 10s # (from function `reentrant_run' in file test/test_helper.bash, line 67, # in test file test/parallel.bats, line 126) # `reentrant_run bats --jobs 2 "$FIXTURE_ROOT/../bats/passing.bats" "$FIXTURE_ROOT/../bats/passing.bats"' failed due to timeout not ok 186 parallelity factor is met exactly # timeout after 10s # (in test file test/parallel.bats, line 138) # `bats --jobs $PARALLELITY "$FIXTURE_ROOT/parallel_factor.bats"' failed due to timeout # 1..10 # Terminated not ok 187 parallel mode correctly forwards failure return code # timeout after 10s # (from function `reentrant_run' in file test/test_helper.bash, line 67, # in test file test/parallel.bats, line 162) # `reentrant_run bats --jobs 2 "$FIXTURE_ROOT/../bats/failing.bats"' failed due to timeout not ok 188 --no-parallelize-across-files test file detects parallel execution # timeout after 10s # (from function `reentrant_run' in file test/test_helper.bash, line 67, # in test file test/parallel.bats, line 170) # `FILE_MARKER=$(mktemp "${BATS_RUN_TMPDIR}/file_marker.XXXXXX") \' failed due to timeout not ok 189 --no-parallelize-across-files prevents parallelization across files # timeout after 10s # (in test file test/parallel.bats, line 175) # `FILE_MARKER=$(mktemp "${BATS_RUN_TMPDIR}/file_marker.XXXXXX") \' failed due to timeout # 1..2 # Terminated # touch: cannot touch '/tmp/bats-run-k2p1ri/semaphores/slot-0': No such file or directory not ok 190 --no-parallelize-across-files does not prevent parallelization within files # timeout after 10s # (from function `reentrant_run' in file test/test_helper.bash, line 67, # in test file test/parallel.bats, line 180) # `reentrant_run ! bats --jobs 2 --no-parallelize-across-files "$FIXTURE_ROOT/must_not_parallelize_within_file.bats"' failed due to timeout not ok 191 --no-parallelize-within-files test file detects parallel execution # timeout after 10s # (from function `reentrant_run' in file test/test_helper.bash, line 67, # in test file test/parallel.bats, line 184) # `reentrant_run ! bats --jobs 2 "$FIXTURE_ROOT/must_not_parallelize_within_file.bats"' failed due to timeout not ok 192 --no-parallelize-within-files prevents parallelization within files # timeout after 10s # (in test file test/parallel.bats, line 188) # `bats --jobs 2 --no-parallelize-within-files "$FIXTURE_ROOT/must_not_parallelize_within_file.bats"' failed due to timeout # 1..2 # Terminated not ok 193 --no-parallelize-within-files does not prevent parallelization across files # timeout after 10s # (from function `reentrant_run' in file test/test_helper.bash, line 67, # in test file test/parallel.bats, line 195) # `FILEMARKER=$(mktemp "${BATS_RUN_TMPDIR}/file_marker.XXXXXX") \' failed due to timeout not ok 194 BATS_NO_PARALLELIZE_WITHIN_FILE works from inside setup_file() # timeout after 10s # (in test file test/parallel.bats, line 200) # `DISABLE_IN_SETUP_FILE_FUNCTION=1 bats --jobs 2 "$FIXTURE_ROOT/must_not_parallelize_within_file.bats"' failed due to timeout # 1..2 # Terminated not ok 195 BATS_NO_PARALLELIZE_WITHIN_FILE works from outside all functions # timeout after 10s # (in test file test/parallel.bats, line 204) # `DISABLE_OUTSIDE_ALL_FUNCTIONS=1 bats --jobs 2 "$FIXTURE_ROOT/must_not_parallelize_within_file.bats"' failed due to timeout # 1..2 # Terminated not ok 196 BATS_NO_PARALLELIZE_WITHIN_FILE does not work from inside setup() # timeout after 10s # (from function `reentrant_run' in file test/test_helper.bash, line 67, # in test file test/parallel.bats, line 208) # `DISABLE_IN_SETUP_FUNCTION=1 reentrant_run ! bats --jobs 2 "$FIXTURE_ROOT/must_not_parallelize_within_file.bats"' failed due to timeout not ok 197 BATS_NO_PARALLELIZE_WITHIN_FILE does not work from inside test function # timeout after 10s # (from function `reentrant_run' in file test/test_helper.bash, line 67, # in test file test/parallel.bats, line 212) # `DISABLE_IN_TEST_FUNCTION=1 reentrant_run ! bats --jobs 2 "$FIXTURE_ROOT/must_not_parallelize_within_file.bats"' failed due to timeout not ok 198 Short form typo does not run endlessly # (in test file test/parallel.bats, line 218) # `(( SECONDS < 5 ))' failed ok 199 Timing printout shows milliseconds ok 200 pretty formatter summary is colorized red on failure ok 201 pretty formatter summary is colorized green on success ok 202 Mixing timing and timeout ok 203 #113: set BATS_ROOT when /bin is a symlink to /usr/bin ok 204 set BATS_ROOT with extreme symlink resolution ok 205 set BATS_ROOT when calling from same dir ok 206 set BATS_ROOT from PATH ok 207 #182 and probably #184 as well ok 208 run --keep-empty-lines preserves leading empty lines ok 209 run --keep-empty-lines preserves inner empty lines ok 210 run --keep-empty-lines preserves trailing empty lines ok 211 run --keep-empty-lines preserves multiple trailing empty lines ok 212 run --keep-empty-lines preserves non-empty trailing line ok 213 --keep-empty-lines has zero lines for empty output (see #573) ok 214 run --separate-stderr splits output ok 215 run does not change set flags ok 216 basic return-code checking ok 217 run exit code check output ok 218 run invalid exit code check error message ok 219 run is not affected by IFS ok 220 run does not change IFS ok 221 running a suite with no test files ok 222 running a suite with one test file ok 223 counting tests in a suite ok 224 aggregated output of multiple tests in a suite ok 225 a failing test in a suite results in an error exit code ok 226 running an ad-hoc suite by specifying multiple test files ok 227 extended syntax in suite ok 228 timing syntax in suite ok 229 extended timing syntax in suite ok 230 recursive support (short option) ok 231 recursive support (long option) ok 232 recursive support with symlinks ok 233 run entire suite when --filter isn't set ok 234 use --filter to run subset of test cases from across the suite ok 235 --filter can handle regular expressions that contain [_- ] ok 236 --filter can handle regular expressions that start with ^ ok 237 skip is handled correctly in setup, test, and teardown ok 238 BATS_TEST_NUMBER starts at 1 in each individual test file ok 239 Override BATS_FILE_EXTENSION with suite ok 240 Override BATS_FILE_EXTENSION with suite recursive ok 241 setup_suite.bash is picked up in toplevel folder of suite ok 242 setup_suite.bash is picked up in folder of first test file ok 243 setup_suite is not picked up from wrongly named file ok 244 setup_suite is picked up from --setup-suite-file ok 245 --setup-suite-file takes precedence over convention ok 246 passing a nonexisting file to --setup-suite-file prints an error message ok 247 setup_suite.bash without setup_suite() is an error ok 248 exported variables from setup_suite are visible in setup_file, setup and @test ok 249 syntax errors in setup_suite.bash are reported and lead to non zero exit code ok 250 errors in setup_suite.bash's free code reported correctly ok 251 errors in setup_suite reported correctly ok 252 errors in teardown_suite reported correctly ok 253 failure in setup_suite skips further setup and suite but runs teardown_suite ok 254 midway failure in teardown_suite does not fail test suite, remaining code is executed ok 255 nonzero return in teardown_suite does fails test suite ok 256 stderr from setup/teardown_suite does not overtake stdout ok 257 load is available in setup_suite ok 258 output frorm setup_suite is only visible on failure ok 259 skip in setup_file skips all tests in file ok 260 No tag filter runs all tests ok 261 Empty tag filter runs tests without tag ok 262 --filter-tags (also) selects tests that contain additional tags ok 263 --filter-tags only selects tests that match all tags (logic and) ok 264 multiple --filter-tags work as logical or ok 265 --filter-tags order of tags does not matter ok 266 exit with error on invalid tags in .bats file ok 267 --filter-tags allows for negation via ! ok 268 passing test ok 269 failing test ok 270 passing test with timing ok 271 failing test with timing ok 272 test faster than timeout ok 273 test longer than timeout ok 274 sleep in run ok 275 no --trace doesn't show anything on failure ok 276 --trace recurses into functions but not into run ok 277 invalid warning is an error ok 278 BW01 is printed when `run`ing a (non-existant) command with exit code 127 without exit code check ok 279 BW01 is not printed when `run`ing a (non-existant) command with exit code 127 with exit code check ok 280 BW01 is not printed when `run`ing a command with exit code !=127 without exit code check ok 281 BW02 is printed when run uses parameters without guaranteed version >= 1.5.0 ok 282 BW03 is printed when a test file defines setup_suite and setup_suite is not defined ok 283 BW03 is not printed when a test file defines setup_suite but setup_suite was completed ok 284 BW03 can be suppressed by setting BATS_SETUP_SUITE_COMPLETED