]> git.pld-linux.org Git - packages/openssh.git/blobdiff - openssh.spec
- try random port for tests
[packages/openssh.git] / openssh.spec
index 90f2e58ced30db02e350d4e8386eaeee9e507c94..7c0daac62bdaada7f68ff1e28a3ee3dd89af6551 100644 (file)
@@ -588,7 +588,10 @@ echo '#define LOGIN_PROGRAM                   "/bin/login"' >>config.h
 
 %{__make}
 
-%{?with_tests:%{__make} -j1 tests}
+%if %{with tests}
+%{__make} -j1 tests \
+       TEST_SSH_PORT=$((4242 + ${RANDOM:-$$} % 1000))
+%endif
 
 cd contrib
 %if %{with gnome}
This page took 0.033974 seconds and 4 git commands to generate.