aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/newsyslog
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2017-06-03 18:10:04 +0000
committerEnji Cooper <ngie@FreeBSD.org>2017-06-03 18:10:04 +0000
commitf54f69008fd0a3bf2768a83a1757ca83bfbea2d4 (patch)
treebbe0e8f27cce58df99d6e8ff3032f70e4f9983b0 /usr.sbin/newsyslog
parent141173eb9fe578b0a0a107b83d12474b04282738 (diff)
downloadsrc-f54f69008fd0a3bf2768a83a1757ca83bfbea2d4.tar.gz
src-f54f69008fd0a3bf2768a83a1757ca83bfbea2d4.zip
Don't execute the TODO cases in a subshell
This messes up the testcase counter, as seen in bug 219756. PR: 212160, 219756 Sponsored by: Dell EMC Isilon
Notes
Notes: svn path=/head/; revision=319545
Diffstat (limited to 'usr.sbin/newsyslog')
-rw-r--r--usr.sbin/newsyslog/tests/legacy_test.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.sbin/newsyslog/tests/legacy_test.sh b/usr.sbin/newsyslog/tests/legacy_test.sh
index fb2d957e19da..342ae58d431a 100644
--- a/usr.sbin/newsyslog/tests/legacy_test.sh
+++ b/usr.sbin/newsyslog/tests/legacy_test.sh
@@ -380,7 +380,6 @@ tests_time_rotate() {
sleep 1.1
- (
TODO="rotate time 2-4 fail today; bug 212160"
begin "rotate time 2 ${name_postfix}"
@@ -404,7 +403,7 @@ tests_time_rotate() {
ckfe ${LOGFNAME}
chkfcnt 3 ${dir}${LOGFNAME}.*${ext}
end
- )
+ unset TODO
begin "noaction ${name_postfix}"
ofiles=`ls -1 ${dir}${LOGFNAME}.*${ext} | tr -d '\n'`