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/39d1eb0a46f5
branches: trunk
changeset: 995927:39d1eb0a46f5
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 be8dc3d17328 -r 39d1eb0a46f5 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