]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
Install nc during upstream test.
authorDarren Tucker <dtucker@dtucker.net>
Thu, 22 May 2025 01:34:04 +0000 (11:34 +1000)
committerDarren Tucker <dtucker@dtucker.net>
Thu, 22 May 2025 01:34:04 +0000 (11:34 +1000)
This ensures that the installed nc matches the expectations of the
regress tests.

.github/workflows/upstream.yml

index 615a7763fb9b76f372dea5e7a23fb7dc72ef5532..b603d410b025d1faf223e388f5aca3efbb2a9e14 100644 (file)
@@ -43,7 +43,9 @@ jobs:
       run: sshfs_mount
       working-directory: ${{ runner.temp }}
     - name: update source
-      run: vmrun "cd /usr/src && cvs up -dPA usr.bin/ssh regress/usr.bin/ssh"
+      run: vmrun "cd /usr/src && cvs up -dPA {regress/,}usr.bin/{ssh,nc}"
+    - name: install netcat
+      run: vmrun "cd /usr/src/usr.bin/nc && make obj clean nc && sudo make install"
     - name: make clean
       run: vmrun "cd /usr/src/usr.bin/ssh && make obj && make clean && cd /usr/src/regress/usr.bin/ssh && make obj && make clean && sudo chmod -R g-w /usr/src /usr/obj"
     - name: make