Source-Changes-HG archive

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

[src/trunk]: src/tests/lib/libc/net/getaddrinfo Remove extraneous && from che...



details:   https://anonhg.NetBSD.org/src/rev/44f220e7cd11
branches:  trunk
changeset: 447420:44f220e7cd11
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Thu Jan 10 11:13:50 2019 +0000

description:
Remove extraneous && from check_output()

With this extra && the test case exits abnormally when the actual and
expected outputs don't match.

diffstat:

 tests/lib/libc/net/getaddrinfo/t_getaddrinfo.sh |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r a36495c4a141 -r 44f220e7cd11 tests/lib/libc/net/getaddrinfo/t_getaddrinfo.sh
--- a/tests/lib/libc/net/getaddrinfo/t_getaddrinfo.sh   Thu Jan 10 10:33:49 2019 +0000
+++ b/tests/lib/libc/net/getaddrinfo/t_getaddrinfo.sh   Thu Jan 10 11:13:50 2019 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: t_getaddrinfo.sh,v 1.2 2011/06/15 07:54:32 jmmv Exp $
+#      $NetBSD: t_getaddrinfo.sh,v 1.3 2019/01/10 11:13:50 pgoyette Exp $
 
 #
 # Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, and 2002 WIDE Project.
@@ -55,7 +55,7 @@
        fi
 
        cmp  -s $(atf_get_srcdir)/data/${exp} out && return
-       diff -u $(atf_get_srcdir)/data/${exp} out && \
+       diff -u $(atf_get_srcdir)/data/${exp} out
        atf_fail "Actual output does not match expected output"
 }
 



Home | Main Index | Thread Index | Old Index