Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/net/if_gif remove extra shebang and fix a potentially bug
details: https://anonhg.NetBSD.org/src/rev/7b698a5ad47c
branches: trunk
changeset: 342120:7b698a5ad47c
user: knakahara <knakahara%NetBSD.org@localhost>
date: Mon Dec 07 09:59:26 2015 +0000
description:
remove extra shebang and fix a potentially bug
diffstat:
tests/net/if_gif/t_gif.sh | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diffs (28 lines):
diff -r 8d380dabc57b -r 7b698a5ad47c tests/net/if_gif/t_gif.sh
--- a/tests/net/if_gif/t_gif.sh Mon Dec 07 09:41:37 2015 +0000
+++ b/tests/net/if_gif/t_gif.sh Mon Dec 07 09:59:26 2015 +0000
@@ -1,5 +1,4 @@
-#! /usr/bin/atf-sh
-# $NetBSD: t_gif.sh,v 1.1 2015/11/05 00:02:59 knakahara Exp $
+# $NetBSD: t_gif.sh,v 1.2 2015/12/07 09:59:26 knakahara Exp $
#
# Copyright (c) 2015 Internet Initiative Japan Inc.
# All rights reserved.
@@ -285,7 +284,7 @@
peernet=""
opt=""
- if [ ${inner} = "ipv6" ]; then
+ if [ ${mode} = "ipv6" ]; then
peernet=$ROUTER2_LANNET6
opt="-inet6"
else
@@ -296,7 +295,7 @@
atf_check -s exit:0 -o match:gif0 rump.ifconfig
atf_check -s exit:0 -o match:gif0 rump.route -nL get ${opt} ${peernet}
- if [ ${inner} = "ipv6" ]; then
+ if [ ${mode} = "ipv6" ]; then
peernet=$ROUTER1_LANNET6
opt="-inet6"
else
Home |
Main Index |
Thread Index |
Old Index