]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
git scripts: Add the checkSpace.pl unit tests
authorteor <teor@torproject.org>
Tue, 3 Dec 2019 03:06:30 +0000 (13:06 +1000)
committerNick Mathewson <nickm@torproject.org>
Wed, 4 Dec 2019 17:15:22 +0000 (12:15 -0500)
Extra testing after 32613.

scripts/git/pre-commit.git-hook

index c5adfaffe7bd60081292adb9cf8687741733c099..95d566b17d0950111c9cce274b4ad7a9fb7f17f6 100755 (executable)
@@ -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