OpenSolaris

Printable Version Enter a New Search
Bug ID 6751617
Synopsis dladm show-link -s -i needs to flush stdout after each line
State 10-Fix Delivered (Fix available in build)
Category:Subcategory network:dladm
Keywords
Responsible Engineer Sowmini Varadhan
Reported Against snv_98 , snv_100
Duplicate Of
Introduced In solaris_nevada
Commit to Fix snv_112
Fixed In snv_112
Release Fixed solaris_nevada(snv_112)
Related Bugs 6515065 , 6771510 , 6782154
Submit Date 23-September-2008
Last Update Date 8-April-2009
Description
WiFi GLDv3 test4 from /ws/onnv-stc2-clone/src/suites/gldv3/wifi/common-cmd/show-link
executes the following command:
'dladm show-link wpi0 -s -i 5 > /tmp/show-link.tmp 2>&1 &'
and waits for 100s after which it is
expecting to find  /tmp/show-link.tmp with non-zero bytes
but the redirected output is only flushed after the internal
buffers are filled. 
CR 6740062 removed the redundant printing of headers after each line of output.
So the buffer does not get filled up in 100s, subsequently no
file is found, and the test fails.
Work Around
N/A
Comments
N/A