-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Description
For example:
--- FAIL: TestGetContextFromLocalDirWithNoDirectory (0.00s)
Error Trace: context_test.go:84
Error: Not equal:
expected: "/var/folders/_z/phfwjxz50w1clqsnlf4g2ym80000gp/T/builder-context-test687047581"
received: "/private/var/folders/_z/phfwjxz50w1clqsnlf4g2ym80000gp/T/builder-context-test687047581"
=== RUN TestGetContextFromLocalDirWithDockerfile
--- FAIL: TestGetContextFromLocalDirWithDockerfile (0.00s)
Error Trace: context_test.go:97
Error: Not equal:
expected: "/var/folders/_z/phfwjxz50w1clqsnlf4g2ym80000gp/T/builder-context-test205698136"
received: "/private/var/folders/_z/phfwjxz50w1clqsnlf4g2ym80000gp/T/builder-context-test205698136"
=== RUN TestGetContextFromLocalDirLocalFile
--- PASS: TestGetContextFromLocalDirLocalFile (0.00s)
=== RUN TestGetContextFromLocalDirWithCustomDockerfile
--- FAIL: TestGetContextFromLocalDirWithCustomDockerfile (0.00s)
Error Trace: context_test.go:135
Error: Not equal:
expected: "/var/folders/_z/phfwjxz50w1clqsnlf4g2ym80000gp/T/builder-context-test009992522"
received: "/private/var/folders/_z/phfwjxz50w1clqsnlf4g2ym80000gp/T/builder-context-test009992522"
On OSX, /var is a symlink to /private/var which causes the tests to fail.