diff --git a/.github/workflows/golang-test-windows.yml b/.github/workflows/golang-test-windows.yml index 851a80b0d..5944cf06d 100644 --- a/.github/workflows/golang-test-windows.yml +++ b/.github/workflows/golang-test-windows.yml @@ -44,7 +44,7 @@ jobs: - run: PsExec64 -s -w ${{ github.workspace }} C:\hostedtoolcache\windows\go\${{ steps.go.outputs.go-version }}\x64\bin\go.exe env -w GOCACHE=C:\Users\runneradmin\AppData\Local\go-build - name: test - run: PsExec64 -s -w ${{ github.workspace }} cmd.exe /c "C:\hostedtoolcache\windows\go\${{ steps.go.outputs.go-version }}\x64\bin\go.exe test -timeout 5m -p 1 -v ./iface/... > test-out.txt 2>&1" + run: PsExec64 -s -w ${{ github.workspace }} cmd.exe /c "C:\hostedtoolcache\windows\go\${{ steps.go.outputs.go-version }}\x64\bin\go.exe test -timeout 5m -p 1 ./... > test-out.txt 2>&1" - name: test output if: ${{ always() }} run: Get-Content test-out.txt \ No newline at end of file diff --git a/testutil/runassystem.go b/testutil/runassystem.go deleted file mode 100644 index f3859d644..000000000 --- a/testutil/runassystem.go +++ /dev/null @@ -1,24 +0,0 @@ -package main - -import ( - "fmt" - "os" - "os/exec" - - "golang.zx2c4.com/wireguard/windows/elevate" -) - -func main() { - argsWithoutProg := os.Args[1:] - op := func() error { - cmd := exec.Command(argsWithoutProg[0], argsWithoutProg[1:]...) - out, err := cmd.Output() - fmt.Println("") - fmt.Printf(string(out)) - if err != nil { - return err - } - return nil - } - fmt.Println(elevate.DoAsService("netbird", op)) -}