Skip to content
This repository has been archived by the owner on Feb 27, 2023. It is now read-only.

Commit

Permalink
Add skip statement
Browse files Browse the repository at this point in the history
  • Loading branch information
duck8823 committed May 4, 2019
1 parent b9b5c9f commit 5780358
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions infrastructure/archive/tar/tar_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import (
"os"
"path/filepath"
"reflect"
"runtime"
"strings"
"testing"
"time"
Expand Down Expand Up @@ -107,6 +108,9 @@ func TestCreate(t *testing.T) {
if os.Getuid() == 0 {
t.Skip("skip if root user")
}
if runtime.GOOS == "windows" {
t.Skip("skip in windows")
}

// setup
testDir, remove := createTestDir(t)
Expand Down

0 comments on commit 5780358

Please sign in to comment.