Skip to content

Instantly share code, notes, and snippets.

@r-rmcgibbo
Created March 16, 2021 09:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save r-rmcgibbo/e13a3730deabc83cb2a775c134fbcb4f to your computer and use it in GitHub Desktop.
Save r-rmcgibbo/e13a3730deabc83cb2a775c134fbcb4f to your computer and use it in GitHub Desktop.
system: x86_64-linux | build_time: 14 seconds | https://github.com/NixOS/nixpkgs/pull/116508
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/07q0j9aflp1lb78b3gqgc0fpf6mz7187-source
source root is source
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
patching script interpreter paths in .
./libexec/bats-core/bats: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/f7jzmxq9bpbxsg69cszx56mw14n115n5-bash-4.4-p23/bin/bash"
./libexec/bats-core/bats-exec-test: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/f7jzmxq9bpbxsg69cszx56mw14n115n5-bash-4.4-p23/bin/bash"
./libexec/bats-core/bats-format-tap: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/f7jzmxq9bpbxsg69cszx56mw14n115n5-bash-4.4-p23/bin/bash"
./libexec/bats-core/bats-format-cat: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/f7jzmxq9bpbxsg69cszx56mw14n115n5-bash-4.4-p23/bin/bash"
./libexec/bats-core/bats-format-junit: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/f7jzmxq9bpbxsg69cszx56mw14n115n5-bash-4.4-p23/bin/bash"
./libexec/bats-core/bats-exec-suite: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/f7jzmxq9bpbxsg69cszx56mw14n115n5-bash-4.4-p23/bin/bash"
./libexec/bats-core/bats-format-pretty: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/f7jzmxq9bpbxsg69cszx56mw14n115n5-bash-4.4-p23/bin/bash"
./libexec/bats-core/bats-exec-file: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/f7jzmxq9bpbxsg69cszx56mw14n115n5-bash-4.4-p23/bin/bash"
./libexec/bats-core/bats-format-tap13: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/f7jzmxq9bpbxsg69cszx56mw14n115n5-bash-4.4-p23/bin/bash"
./libexec/bats-core/bats-preprocess: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/f7jzmxq9bpbxsg69cszx56mw14n115n5-bash-4.4-p23/bin/bash"
./install.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/f7jzmxq9bpbxsg69cszx56mw14n115n5-bash-4.4-p23/bin/bash"
./shellcheck.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/f7jzmxq9bpbxsg69cszx56mw14n115n5-bash-4.4-p23/bin/bash"
./bin/bats: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/f7jzmxq9bpbxsg69cszx56mw14n115n5-bash-4.4-p23/bin/bash"
./test/fixtures/bats/cmd_using_stdin.bash: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/f7jzmxq9bpbxsg69cszx56mw14n115n5-bash-4.4-p23/bin/bash"
./contrib/release.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/f7jzmxq9bpbxsg69cszx56mw14n115n5-bash-4.4-p23/bin/bash"
./contrib/semver: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/f7jzmxq9bpbxsg69cszx56mw14n115n5-bash-4.4-p23/bin/bash"
@nix { "action": "setPhase", "phase": "configurePhase" }
configuring
no configure script, doing nothing
@nix { "action": "setPhase", "phase": "buildPhase" }
building
no Makefile, doing nothing
@nix { "action": "setPhase", "phase": "checkPhase" }
running tests
1..144
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 tap passing and skipping tests
ok 11 summary passing and failing tests
ok 12 summary passing, failing and skipping tests
ok 13 tap passing, failing and skipping tests
ok 14 BATS_CWD is correctly set to PWD as validated by bats_trim_filename
ok 15 one failing test
ok 16 one failing and one passing test
ok 17 failing test with significant status
ok 18 failing helper function logs the test case's line number
ok 19 test environments are isolated
ok 20 setup is run once before each test
ok 21 teardown is run once after each test, even if it fails
ok 22 setup failure
ok 23 passing test with teardown failure
ok 24 failing test with teardown failure
ok 25 teardown failure with significant status
ok 26 failing test file outside of BATS_CWD
ok 27 load sources scripts relative to the current test file
ok 28 load sources relative scripts with filename extension
ok 29 load aborts if the specified script does not exist
ok 30 load sources scripts by absolute path
ok 31 load aborts if the script, specified by an absolute path, does not exist
ok 32 load relative script with ambiguous name
ok 33 load supports scripts on the PATH
ok 34 load supports plain symbols
ok 35 load doesn't support _declare_d symbols
ok 36 output is discarded for passing tests and printed for failing tests
ok 37 -c prints the number of tests
ok 38 dash-e is not mangled on beginning of line
ok 39 dos line endings are stripped before testing
ok 40 test file without trailing newline
ok 41 skipped tests
ok 42 skipped test with parens (pretty formatter)
ok 43 extended syntax
ok 44 timing syntax
ok 45 extended timing syntax
ok 46 time is greater than 0ms for long test
ok 47 pretty and tap formats
ok 48 pretty formatter bails on invalid tap
ok 49 single-line tests
ok 50 testing IFS not modified by run
ok 51 expand variables in test name
ok 52 handle quoted and unquoted test names
ok 53 ensure compatibility with unofficial Bash strict mode
ok 54 parse @test lines with various whitespace combinations
ok 55 duplicate tests error and generate a warning on stderr
ok 56 sourcing a nonexistent file in setup produces error output
ok 57 referencing unset parameter in setup produces error output
ok 58 sourcing a nonexistent file in test produces error output
ok 59 referencing unset parameter in test produces error output
ok 60 sourcing a nonexistent file in teardown produces error output
ok 61 referencing unset parameter in teardown produces error output
ok 62 execute exported function without breaking failing test output
ok 63 output printed even when no final newline
ok 64 run tests which consume stdin (see #197)
ok 65 report correct line on unset variables
ok 66 report correct line on external function calls
ok 67 test count validator catches mismatch and returns non zero
ok 68 running the same file twice runs its tests twice without errors
ok 69 Don't use unbound variables inside bats (issue #340)
ok 70 filenames with tab can be used
ok 71 each file is evaluated n+1 times
ok 72 Don't hang on CTRL-C (issue #353)
ok 73 test comment style
ok 74 test works even if PATH is reset # skip
ok 75 Test nounset does not trip up bats' internals (see #385)
ok 76 run tmpdir is cleaned up by default
ok 77 run tmpdir is not cleanup up with --no-cleanup-tempdir
ok 78 setup_file is run once per file
ok 79 teardown_file is run once per file
ok 80 setup_file is called correctly in multi file suite
ok 81 teardown_file is called correctly in multi file suite
ok 82 setup_file failure aborts tests for this file
ok 83 teardown_file failure fails at least one test from the file
ok 84 teardown_file runs even if any test in the file failed
ok 85 teardown_file should run even after user abort via CTRL-C
ok 86 setup_file runs even if all tests in the file are skipped
ok 87 teardown_file runs even if all tests in the file are skipped
ok 88 setup_file must not leak context between tests in the same suite
ok 89 teardown_file must not leak context between tests in the same suite
ok 90 halfway setup_file errors are caught and reported
ok 91 halfway teardown_file errors are caught and reported
ok 92 variables exported in setup_file are visible in tests
ok 93 install.sh creates a valid installation
ok 94 install.sh only updates permissions for Bats files
ok 95 bin/bats is resilient to symbolic links
ok 96 junit formatter with skipped test does not fail
ok 97 junit formatter: escapes xml special chars
ok 98 junit formatter: test suites
ok 99 junit formatter: test suites relative path
ok 100 junit formatter: files with the same name are distinguishable
ok 101 junit formatter as report formatter creates report.xml
ok 102 junit does not mark tests with FD 3 output as failed (issue #360)
ok 103 parallel test execution with --jobs # skip --jobs requires GNU parallel
ok 104 parallel can preserve environment variables # skip --jobs requires GNU parallel
ok 105 parallel suite execution with --jobs # skip --jobs requires GNU parallel
ok 106 setup_file is not over parallelized # skip --jobs requires GNU parallel
ok 107 running the same file twice runs its tests twice without errors # skip --jobs requires GNU parallel
ok 108 parallelity factor is met exactly # skip --jobs requires GNU parallel
ok 109 parallel mode correctly forwards failure return code # skip --jobs requires GNU parallel
ok 110 --no-parallelize-across-files test file detects parallel execution # skip --jobs requires GNU parallel
ok 111 --no-parallelize-across-files prevents parallelization across files # skip --jobs requires GNU parallel
ok 112 --no-parallelize-across-files does not prevent parallelization within files # skip --jobs requires GNU parallel
ok 113 --no-parallelize-within-files test file detects parallel execution # skip --jobs requires GNU parallel
ok 114 --no-parallelize-within-files prevents parallelization within files # skip --jobs requires GNU parallel
ok 115 --no-parallelize-within-files does not prevent parallelization across files # skip --jobs requires GNU parallel
ok 116 BATS_NO_PARALLELIZE_WITHIN_FILE works from inside setup_file() # skip --jobs requires GNU parallel
ok 117 BATS_NO_PARALLELIZE_WITHIN_FILE works from outside all functions # skip --jobs requires GNU parallel
ok 118 BATS_NO_PARALLELIZE_WITHIN_FILE does not work from inside setup() # skip --jobs requires GNU parallel
ok 119 BATS_NO_PARALLELIZE_WITHIN_FILE does not work from inside test function # skip --jobs requires GNU parallel
ok 120 #113: set BATS_ROOT when /bin is a symlink to /usr/bin
ok 121 set BATS_ROOT with extreme symlink resolution
ok 122 set BATS_ROOT when calling from same dir
ok 123 set BATS_ROOT from PATH
ok 124 #182 and probably #184 as well
ok 125 running a suite with no test files
ok 126 running a suite with one test file
ok 127 counting tests in a suite
ok 128 aggregated output of multiple tests in a suite
ok 129 a failing test in a suite results in an error exit code
ok 130 running an ad-hoc suite by specifying multiple test files
ok 131 extended syntax in suite
ok 132 timing syntax in suite
ok 133 extended timing syntax in suite
ok 134 recursive support (short option)
ok 135 recursive support (long option)
ok 136 recursive support with symlinks
ok 137 run entire suite when --filter isn't set
ok 138 use --filter to run subset of test cases from across the suite
ok 139 --filter can handle regular expressions that contain [_- ]
ok 140 --filter can handle regular expressions that start with ^
ok 141 skip is handled correctly in setup, test, and teardown
ok 142 BATS_TEST_NUMBER starts at 1 in each individual test file
ok 143 Override BATS_FILE_EXTENSION with suite
ok 144 Override BATS_FILE_EXTENSION with suite recursive
@nix { "action": "setPhase", "phase": "installPhase" }
installing
Installed Bats to /nix/store/p0kyvbx2wc5ngsric27v90nb3g7jfv9y-bats-1.3.0/bin/bats
@nix { "action": "setPhase", "phase": "fixupPhase" }
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/p0kyvbx2wc5ngsric27v90nb3g7jfv9y-bats-1.3.0
gzipping man pages under /nix/store/p0kyvbx2wc5ngsric27v90nb3g7jfv9y-bats-1.3.0/share/man/
strip is /nix/store/cp1sa3xxvl71cypiinw2c62i5s33chlr-binutils-2.35.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/p0kyvbx2wc5ngsric27v90nb3g7jfv9y-bats-1.3.0/lib /nix/store/p0kyvbx2wc5ngsric27v90nb3g7jfv9y-bats-1.3.0/libexec /nix/store/p0kyvbx2wc5ngsric27v90nb3g7jfv9y-bats-1.3.0/bin
patching script interpreter paths in /nix/store/p0kyvbx2wc5ngsric27v90nb3g7jfv9y-bats-1.3.0
/nix/store/p0kyvbx2wc5ngsric27v90nb3g7jfv9y-bats-1.3.0/lib/bats-core/preprocessing.bash: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/f7jzmxq9bpbxsg69cszx56mw14n115n5-bash-4.4-p23/bin/bash"
/nix/store/p0kyvbx2wc5ngsric27v90nb3g7jfv9y-bats-1.3.0/lib/bats-core/formatter.bash: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/f7jzmxq9bpbxsg69cszx56mw14n115n5-bash-4.4-p23/bin/bash"
/nix/store/p0kyvbx2wc5ngsric27v90nb3g7jfv9y-bats-1.3.0/lib/bats-core/semaphore.bash: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/f7jzmxq9bpbxsg69cszx56mw14n115n5-bash-4.4-p23/bin/bash"
/nix/store/p0kyvbx2wc5ngsric27v90nb3g7jfv9y-bats-1.3.0/lib/bats-core/test_functions.bash: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/f7jzmxq9bpbxsg69cszx56mw14n115n5-bash-4.4-p23/bin/bash"
/nix/store/p0kyvbx2wc5ngsric27v90nb3g7jfv9y-bats-1.3.0/lib/bats-core/tracing.bash: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/f7jzmxq9bpbxsg69cszx56mw14n115n5-bash-4.4-p23/bin/bash"
/nix/store/p0kyvbx2wc5ngsric27v90nb3g7jfv9y-bats-1.3.0/lib/bats-core/validator.bash: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/f7jzmxq9bpbxsg69cszx56mw14n115n5-bash-4.4-p23/bin/bash"
checking for references to /build/ in /nix/store/p0kyvbx2wc5ngsric27v90nb3g7jfv9y-bats-1.3.0...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment