Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/sbin/ifconfig Ups. Fix shell parameter.



details:   https://anonhg.NetBSD.org/src/rev/e8d59919e752
branches:  trunk
changeset: 935206:e8d59919e752
user:      jruoho <jruoho%NetBSD.org@localhost>
date:      Sat Jun 27 14:04:17 2020 +0000

description:
Ups. Fix shell parameter.

diffstat:

 tests/sbin/ifconfig/t_random_garbage.sh |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (22 lines):

diff -r f0309afcdc29 -r e8d59919e752 tests/sbin/ifconfig/t_random_garbage.sh
--- a/tests/sbin/ifconfig/t_random_garbage.sh   Sat Jun 27 14:03:39 2020 +0000
+++ b/tests/sbin/ifconfig/t_random_garbage.sh   Sat Jun 27 14:04:17 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: t_random_garbage.sh,v 1.1 2020/06/27 13:53:43 jruoho Exp $
+# $NetBSD: t_random_garbage.sh,v 1.2 2020/06/27 14:04:17 jruoho Exp $
 #
 # Copyright (c) 2020 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -38,10 +38,10 @@
 write_garbage() {
        val=$(getrint)
        echo "Test $3: write to $1 opt $2 -> $val"
-       ifconfig $1 $opt $val >/dev/null 2>&1
+       ifconfig $1 $2 $val >/dev/null 2>&1
        val=$(getrstr)
        echo "Test $3: write to $1 opt $2 -> $val"
-       ifconfig $1 $opt $val >/dev/null 2>&1
+       ifconfig $1 $2 $val >/dev/null 2>&1
 }
 
 atf_test_case random_garbage



Home | Main Index | Thread Index | Old Index