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 When using braces around shell variable n...



details:   https://anonhg.NetBSD.org/src/rev/0f8d0594d620
branches:  trunk
changeset: 325949:0f8d0594d620
user:      gson <gson%NetBSD.org@localhost>
date:      Mon Jan 13 11:08:14 2014 +0000

description:
When using braces around shell variable names, do so consistently

diffstat:

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

diffs (18 lines):

diff -r d551a9a23917 -r 0f8d0594d620 tests/lib/libc/net/t_hostent.sh
--- a/tests/lib/libc/net/t_hostent.sh   Mon Jan 13 10:49:47 2014 +0000
+++ b/tests/lib/libc/net/t_hostent.sh   Mon Jan 13 11:08:14 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: t_hostent.sh,v 1.9 2014/01/13 10:49:47 gson Exp $
+# $NetBSD: t_hostent.sh,v 1.10 2014/01/13 11:08:14 gson Exp $
 #
 # Copyright (c) 2008 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -69,7 +69,7 @@
 gethostbyname4_body()
 {
        start_dns_server 4
-       atf_check -o inline:"$ans4" -x "$HIJACK_DNS ${dir}/h_hostent $res -t auto -4 $n4"
+       atf_check -o inline:"$ans4" -x "$HIJACK_DNS ${dir}/h_hostent ${res} -t auto -4 $n4"
 }
 gethostbyname4_cleanup()
 {



Home | Main Index | Thread Index | Old Index