Skip to content

Commit 672ebb3

Browse files
committed
skip tests on Windows
1 parent 7dffd25 commit 672ebb3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

provisioner/terraform/serve_internal_test.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import (
55
"fmt"
66
"os"
77
"path/filepath"
8+
"runtime"
89
"strings"
910
"testing"
1011

@@ -55,6 +56,10 @@ func Test_getAbsoluteBinaryPath(t *testing.T) {
5556
// nolint:paralleltest
5657
for _, tt := range tests {
5758
t.Run(tt.name, func(t *testing.T) {
59+
if runtime.GOOS == "windows" {
60+
t.Skip("Dummy terraform executable on Windows requires sh which isn't very practical.")
61+
}
62+
5863
// Create a temp dir with the binary
5964
tempDir := t.TempDir()
6065
terraformBinaryOutput := fmt.Sprintf(`#!/bin/sh

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy