Module Name:    src
Committed By:   jruoho
Date:           Sat Jun 27 14:04:17 UTC 2020

Modified Files:
        src/tests/sbin/ifconfig: t_random_garbage.sh

Log Message:
Ups. Fix shell parameter.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/sbin/ifconfig/t_random_garbage.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tests/sbin/ifconfig/t_random_garbage.sh
diff -u src/tests/sbin/ifconfig/t_random_garbage.sh:1.1 src/tests/sbin/ifconfig/t_random_garbage.sh:1.2
--- src/tests/sbin/ifconfig/t_random_garbage.sh:1.1	Sat Jun 27 13:53:43 2020
+++ src/tests/sbin/ifconfig/t_random_garbage.sh	Sat Jun 27 14:04:17 2020
@@ -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 @@ getrstr() {
 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

Reply via email to