Skip to content

Commit 2540165

Browse files
lucaskanashirosorah
authored andcommitted
d/rules: create needed empty file to run openssl tests
dpkg-source does not allow a patch creating an empty file, and it is needed by one of the openssl tests.
1 parent 03c8c4d commit 2540165

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

debian/rules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,9 @@ ifneq (,$(DEBIAN_RUBY_EXTRA_TEST_EXCLUDES))
131131
endif
132132
override_dh_auto_test-arch:
133133
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
134+
# dpkg-source does not allow empty file creation via patch file.
135+
# This is needed by openssl 3.0.0
136+
touch $(CURDIR)/test/openssl/fixtures/pkey/empty.pem
134137
$(MAKE) $(TEST_TARGETS) V=1 RUBY_TESTOPTS="-v -j4" TESTS="$(excludes)" OPENSSL_CONF=$(CURDIR)/debian/openssl.cnf
135138
endif
136139

0 commit comments

Comments
 (0)