Skip to content

Commit 93868c9

Browse files
ragaskarCI Bot
authored andcommitted
WIP - telemetry to fix other busted test
- cue shaggy-it-wasnt-me.gif
1 parent d56ec95 commit 93868c9

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/go.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- uses: actions/setup-go@v5
1414
with:
1515
go-version-file: go.mod
16-
- uses: golangci/golangci-lint-action@v6
16+
# - uses: golangci/golangci-lint-action@v6
1717
- name: Unit Tests (Windows)
1818
if: runner.os == 'Windows'
1919
run: ./bin/test-unit.ps1

system/os_file_system_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,13 @@ var _ = Describe("OS FileSystem", func() {
5858
Expect(err).ToNot(HaveOccurred())
5959

6060
// If a regular user, the home directory will end with the username
61+
fmt.Printf(fmt.Sprintf("\ncurrentUser: %v\n", currentUser))
6162
expDir := fmt.Sprintf(`\%s`, filepath.Base(currentUser.Name))
6263

6364
// If a System or LocalSystem user, the home directory will be different
6465
// ref: https://learn.microsoft.com/en-us/windows-server/identity/ad-ds/manage/understand-security-identifiers
6566
groupIds, err := currentUser.GroupIds()
67+
fmt.Printf(fmt.Sprintf("\ngroup-ids: %v\n", groupIds))
6668
Expect(err).ToNot(HaveOccurred())
6769
if slices.Contains(groupIds, "S-1-5-18") {
6870
expDir = `C:\Windows\system32\config\systemprofile`

0 commit comments

Comments
 (0)