summaryrefslogtreecommitdiff
path: root/t/test-lib.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2021-07-13 23:52:50 (GMT)
committerJunio C Hamano <gitster@pobox.com>2021-07-13 23:52:50 (GMT)
commitc9780bb2ca81828ec4f43c60b2107c335271a72f (patch)
treec996adbe0e76851f0e71fbd8668a163a2f683378 /t/test-lib.sh
parent0659866a09ef6a7a0e74eb18ef66d8f5bd959215 (diff)
parent1231cab341e3e14065e39a5403ad8026c9bc19a8 (diff)
downloadgit-c9780bb2ca81828ec4f43c60b2107c335271a72f.zip
git-c9780bb2ca81828ec4f43c60b2107c335271a72f.tar.gz
git-c9780bb2ca81828ec4f43c60b2107c335271a72f.tar.bz2
Merge branch 'hn/prep-tests-for-reftable'
Preliminary clean-up of tests before the main reftable changes hits the codebase. * hn/prep-tests-for-reftable: (22 commits) t1415: set REFFILES for test specific to storage format t4202: mark bogus head hash test with REFFILES t7003: check reflog existence only for REFFILES t7900: stop checking for loose refs t1404: mark tests that muck with .git directly as REFFILES. t2017: mark --orphan/logAllRefUpdates=false test as REFFILES t1414: mark corruption test with REFFILES t1407: require REFFILES for for_each_reflog test test-lib: provide test prereq REFFILES t5304: use "reflog expire --all" to clear the reflog t5304: restyle: trim empty lines, drop ':' before > t7003: use rev-parse rather than FS inspection t5000: inspect HEAD using git-rev-parse t5000: reformat indentation to the latest fashion t1301: fix typo in error message t1413: use tar to save and restore entire .git directory t1401-symbolic-ref: avoid direct filesystem access t1401: use tar to snapshot and restore repo state t5601: read HEAD using rev-parse t9300: check ref existence using test-helper rather than a file system check ...
Diffstat (limited to 't/test-lib.sh')
-rw-r--r--t/test-lib.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/t/test-lib.sh b/t/test-lib.sh
index 7036f83..9e26860 100644
--- a/t/test-lib.sh
+++ b/t/test-lib.sh
@@ -1509,6 +1509,8 @@ parisc* | hppa*)
;;
esac
+test_set_prereq REFFILES
+
( COLUMNS=1 && test $COLUMNS = 1 ) && test_set_prereq COLUMNS_CAN_BE_1
test -z "$NO_PERL" && test_set_prereq PERL
test -z "$NO_PTHREADS" && test_set_prereq PTHREADS