-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Running the go tests in a nix builder which is a sandbox makes them fail:
running tests
=== RUN Test_readConfig_noPath_notExists
config_test.go:22:
Error Trace: /private/tmp/nix-build-antares-.drv-0/source/pkg/config/config_test.go:22
/private/tmp/nix-build-antares-.drv-0/source/pkg/config/config_test.go:38
Error: Received unexpected error:
could not create any of the following paths: /homeless-shelter/Library/Application Support/antares, /homeless-shelter/Library/Preferences/antares, /Library/Application Support/antares, /Library/Preferences/
antares
Test: Test_readConfig_noPath_notExists
--- FAIL: Test_readConfig_noPath_notExists (0.00s)
=== RUN Test_readConfig_noPath_exists
config_test.go:22:
Error Trace: /private/tmp/nix-build-antares-.drv-0/source/pkg/config/config_test.go:22
/private/tmp/nix-build-antares-.drv-0/source/pkg/config/config_test.go:48
Error: Received unexpected error:
could not create any of the following paths: /homeless-shelter/Library/Application Support/antares, /homeless-shelter/Library/Preferences/antares, /Library/Application Support/antares, /Library/Preferences/
antares
Test: Test_readConfig_noPath_exists
--- FAIL: Test_readConfig_noPath_exists (0.00s)
=== RUN TestConfig_Save
config_test.go:22:
Error Trace: /private/tmp/nix-build-antares-.drv-0/source/pkg/config/config_test.go:22
/private/tmp/nix-build-antares-.drv-0/source/pkg/config/config_test.go:60
Error: Received unexpected error:
could not create any of the following paths: /homeless-shelter/Library/Application Support/antares, /homeless-shelter/Library/Preferences/antares, /Library/Application Support/antares, /Library/Preferences/
antares
Test: TestConfig_Save
--- FAIL: TestConfig_Save (0.00s)
Metadata
Metadata
Assignees
Labels
No labels