[tor-commits] [tor/master] git scripts: Add the checkSpace.pl unit tests

nickm at torproject.org nickm at torproject.org
Wed Dec 4 17:15:37 UTC 2019


commit 8861ad85d02c10dc7b1add8d1721c5ae48c930b8
Author: teor <teor at torproject.org>
Date:   Tue Dec 3 13:06:30 2019 +1000

    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 c5adfaffe..95d566b17 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





More information about the tor-commits mailing list