# HG changeset patch # User Paul Boddie # Date 1626040534 -7200 # Node ID 838adec639f9b8a735b3da1863be40b88d375f93 # Parent b287ba4e828bba305497a01bd3a5f6f94c8a2c37 Removed redundant include and definition now that the client library is used. Removed redundant comment: initial notifications are now tested. diff -r b287ba4e828b -r 838adec639f9 tests/dstest_pipe_client.cc --- a/tests/dstest_pipe_client.cc Sun Jul 11 23:21:08 2021 +0200 +++ b/tests/dstest_pipe_client.cc Sun Jul 11 23:55:34 2021 +0200 @@ -30,13 +30,8 @@ #include /* sleep */ #include -#include - -/* Minimum pipe region size in pages. */ - -const unsigned int PIPE_PAGES = 2; /* Use the writer to fill the pipe with data. */ @@ -86,8 +81,6 @@ /* Register the readers for notification. */ - // NOTE: Use the flags to detect initial conditions! - if ((err = client_subscribe(reader1, NOTIFY_CONTENT_AVAILABLE | NOTIFY_PEER_CLOSED)) || (err = client_subscribe(reader2, NOTIFY_CONTENT_AVAILABLE | NOTIFY_PEER_CLOSED))) {