Module Name: src Committed By: pgoyette Date: Thu Jan 10 11:13:50 UTC 2019
Modified Files: src/tests/lib/libc/net/getaddrinfo: t_getaddrinfo.sh Log Message: Remove extraneous && from check_output() With this extra && the test case exits abnormally when the actual and expected outputs don't match. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/tests/lib/libc/net/getaddrinfo/t_getaddrinfo.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/tests/lib/libc/net/getaddrinfo/t_getaddrinfo.sh diff -u src/tests/lib/libc/net/getaddrinfo/t_getaddrinfo.sh:1.2 src/tests/lib/libc/net/getaddrinfo/t_getaddrinfo.sh:1.3 --- src/tests/lib/libc/net/getaddrinfo/t_getaddrinfo.sh:1.2 Wed Jun 15 07:54:32 2011 +++ src/tests/lib/libc/net/getaddrinfo/t_getaddrinfo.sh Thu Jan 10 11:13:50 2019 @@ -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 @@ check_output() 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" }