Enable some previously-disabled DTrace tests for umod, ufunc and usym. They
expect the installed ksh binary to be named "ksh", which is not the case when it's installed on FreeBSD via the shells/ksh93 port. Allow for it to be "ksh93" as well so that the tests can actually pass.
This commit is contained in:
parent
e9be89ce40
commit
bc968a581f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=258903
@ -64,7 +64,7 @@ child=$!
|
||||
# ksh doing work. (This actually goes one step further and assumes that we
|
||||
# catch some non-static function in ksh.)
|
||||
#
|
||||
script | tee /dev/fd/2 | grep 'ksh`[a-zA-Z_]' > /dev/null
|
||||
script | tee /dev/fd/2 | egrep 'ksh(93)?`[a-zA-Z_]' > /dev/null
|
||||
status=$?
|
||||
|
||||
kill $child
|
||||
|
@ -62,7 +62,7 @@ child=$!
|
||||
#
|
||||
# The only thing we can be sure of here is that ksh is doing some work.
|
||||
#
|
||||
script | tee /dev/fd/2 | grep -w ksh > /dev/null
|
||||
script | tee /dev/fd/2 | egrep -w 'ksh(93)?' > /dev/null
|
||||
status=$?
|
||||
|
||||
kill $child
|
||||
|
@ -63,7 +63,7 @@ child=$!
|
||||
# This test is essentially the same as that in the ufunc test; see that
|
||||
# test for the rationale.
|
||||
#
|
||||
script | tee /dev/fd/2 | grep 'ksh`[a-zA-Z_]' > /dev/null
|
||||
script | tee /dev/fd/2 | egrep 'ksh(93)?`[a-zA-Z_]' > /dev/null
|
||||
status=$?
|
||||
|
||||
kill $child
|
||||
|
@ -59,7 +59,6 @@ IGNORE= \
|
||||
${TESTSRCDIR}/tst/common/proc/tst.discard.ksh \
|
||||
${TESTSRCDIR}/tst/common/proc/tst.signal.ksh \
|
||||
${TESTSRCDIR}/tst/common/proc/tst.startexit.ksh \
|
||||
${TESTSRCDIR}/tst/common/profile-n/tst.ufuncsort.c \
|
||||
${TESTSRCDIR}/tst/common/scalars/tst.misc.d \
|
||||
${TESTSRCDIR}/tst/common/scalars/tst.selfarray2.d \
|
||||
${TESTSRCDIR}/tst/common/sysevent/tst.post.c \
|
||||
@ -115,10 +114,6 @@ NOTWORK+= \
|
||||
${TESTSRCDIR}/tst/common/profile-n/tst.func.ksh \
|
||||
${TESTSRCDIR}/tst/common/profile-n/tst.mod.ksh \
|
||||
${TESTSRCDIR}/tst/common/profile-n/tst.sym.ksh \
|
||||
${TESTSRCDIR}/tst/common/profile-n/tst.ufunc.ksh \
|
||||
${TESTSRCDIR}/tst/common/profile-n/tst.ufuncsort.ksh \
|
||||
${TESTSRCDIR}/tst/common/profile-n/tst.umod.ksh \
|
||||
${TESTSRCDIR}/tst/common/profile-n/tst.usym.ksh \
|
||||
${TESTSRCDIR}/tst/common/safety/tst.basename.d \
|
||||
${TESTSRCDIR}/tst/common/safety/tst.caller.d \
|
||||
${TESTSRCDIR}/tst/common/safety/tst.cleanpath.d \
|
||||
|
Loading…
Reference in New Issue
Block a user