diff options
author | Jonathan Nieder <jrnieder@gmail.com> | 2013-11-25 13:02:16 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-11-26 14:21:26 -0800 |
commit | b018c73526ca9d941c64d6a41d9c24968de38c2b (patch) | |
tree | ec19821f24d1c599507a814c82b047789d0c4eb5 /t/lib-prereq-FILEMODE.sh | |
parent | 30a3318ac06c639f0ccb25b3abf627b3120c4dc9 (diff) | |
download | git-b018c73526ca9d941c64d6a41d9c24968de38c2b.tar.gz |
test: make FILEMODE a lazy prereq
This way, test authors don't need to remember to source
lib-prereq-FILEMODE.sh before using the FILEMODE prereq to guard tests
that rely on the executable bit being honored when checking out files.
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/lib-prereq-FILEMODE.sh')
-rw-r--r-- | t/lib-prereq-FILEMODE.sh | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/t/lib-prereq-FILEMODE.sh b/t/lib-prereq-FILEMODE.sh deleted file mode 100644 index bce5a4c8bd..0000000000 --- a/t/lib-prereq-FILEMODE.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh -# -# Copyright (c) 2010 Ævar Arnfjörð Bjarmason -# - -if test "$(git config --bool core.filemode)" = false -then - say 'filemode disabled on the filesystem' -else - test_set_prereq FILEMODE -fi |