tests: improve diagnostic when an assertion fails
[gnulib.git] / tests / test-nonblocking-reader.h
index 2099b69..6475939 100644 (file)
@@ -1,6 +1,6 @@
 /* The reader part of a test program for non-blocking communication.
 
-   Copyright (C) 2011 Free Software Foundation, Inc.
+   Copyright (C) 2011-2013 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -106,7 +106,7 @@ full_read_from_nonblocking_fd (size_t fd, void *buf, size_t count)
       dbgfprintf (stderr, "%s: << read -> %ld%s\n", PROG_ROLE,
                   (long) ret, dbgstrerror (ret < 0, saved_errno));
       /* This assertion fails if the non-blocking flag is effectively not set
-         on fd = STDIN_FILENO.  */
+         on fd.  */
       ASSERT (spent_time < 0.5);
       if (ret < 0)
         {