[tor-commits] [tor/master] Distribute checkSpaceTest.sh and run it when we have perl.

teor at torproject.org teor at torproject.org
Tue Dec 3 02:58:41 UTC 2019


commit 92a6803e1d20244a98c205c46a4215a67259c7e7
Author: Nick Mathewson <nickm at torproject.org>
Date:   Mon Dec 2 12:43:10 2019 -0500

    Distribute checkSpaceTest.sh and run it when we have perl.
---
 Makefile.am         | 7 +++++++
 src/test/include.am | 5 +++++
 2 files changed, 12 insertions(+)

diff --git a/Makefile.am b/Makefile.am
index 38040a4e7..b01601ecc 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -168,6 +168,13 @@ EXTRA_DIST+= \
 	ReleaseNotes							\
 	scripts/maint/checkIncludes.py					\
 	scripts/maint/checkSpace.pl					\
+	scripts/maint/checkSpaceTest.sh					\
+	scripts/maint/checkspace_tests/dubious.c			\
+	scripts/maint/checkspace_tests/dubious.h			\
+	scripts/maint/checkspace_tests/expected.txt			\
+	scripts/maint/checkspace_tests/good_guard.h			\
+	scripts/maint/checkspace_tests/same_guard.h			\
+	scripts/maint/checkspace_tests/subdir/dubious.c			\
 	scripts/maint/checkShellScripts.sh				\
 	scripts/maint/practracker/README				\
 	scripts/maint/practracker/exceptions.txt			\
diff --git a/src/test/include.am b/src/test/include.am
index 6697dbb17..94352c864 100644
--- a/src/test/include.am
+++ b/src/test/include.am
@@ -48,6 +48,11 @@ TESTSCRIPTS += src/test/test_rebind.sh
 endif
 endif
 
+if USE_PERL
+TESTSCRIPTS += \
+        scripts/maint/checkSpaceTest.sh
+endif
+
 TESTS += src/test/test src/test/test-slow src/test/test-memwipe \
 	src/test/test_workqueue \
 	src/test/test_keygen.sh \





More information about the tor-commits mailing list