Skip to content

Commit 741904f

Browse files
committed
TO-DROP: figure out where OpenSSH is
Signed-off-by: Johannes Schindelin <[email protected]>
1 parent b7f418e commit 741904f

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

.github/workflows/ui-tests.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,10 +111,12 @@ jobs:
111111
id: ui-tests
112112
timeout-minutes: 10
113113
run: |
114-
$p = Start-Process -PassThru -FilePath "${env:RUNNER_TEMP}\ahk\AutoHotKey64.exe" -ArgumentList ui-tests\background-hook.ahk, "$PWD\bg-hook"
115-
$p.WaitForExit()
116-
if ($p.ExitCode -ne 0) { echo "::error::Test failed!" } else { echo "::notice::Test log" }
117-
type bg-hook.log
114+
# $p = Start-Process -PassThru -FilePath "${env:RUNNER_TEMP}\ahk\AutoHotKey64.exe" -ArgumentList ui-tests\background-hook.ahk, "$PWD\bg-hook"
115+
# $p.WaitForExit()
116+
# if ($p.ExitCode -ne 0) { echo "::error::Test failed!" } else { echo "::notice::Test log" }
117+
# type bg-hook.log
118+
echo "Is OpenSSH available?"
119+
dir $env:OPENSSH_FOR_WINDOWS_DIRECTORY
118120
$p2 = Start-Process -PassThru -FilePath "${env:RUNNER_TEMP}\ahk\AutoHotKey64.exe" -ArgumentList ui-tests\ctrl-c.ahk, "$PWD\ctrl-c"
119121
$p2.WaitForExit()
120122
if ($p2.ExitCode -ne 0) { echo "::error::Ctrl+C Test failed!" } else { echo "::notice::Ctrl+C Test log" }

ui-tests/ctrl-c.ahk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ WaitForRegExInWindowsTerminal('>[ `n`r]*$', 'Timed out waiting for `cat.exe` to
5252
; included `ssh.exe`, to exercise the MSYS2 runtime (which these UI tests are all about).
5353

5454
openSSHPath := EnvGet('OPENSSH_FOR_WINDOWS_DIRECTORY')
55+
Info('OpenSSH for Windows path: ' openSSHPath)
5556
if (openSSHPath != '' and FileExist(openSSHPath . '\sshd.exe')) {
5657
Info('Generate 26M of data')
5758
RunWait('git init --bare large.git', '', 'Hide')

0 commit comments

Comments
 (0)