From 8861ad85d02c10dc7b1add8d1721c5ae48c930b8 Mon Sep 17 00:00:00 2001 From: teor <teor@torproject.org> Date: Tue, 3 Dec 2019 13:06:30 +1000 Subject: [PATCH] git scripts: Add the checkSpace.pl unit tests Extra testing after 32613. --- scripts/git/pre-commit.git-hook | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/git/pre-commit.git-hook b/scripts/git/pre-commit.git-hook index c5adfaffe7..95d566b17d 100755 --- a/scripts/git/pre-commit.git-hook +++ b/scripts/git/pre-commit.git-hook @@ -61,6 +61,10 @@ if [ -e "${PT_DIR}/test_practracker.sh" ]; then "${PT_DIR}/test_practracker.sh" fi +if [ -e scripts/maint/checkSpaceTest.sh ]; then + scripts/maint/checkSpaceTest.sh +fi + if [ ! "$CHECK_FILES" ]; then echo "No modified tor-owned source files, skipping further checks" exit 0 -- GitLab