summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorteor <teor@torproject.org>2019-12-03 13:06:30 +1000
committerNick Mathewson <nickm@torproject.org>2019-12-04 12:15:22 -0500
commit8861ad85d02c10dc7b1add8d1721c5ae48c930b8 (patch)
tree11a4b372ed94a62f1383062901f4ed187c5258d0 /scripts
parent19324ff0bae96059155a5b16301528d682b78078 (diff)
downloadtor-8861ad85d02c10dc7b1add8d1721c5ae48c930b8.tar.gz
tor-8861ad85d02c10dc7b1add8d1721c5ae48c930b8.zip
git scripts: Add the checkSpace.pl unit tests
Extra testing after 32613.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/git/pre-commit.git-hook4
1 files changed, 4 insertions, 0 deletions
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