-
Notifications
You must be signed in to change notification settings - Fork 845
Add Au test for TSVConnFdCreate(). #9063
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
86c6226 to
55dbe18
Compare
|
The review could be split between two reviewers. One could review TSVConnFd.cc lines 1 - 429. The other could review the rest of that file and the other files. |
| # | ||
| tr = Test.AddTestRun() | ||
| tr.Processes.Default.Command = ( | ||
| "N=10 ; while ((N > 0 )) ; do " + |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This script doesn't work on dash (default for /bin/sh on Ubuntu). Suggested change:
"N=10 ; while [ $$N -gt 0 ] ; do " +
"if [ ! -f " + InProgressFilePathspec + " ] ; then exit 0 ; fi ; sleep 1 ; N=$$(( N-1 )) ; " +
"done ; echo 'TIMEOUT' ; exit 1"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK did it.
* Add Au test for TSVConnFdCreate(). * Make TSVConnFd Au test dash shell compatible. Co-authored-by: Walt Karas <wkaras@yahooinc.com>
No description provided.