Skip to content

Commit

Permalink
Go - os.Mkdir doesn't use libc
Browse files Browse the repository at this point in the history
  • Loading branch information
facundopoblete committed Nov 30, 2024
1 parent d6456e4 commit 5aa542b
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions tests/go-e2e-dir/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,13 @@ func main() {
os.Exit(-1)
}

err = os.Mkdir("/app/test_mkdir", 0755)
if err != nil {
fmt.Printf("Mkdir error: %s\n", err)
os.Exit(-1)
}
// TODO: apply golang hooks to make os.Mkdir works

// err = os.Mkdir("/app/test_mkdir", 0755)
// if err != nil {
// fmt.Printf("Mkdir error: %s\n", err)
// os.Exit(-1)
// }

// let close requests be sent for test
time.Sleep(1 * time.Second)
Expand Down

0 comments on commit 5aa542b

Please sign in to comment.