aboutsummaryrefslogtreecommitdiffstats
path: root/t/test-lib-functions.sh
AgeCommit message (Expand)AuthorFilesLines
2021-06-14Merge branch 'ab/test-lib-updates'Junio C Hamano1-23/+39
2021-05-11test-lib: split up and deprecate test_create_repo()Ævar Arnfjörð Bjarmason1-13/+2
2021-05-11test-lib: do not show advice about init.defaultBranch under --verboseÆvar Arnfjörð Bjarmason1-1/+0
2021-05-11test-lib: reformat argument list in test_create_repo()Ævar Arnfjörð Bjarmason1-2/+2
2021-05-11test-lib functions: add --printf option to test_commitÆvar Arnfjörð Bjarmason1-2/+12
2021-05-11test-lib functions: add an --annotated option to "test_commit"Ævar Arnfjörð Bjarmason1-5/+22
2021-05-11test-lib-functions: document test_commit --no-tagÆvar Arnfjörð Bjarmason1-0/+2
2021-05-11test-lib-functions: reword "test_commit --append" docsÆvar Arnfjörð Bjarmason1-2/+1
2021-04-13tests: remove all uses of test_i18cmpÆvar Arnfjörð Bjarmason1-7/+0
2021-02-25Merge branch 'jk/rev-list-disk-usage'Junio C Hamano1-1/+8
2021-02-22Merge branch 'ab/test-lib'Junio C Hamano1-46/+16
2021-02-17Merge branch 'ak/corrected-commit-date'Junio C Hamano1-0/+6
2021-02-12test-lib-functions: assert correct parameter countÆvar Arnfjörð Bjarmason1-0/+8
2021-02-12test-lib-functions: remove bug-inducing "diagnostics" helper paramÆvar Arnfjörð Bjarmason1-5/+6
2021-02-10Merge branch 'ab/detox-gettext-tests'Junio C Hamano1-16/+7
2021-02-10Merge branch 'ds/more-index-cleanups'Junio C Hamano1-0/+42
2021-02-10test-lib-functions: move function to lib-bitmap.shÆvar Arnfjörð Bjarmason1-27/+0
2021-02-10test-lib-functions: remove generate_zero_bytes() wrapperÆvar Arnfjörð Bjarmason1-7/+0
2021-02-10test-lib-functions: move test_set_index_version() to its userÆvar Arnfjörð Bjarmason1-5/+0
2021-02-10test lib: change "error" to "BUG" as appropriateÆvar Arnfjörð Bjarmason1-2/+2
2021-02-09t: add --no-tag option to test_commitJeff King1-1/+8
2021-01-25Merge branch 'ab/mailmap-fixup'Junio C Hamano1-2/+2
2021-01-25Merge branch 'ab/mailmap'Junio C Hamano1-7/+30
2021-01-23test-lib: test_region looks for trace2 regionsDerrick Stolee1-0/+42
2021-01-21tests: remove support for GIT_TEST_GETTEXT_POISONÆvar Arnfjörð Bjarmason1-16/+7
2021-01-18commit-graph: implement generation data chunkAbhishek Kumar1-0/+6
2021-01-14test-lib-functions.sh: fix usage for test_commit()Denton Liu1-2/+2
2021-01-12test-lib functions: add an --append option to test_commitÆvar Arnfjörð Bjarmason1-1/+13
2021-01-12test-lib functions: add --author support to test_commitÆvar Arnfjörð Bjarmason1-1/+10
2021-01-12test-lib functions: document arguments to test_commitÆvar Arnfjörð Bjarmason1-0/+4
2021-01-12test-lib functions: expand "test_commit" comment templateÆvar Arnfjörð Bjarmason1-5/+3
2021-01-06t4129: don't fail if setgid is set in the test directoryMatheus Tavares1-2/+7
2020-12-18Merge branch 'js/init-defaultbranch-advice'Junio C Hamano1-1/+3
2020-12-13init: provide useful advice about init.defaultBranchJohannes Schindelin1-1/+3
2020-12-08Merge branch 'fc/random-cleanup'Junio C Hamano1-4/+4
2020-12-08Merge branch 'mt/do-not-use-scld-in-working-tree'Junio C Hamano1-2/+2
2020-12-02apply: don't use core.sharedRepository to create working tree filesMatheus Tavares1-2/+2
2020-12-01tests: lib-functions: trivial style cleanupsFelipe Contreras1-4/+4
2020-11-25Merge branch 'sg/tests-prereq'Junio C Hamano1-4/+4
2020-11-18tests: fix description of 'test_set_prereq'SZEDER Gábor1-1/+1
2020-11-18tests: make sure nested lazy prereqs work reliablySZEDER Gábor1-3/+3
2020-11-11Merge branch 'js/test-file-size'Junio C Hamano1-0/+4
2020-11-06tests: consolidate the `file_size` function into `test-lib-functions.sh`Johannes Schindelin1-0/+4
2020-11-02Merge branch 'es/test-cmp-typocatcher'Junio C Hamano1-14/+2
2020-10-20Revert "test_cmp: diagnose incorrect arguments"Junio C Hamano1-14/+2
2020-09-25Merge branch 'ds/maintenance-part-1'Junio C Hamano1-0/+33
2020-09-17maintenance: create basic maintenance runnerDerrick Stolee1-0/+33
2020-09-03Merge branch 'jk/slimmed-down'Junio C Hamano1-1/+1
2020-08-17Merge branch 'es/test-cmp-typocatcher'Junio C Hamano1-2/+14
2020-08-13drop vcs-svn experimentJeff King1-1/+1
2020-08-11Merge branch 'bc/sha-256-part-3'Junio C Hamano1-4/+12
2020-08-09test_cmp: diagnose incorrect argumentsEric Sunshine1-2/+14
2020-07-30t: allow testing different hash algorithms via environmentbrian m. carlson1-3/+1
2020-07-30t: add test_oid option to select hash algorithmbrian m. carlson1-1/+11
2020-07-07test-lib-functions: restrict test_must_fail usageDenton Liu1-0/+47
2020-04-28Merge branch 'dd/test-with-busybox'Junio C Hamano1-1/+1
2020-04-22Merge branch 'js/mingw-is-hidden-test-fix'Junio C Hamano1-0/+10
2020-04-11t: restrict `is_hidden` to be called only on WindowsJohannes Schindelin1-2/+5
2020-04-11mingw: make test_path_is_hidden more robustJohannes Schindelin1-1/+1
2020-04-11t: consolidate the `is_hidden` functionsJohannes Schindelin1-0/+7
2020-03-29test-lib-functions: simplify packetize() stdin codeJeff King1-5/+4
2020-03-27test-lib-functions: make packetize() more efficientJeff King1-7/+16
2020-03-25test-lib-functions: test_cmp: eval $GIT_TEST_CMPĐoàn Trần Công Danh1-1/+1
2020-02-14t5310: factor out bitmap traversal comparisonJeff King1-0/+27
2019-12-10Merge branch 'sg/test-squelch-noise-in-commit-bulk'Junio C Hamano1-1/+1
2019-12-05Merge branch 'sg/test-bool-env'Junio C Hamano1-1/+29
2019-11-27test-lib-functions: suppress a 'git rev-parse' error in 'test_commit_bulk'SZEDER Gábor1-1/+1
2019-11-23tests: add 'test_bool_env' to catch non-bool GIT_TEST_* valuesSZEDER Gábor1-1/+29
2019-11-21t: teach test_cmp_rev to accept ! for not-equalsDenton Liu1-4/+15
2019-10-15Merge branch 'dl/octopus-graph-bug'Junio C Hamano1-2/+4
2019-10-04test-lib: let test_merge() perform octopus mergesDenton Liu1-2/+4
2019-08-22Merge branch 'sg/show-failed-test-names'Junio C Hamano1-2/+2
2019-08-09Merge branch 'bc/hash-independent-tests-part-4'Junio C Hamano1-1/+2
2019-08-08t: decrease nesting in test_oid_to_pathJonathan Nieder1-1/+2
2019-08-05tests: show the test name and number at the start of verbose outputSZEDER Gábor1-2/+2
2019-08-01Merge branch 'bc/hash-independent-tests-part-4'Junio C Hamano1-0/+6
2019-07-25Merge branch 'jk/test-commit-bulk'Junio C Hamano1-0/+123
2019-07-25Merge branch 'ab/test-env'Junio C Hamano1-50/+8
2019-07-09Merge branch 'js/t0001-case-insensitive'Junio C Hamano1-0/+15
2019-07-02test-lib: introduce test_commit_bulkJeff King1-0/+123
2019-07-01t: add helper to convert object IDs to pathsbrian m. carlson1-0/+6
2019-06-24t0001: fix on case-insensitive filesystemsJohannes Schindelin1-0/+15
2019-06-21tests: make GIT_TEST_FAIL_PREREQS a booleanÆvar Arnfjörð Bjarmason1-2/+2
2019-06-21tests: replace test_tristate with "git env--helper"Ævar Arnfjörð Bjarmason1-49/+7
2019-05-14tests: add a special setup where prerequisites failÆvar Arnfjörð Bjarmason1-0/+20
2019-05-09Merge branch 'tb/unexpected'Junio C Hamano1-0/+6
2019-04-25Merge branch 'sg/test-atexit'Junio C Hamano1-0/+28
2019-04-05t: move 'hex2oct' into test-lib-functions.shTaylor Blau1-0/+6
2019-03-14test-lib: introduce 'test_atexit'Johannes Schindelin1-0/+28
2019-03-08test functions: add function `test_file_not_empty`Rohit Ashiwal1-0/+9
2019-02-19tests: teach the test-tool to generate NUL bytes and use itJohannes Schindelin1-7/+1
2019-02-13Merge branch 'rb/no-dev-zero-in-test'Junio C Hamano1-0/+13
2019-02-12test-lib-functions.sh: add generate_zero_bytes functionRandall S. Becker1-0/+13
2019-02-11test-lib: fix non-portable pattern bracket expressionsSZEDER Gábor1-1/+1
2019-01-07test-lib: add the '--stress' option to run a test repeatedly under loadSZEDER Gábor1-2/+5
2019-01-07test-lib-functions: introduce the 'test_set_port' helper functionSZEDER Gábor1-0/+36
2018-12-01Merge branch 'sg/test-BUG'Junio C Hamano1-13/+12
2018-11-20test-lib-functions: make 'test_cmp_rev' more informative on failureSZEDER Gábor1-3/+17
2018-11-20tests: send "bug in the test script" errors to the script's stderrSZEDER Gábor1-13/+12
2018-11-19Merge branch 'js/test-git-installed'Junio C Hamano1-1/+2
2018-11-19Merge branch 'ab/dynamic-gettext-poison'Junio C Hamano1-4/+4
2018-11-16tests: explicitly use `git.exe` on WindowsJohannes Schindelin1-1/+1
2018-11-14tests: respect GIT_TEST_INSTALLED when initializing repositoriesJohannes Schindelin1-1/+2
2018-11-09i18n: make GETTEXT_POISON a runtime optionÆvar Arnfjörð Bjarmason1-4/+4
2018-10-22t1300: extract and use test_cmp_config()Nguyễn Thái Ngọc Duy1-0/+23
2018-10-10Merge branch 'bc/hash-independent-tests'Junio C Hamano1-0/+69
2018-09-17Merge branch 'sb/range-diff-colors'Junio C Hamano1-0/+2
2018-09-13t: add test functions to translate hash-related valuesbrian m. carlson1-0/+69
2018-08-14test_decode_color: understand FAINT and ITALICStefan Beller1-0/+2
2018-08-08t7406: prefer test_* helper functions to test -[feds]Elijah Newren1-0/+8
2018-05-23Merge branch 'js/test-unset-prereq'Junio C Hamano1-1/+13
2018-04-30tests: introduce test_unset_prereq, for debuggingJohannes Schindelin1-1/+13
2018-04-25Make running git under other debugger-like programs easyElijah Newren1-4/+20
2018-04-11Merge branch 'jc/test-must-be-empty'Junio C Hamano1-5/+2
2018-03-27test_must_be_empty: simplify file existence checkSZEDER Gábor1-5/+2
2018-03-14Merge branch 'sg/test-x'Junio C Hamano1-12/+12
2018-03-08Merge branch 'jc/test-must-be-empty'Junio C Hamano1-1/+5
2018-03-06Merge branch 'jk/test-helper-v-output-fix'Junio C Hamano1-10/+10
2018-02-27test_must_be_empty: make sure the file exists, not just emptyJunio C Hamano1-1/+5
2018-02-27t: prevent '-x' tracing from interfering with test helpers' stderrSZEDER Gábor1-12/+12
2018-02-27Merge branch 'sg/doc-test-must-fail-args'Junio C Hamano1-0/+10
2018-02-22t: send verbose test-helper output to fd 4Jeff King1-10/+10
2018-02-21Merge branch 'sg/test-i18ngrep'Junio C Hamano1-0/+54
2018-02-12t: document 'test_must_fail ok=<signal-name>'SZEDER Gábor1-0/+10
2018-02-08t: make 'test_i18ngrep' more informative on failureSZEDER Gábor1-4/+20
2018-02-08t: validate 'test_i18ngrep's parametersSZEDER Gábor1-0/+12
2018-02-08t: move 'test_i18ncmp' and 'test_i18ngrep' to 'test-lib-functions.sh'SZEDER Gábor1-0/+26
2018-01-25t/lib-git-daemon: add network-protocol helpersJeff King1-0/+34
2017-08-23Merge branch 'jk/ref-filter-colors' into maintJunio C Hamano1-0/+1
2017-08-11Merge branch 'jk/ref-filter-colors'Junio C Hamano1-0/+1
2017-07-17t: handle EOF in test_copy_bytes()Jeff King1-0/+1
2017-07-13t: use test_decode_color rather than literal ANSI codesJeff King1-0/+1
2017-06-25t1301: move modebits() to test-lib-functions.shChristian Couder1-0/+5
2017-03-18tests: make the 'test_pause' helper work in non-verbose modeSZEDER Gábor1-7/+2
2017-03-18tests: create an interactive gdb session with the 'debug' helperSZEDER Gábor1-1/+1
2017-01-10Merge branch 'sb/submodule-embed-gitdir'Junio C Hamano1-5/+15
2016-12-16t5000: extract nongit function to test-lib-functions.shJeff King1-0/+14
2016-12-09test-lib-functions.sh: teach test_commit -C <dir>Stefan Beller1-5/+15
2016-08-11test-lib-functions.sh: add lf_to_nul helperJeff Hostetler1-0/+4
2016-07-19Merge branch 'jk/test-match-signal'Junio C Hamano1-1/+16
2016-07-06test_must_fail: use test_match_signalJeff King1-1/+1
2016-07-06tests: factor portable signal check out of t0005Jeff King1-0/+15
2016-07-01t9300: factor out portable "head -c" replacementJeff King1-0/+14
2016-06-01test-lib: add in-shell "env" replacementJeff King1-0/+22
2016-05-26Merge branch 'jc/test-seq' into maintJunio C Hamano1-15/+13
2016-05-09test-lib-functions.sh: rewrite test_seq without PerlJunio C Hamano1-1/+6
2016-05-09test-lib-functions.sh: remove misleading comment on test_seqJunio C Hamano1-14/+7
2016-02-25test_must_fail: report number of unexpected signalJeff King1-1/+1
2015-11-28add "ok=sigpipe" to test_must_fail and use it to fix flaky testsLars Schneider1-0/+3
2015-11-28implement test_might_fail using a refactored test_must_failLars Schneider1-14/+33
2015-10-30test: facilitate debugging Git executables in tests with gdbJohannes Schindelin1-0/+8
2015-09-08test-lib-functions: detect test_when_finished in subshellJohn Keeping1-0/+5
2015-09-08test-lib-functions: support "test_config -C <dir> ..."John Keeping1-3/+17
2015-05-19Merge branch 'jc/test-prereq-validate'Junio C Hamano1-0/+9
2015-05-13Merge branch 'ep/fix-test-lib-functions-report' into maintJunio C Hamano1-2/+2
2015-05-05Merge branch 'ep/fix-test-lib-functions-report'Junio C Hamano1-2/+2
2015-04-28test: validate prerequistes syntaxJunio C Hamano1-0/+9
2015-04-16test-lib-functions.sh: fix the second argument to some helper functionsElia Pinto1-2/+2
2015-03-13Merge branch 'jc/diff-test-updates' into maintJunio C Hamano1-1/+3
2015-03-05Merge branch 'jc/diff-test-updates'Junio C Hamano1-1/+3
2015-02-23test_ln_s_add: refresh stat info of fake symbolic linksJohannes Sixt1-1/+3
2014-10-21Merge branch 'da/mergetool-tests'Junio C Hamano1-12/+18
2014-10-16test-lib-functions: adjust style to match CodingGuidelinesDavid Aguilar1-12/+18
2014-10-13t5304: use helper to report failure of "test foo = bar"Jeff King1-0/+9
2014-07-21Merge branch 'jl/submodule-tests'Junio C Hamano1-0/+11
2014-06-25Merge branch 'ep/avoid-test-a-o'Junio C Hamano1-2/+2
2014-06-20test-lib: add test_dir_is_empty()Jens Lehmann1-0/+11
2014-06-16Merge branch 'sk/test-cmp-bin'Junio C Hamano1-0/+6
2014-06-16Merge branch 'mt/patch-id-stable' (early part)Junio C Hamano1-0/+5
2014-06-10test: add test_write_lines helperMichael S. Tsirkin1-0/+5
2014-06-09t/test-lib-functions.sh: avoid "test <cond> -a/-o <cond>"Elia Pinto1-2/+2
2014-06-04t5000, t5003: do not use test_cmp to compare binary filesStepan Kasal1-0/+6
2014-03-14Merge branch 'tg/index-v4-format'Junio C Hamano1-0/+5
2014-02-24test-lib: allow setting the index format versionThomas Gummerer1-0/+5
2014-02-14tests: turn on network daemon tests by defaultJeff King1-0/+58
2013-11-26test: replace shebangs with descriptions in shell librariesJonathan Nieder1-1/+2
2013-11-04Merge branch 'jk/wrap-perl-used-in-tests'Junio C Hamano1-3/+7
2013-10-29t: use perl instead of "$PERL_PATH" where applicableJeff King1-3/+3
2013-10-29t: provide a perl() function which uses $PERL_PATHJeff King1-0/+4
2013-10-28Windows: a test_cmp that is agnostic to random LF <> CRLF conversionsJohannes Sixt1-0/+66
2013-07-05Merge branch 'tr/test-v-and-v-subtest-only'Junio C Hamano1-2/+4
2013-06-20Merge branch 'fc/show-non-empty-errors-in-test'Junio C Hamano1-0/+12
2013-06-18test-lib: rearrange start/end of test_expect_* and test_skipThomas Rast1-2/+4
2013-06-09test: test_must_be_empty helperJunio C Hamano1-0/+12
2013-06-07tests: introduce test_ln_s_addJohannes Sixt1-0/+17
2013-04-22Merge branch 'jc/apply-ws-fix-tab-in-indent' into maintJunio C Hamano1-0/+4
2013-04-03Merge branch 'tr/valgrind'Junio C Hamano1-0/+3
2013-04-03Merge branch 'jc/apply-ws-fix-tab-in-indent'Junio C Hamano1-0/+4
2013-04-01Merge branch 'bc/append-signed-off-by'Junio C Hamano1-4/+4
2013-04-01tests: notice valgrind error in test_must_failThomas Rast1-0/+3
2013-03-29test: resurrect q_to_tabJunio C Hamano1-0/+4
2013-03-22apply --whitespace=fix: avoid running over the postimage bufferJunio C Hamano1-2/+2
2013-02-12t/test-lib-functions.sh: allow to specify the tag name to test_commitBrandon Casey1-4/+4
2012-12-22tests: move test_cmp_rev to test-lib-functionsMartin von Zweigbergk1-0/+7
2012-11-15test-lib: allow negation of prerequisitesJeff King1-1/+20
2012-09-14cherry-pick: don't forget -s on failureMiklos Vajna1-5/+16
2012-08-22Merge branch 'mk/test-seq'Junio C Hamano1-0/+21
2012-08-04tests: Introduce test_seqMichał Kiedrowicz1-0/+21
2012-07-30Merge branch 'jc/maint-filter-branch-epoch-date' into maintJunio C Hamano1-2/+11
2012-07-27test: allow prerequisite to be evaluated lazilyJunio C Hamano1-0/+42