]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
Restart sshd after installing it for testing.
authorDarren Tucker <dtucker@dtucker.net>
Wed, 19 Jun 2024 10:20:24 +0000 (20:20 +1000)
committerDarren Tucker <dtucker@dtucker.net>
Wed, 19 Jun 2024 10:36:54 +0000 (20:36 +1000)
When installing an sshd built without OpenSSL the mismatch between
the running sshd and newly installed sshd-session will cause the
remainder of the test to fail.

.github/workflows/upstream.yml

index f0de34d61fe3dfcf5cab528a0b47c88e7727c327..f294aab483340696a6e3fcb298d50eec553b373e 100644 (file)
@@ -43,7 +43,7 @@ jobs:
     - name: make
       run: vmrun "cd /usr/src/usr.bin/ssh && case ${{ matrix.config }} in without-openssl) make OPENSSL=no;; ubsan) make DEBUG='-fsanitize-minimal-runtime -fsanitize=undefined';; *) make; esac"
     - name: make install
-      run: vmrun "cd /usr/src/usr.bin/ssh && sudo make install"
+      run: vmrun "cd /usr/src/usr.bin/ssh && sudo make install && sudo /etc/rc.d/sshd restart"
     - name: make tests`
       run: vmrun "cd /usr/src/regress/usr.bin/ssh && case ${{ matrix.config }} in without-openssl) make OPENSSL=no;; ubsan) make DEBUG='-fsanitize-minimal-runtime -fsanitize=undefined';; *) make; esac"
       env: