** NOT PART OF TBOX BUILDS**

Add checking code for component creation


git-svn-id: svn://10.0.0.236/trunk@74244 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
idk%eng.sun.com
2000-07-14 07:19:49 +00:00
parent 6d34885b89
commit 49187dc0e6

View File

@@ -83,7 +83,11 @@ void test() {
//sigsend(P_PID, getpid(),SIGINT);
//test->Test1(2000);
//test->Test1(1000);
test->Test2(a);
if (NS_FAILED(r)) {
printf("failed to get component. try to restart test\n");
} else {
test->Test2(a);
}
printf("--BlackConnect test end\n");
}