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
Unknown Object (File)
Sun, Nov 17, 4:26 AM
Unknown Object (File)
Fri, Nov 15, 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
Unknown Object (File)
Sep 29 2024, 10:28 PM
Unknown Object (File)
Sep 11 2024, 7:14 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 10639
Build 11043: 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

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

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.