Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/net/mcast Detail an error message



details:   https://anonhg.NetBSD.org/src/rev/6441f8ddb183
branches:  trunk
changeset: 808653:6441f8ddb183
user:      ozaki-r <ozaki-r%NetBSD.org@localhost>
date:      Thu May 28 08:32:53 2015 +0000

description:
Detail an error message

diffstat:

 tests/net/mcast/mcast.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r e443f1d0da3c -r 6441f8ddb183 tests/net/mcast/mcast.c
--- a/tests/net/mcast/mcast.c   Thu May 28 06:28:37 2015 +0000
+++ b/tests/net/mcast/mcast.c   Thu May 28 08:32:53 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mcast.c,v 1.1 2015/05/26 00:42:07 ozaki-r Exp $        */
+/*     $NetBSD: mcast.c,v 1.2 2015/05/28 08:32:53 ozaki-r Exp $        */
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 #include <sys/cdefs.h>
 #ifdef __RCSID
-__RCSID("$NetBSD: mcast.c,v 1.1 2015/05/26 00:42:07 ozaki-r Exp $");
+__RCSID("$NetBSD: mcast.c,v 1.2 2015/05/28 08:32:53 ozaki-r Exp $");
 #else
 extern const char *__progname;
 #define getprogname() __progname
@@ -286,7 +286,8 @@
                if (debug)
                        show("got", &msg);
                if (seq != msg.seq)
-                       ERRX(EXIT_FAILURE, "seq %zu != %zu", seq, msg.seq);
+                       ERRX(EXIT_FAILURE, "seq: expect=%zu actual=%zu",
+                           seq, msg.seq);
        }
 }
 



Home | Main Index | Thread Index | Old Index