Module Name: src Committed By: jruoho Date: Thu Jun 25 15:43:27 UTC 2020
Modified Files: src/tests/sbin/ifconfig: t_tap.sh src/tests/usr.sbin/cpuctl: t_cpuctl.sh Log Message: Fix pastos. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/tests/sbin/ifconfig/t_tap.sh cvs rdiff -u -r1.2 -r1.3 src/tests/usr.sbin/cpuctl/t_cpuctl.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_tap.sh diff -u src/tests/sbin/ifconfig/t_tap.sh:1.1 src/tests/sbin/ifconfig/t_tap.sh:1.2 --- src/tests/sbin/ifconfig/t_tap.sh:1.1 Thu Jun 25 14:24:46 2020 +++ src/tests/sbin/ifconfig/t_tap.sh Thu Jun 25 15:43:26 2020 @@ -1,4 +1,4 @@ -# $NetBSD: t_tap.sh,v 1.1 2020/06/25 14:24:46 jruoho Exp $ +# $NetBSD: t_tap.sh,v 1.2 2020/06/25 15:43:26 jruoho Exp $ # # Copyright (c) 2020 The NetBSD Foundation, Inc. # All rights reserved. @@ -50,7 +50,7 @@ manytaps_body() { fi ifconfig "tap$tap" create - echo "Created $tap" + echo "Created tap$tap" done < $taps } Index: src/tests/usr.sbin/cpuctl/t_cpuctl.sh diff -u src/tests/usr.sbin/cpuctl/t_cpuctl.sh:1.2 src/tests/usr.sbin/cpuctl/t_cpuctl.sh:1.3 --- src/tests/usr.sbin/cpuctl/t_cpuctl.sh:1.2 Wed Jun 24 10:07:13 2020 +++ src/tests/usr.sbin/cpuctl/t_cpuctl.sh Thu Jun 25 15:43:26 2020 @@ -1,4 +1,4 @@ -# $NetBSD: t_cpuctl.sh,v 1.2 2020/06/24 10:07:13 jruoho Exp $ +# $NetBSD: t_cpuctl.sh,v 1.3 2020/06/25 15:43:26 jruoho Exp $ # # Copyright (c) 2020 The NetBSD Foundation, Inc. # All rights reserved. @@ -126,13 +126,13 @@ err_body() { -o empty -x cpuctl nointr -1 atf_check -s exit:1 -e ignore \ - -o empty -x cpuctl identify $(exp ncpu + 1) + -o empty -x cpuctl identify $(expr ncpu + 1) atf_check -s exit:1 -e ignore \ - -o empty -x cpuctl offline $(exp ncpu + 1) + -o empty -x cpuctl offline $(expr ncpu + 1) atf_check -s exit:1 -e ignore \ - -o empty -x cpuctl nointr $(exp ncpu + 1) + -o empty -x cpuctl nointr $(expr ncpu + 1) } err_cleanup() {