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 whitespace
details: https://anonhg.NetBSD.org/src/rev/58e16510c744
branches: trunk
changeset: 372441:58e16510c744
user: jschauma <jschauma%NetBSD.org@localhost>
date: Mon Nov 28 17:09:52 2022 +0000
description:
whitespace
diffstat:
tests/lib/libc/net/t_protoent.sh | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diffs (30 lines):
diff -r eaff91fac76f -r 58e16510c744 tests/lib/libc/net/t_protoent.sh
--- a/tests/lib/libc/net/t_protoent.sh Mon Nov 28 15:28:16 2022 +0000
+++ b/tests/lib/libc/net/t_protoent.sh Mon Nov 28 17:09:52 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: t_protoent.sh,v 1.2 2012/09/03 15:32:18 christos Exp $
+# $NetBSD: t_protoent.sh,v 1.3 2022/11/28 17:09:52 jschauma Exp $
#
# Copyright (c) 2008 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -67,15 +67,15 @@
n = split(names[key], ar);
printf "name=%s, proto=%s, aliases=", ar[1], proto;
for (i=2; i<=n; i++) {
- if (i>2) {
- printf " ";
- }
- printf "%s", ar[i];
+ if (i>2) {
+ printf " ";
+ }
+ printf "%s ", ar[i];
}
printf "\n";
delete ar;
}
- }
+ }
' | sort >exp
# run test program
Home |
Main Index |
Thread Index |
Old Index