tests/libutil: disable guessOrInventPath sockets test
not very useful, fails in docker and on macos. let's disable it for now. fixes #1113 Change-Id: If83ea11ff7120eb7fb30601096374d167107573c
This commit is contained in:
@@ -282,7 +282,11 @@ namespace nix {
|
||||
pipe_read.close();
|
||||
}
|
||||
|
||||
TEST(guessOrInventPath, sockets) {
|
||||
TEST(guessOrInventPath, DISABLED_sockets)
|
||||
{
|
||||
// this test no longer works correctly as a unit test because overly long socket paths
|
||||
// require a libexec helper to bind/connect. we leave it around for reference; sockets
|
||||
// are rarely passed to guessOrInventPath (if this happens at all, we haven't checked)
|
||||
Path socketPath = getUnitTestDataPath("guess-or-invent/socket");
|
||||
createDirs(dirOf(socketPath));
|
||||
AutoCloseFD socket = createUnixDomainSocket(socketPath, 0666);
|
||||
|
||||
Reference in New Issue
Block a user