Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests Fix pastos.
details: https://anonhg.NetBSD.org/src/rev/51b296e942fb
branches: trunk
changeset: 935137:51b296e942fb
user: jruoho <jruoho%NetBSD.org@localhost>
date: Thu Jun 25 15:43:26 2020 +0000
description:
Fix pastos.
diffstat:
tests/sbin/ifconfig/t_tap.sh | 4 ++--
tests/usr.sbin/cpuctl/t_cpuctl.sh | 8 ++++----
2 files changed, 6 insertions(+), 6 deletions(-)
diffs (44 lines):
diff -r 1c910ef7f642 -r 51b296e942fb tests/sbin/ifconfig/t_tap.sh
--- a/tests/sbin/ifconfig/t_tap.sh Thu Jun 25 15:41:40 2020 +0000
+++ b/tests/sbin/ifconfig/t_tap.sh Thu Jun 25 15:43:26 2020 +0000
@@ -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 @@
fi
ifconfig "tap$tap" create
- echo "Created $tap"
+ echo "Created tap$tap"
done < $taps
}
diff -r 1c910ef7f642 -r 51b296e942fb tests/usr.sbin/cpuctl/t_cpuctl.sh
--- a/tests/usr.sbin/cpuctl/t_cpuctl.sh Thu Jun 25 15:41:40 2020 +0000
+++ b/tests/usr.sbin/cpuctl/t_cpuctl.sh Thu Jun 25 15:43:26 2020 +0000
@@ -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 @@
-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() {
Home |
Main Index |
Thread Index |
Old Index