Page MenuHomeFreeBSD

Fix DTrace test case: common.misc.t_dtrace_contrib.tst_macroglob_ksh
ClosedPublic

Authored by lwhsu on Jul 24 2017, 12:40 PM.
Tags
None
Referenced Files
F106063417: D11713.diff
Tue, Dec 24, 6:44 PM
Unknown Object (File)
Thu, Nov 28, 9:39 PM
Unknown Object (File)
Nov 17 2024, 4:26 AM
Unknown Object (File)
Nov 15 2024, 6:54 AM
Unknown Object (File)
Oct 2 2024, 5:09 PM
Unknown Object (File)
Oct 2 2024, 3:09 PM
Unknown Object (File)
Oct 2 2024, 6:38 AM
Unknown Object (File)
Sep 30 2024, 1:29 AM
Subscribers

Details

Summary

This case does glob on syscalls, and fails on FreeBSD because of syscall set differs than Solaris.

Modify glob patterns and expected output to match FreeBSD's implementation.

Test Plan

cd /usr/tests/cddl/usr.sbin/dtrace/common/misc && kyua debug t_dtrace_contrib:tst_macroglob_ksh

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 10651
Build 11055: arc lint + arc unit

Event Timeline

lwhsu edited the summary of this revision. (Show Details)
cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/misc/tst.macroglob.ksh
34–40

I find it a bit easier to read if the pipe comes before the newline, as you did in the final dtrace invocation.

lwhsu added inline comments.
cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/misc/tst.macroglob.ksh
34–40

right, I reformatted them but missed this one.

This revision is now accepted and ready to land.Jul 25 2017, 10:24 AM
This revision was automatically updated to reflect the committed changes.