diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1999-01-17 03:08:32 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1999-01-17 03:08:32 +0000 |
commit | 2793714fe0c012276471e1be5f322bc60a884db1 (patch) | |
tree | 26944b622d714a0247930649d41525afcf41ab0a /tests | |
parent | fc95947d076de3b8f6056e8d16cb4badc0965500 (diff) | |
download | ATCD-2793714fe0c012276471e1be5f322bc60a884db1.tar.gz |
.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/UNIXclerk.conf | 4 | ||||
-rw-r--r-- | tests/UNIXserver.conf | 4 | ||||
-rw-r--r-- | tests/UNIXtokens.conf | 4 | ||||
-rwxr-xr-x | tests/run_tests.sh | 1 | ||||
-rw-r--r-- | tests/test_config.h | 4 |
5 files changed, 10 insertions, 7 deletions
diff --git a/tests/UNIXclerk.conf b/tests/UNIXclerk.conf index 1f674c21678..3e1e50ac5c3 100644 --- a/tests/UNIXclerk.conf +++ b/tests/UNIXclerk.conf @@ -1,3 +1,3 @@ # Note: hostname and port number need to be concatenated separated by ":" -dynamic Logging_Strategy Service_Object * ../netsvcs/lib/netsvcs:_make_ACE_Logging_Strategy() "-s log/Time_Service_Test_Clerk.log -f OSTREAM" -dynamic Time_Server_Test Service_Object * ../netsvcs/lib/netsvcs:_make_ACE_TS_Clerk_Processor () "-h localhost:10222 -t 4" +dynamic Logging_Strategy Service_Object * netsvcs:_make_ACE_Logging_Strategy() "-s log/Time_Service_Test_Clerk.log -f OSTREAM" +dynamic Time_Server_Test Service_Object * netsvcs:_make_ACE_TS_Clerk_Processor () "-h localhost:10222 -t 4" diff --git a/tests/UNIXserver.conf b/tests/UNIXserver.conf index 23b18fc3c3d..7168d93ead8 100644 --- a/tests/UNIXserver.conf +++ b/tests/UNIXserver.conf @@ -5,6 +5,6 @@ # In addition, you can replace the hardcoded "-p 20xxx" with "-p # $PORTxxx" if you set your environment variables correctly. -dynamic Logging_Strategy Service_Object * ../netsvcs/lib/netsvcs:_make_ACE_Logging_Strategy() "-s log/Time_Service_Test_Server.log -f OSTREAM" -dynamic Time_Service Service_Object * ../netsvcs/lib/netsvcs:_make_ACE_TS_Server_Acceptor() "-p 10222" +dynamic Logging_Strategy Service_Object * netsvcs:_make_ACE_Logging_Strategy() "-s log/Time_Service_Test_Server.log -f OSTREAM" +dynamic Time_Service Service_Object * netsvcs:_make_ACE_TS_Server_Acceptor() "-p 10222" diff --git a/tests/UNIXtokens.conf b/tests/UNIXtokens.conf index 2547639345c..a15f4ab14cc 100644 --- a/tests/UNIXtokens.conf +++ b/tests/UNIXtokens.conf @@ -1,5 +1,5 @@ # Solaris version -dynamic Logging_Strategy Service_Object * ../netsvcs/lib/netsvcs:_make_ACE_Logging_Strategy() "-s log/Tokens_Test_Server.log -f OSTREAM" -dynamic Token_Service Service_Object * ../netsvcs/lib/netsvcs:_make_ACE_Token_Acceptor() "-p 23456" +dynamic Logging_Strategy Service_Object * netsvcs:_make_ACE_Logging_Strategy() "-s log/Tokens_Test_Server.log -f OSTREAM" +dynamic Token_Service Service_Object * netsvcs:_make_ACE_Token_Acceptor() "-p 23456" diff --git a/tests/run_tests.sh b/tests/run_tests.sh index cbf76576920..e005acc7ed7 100755 --- a/tests/run_tests.sh +++ b/tests/run_tests.sh @@ -17,6 +17,7 @@ usage="usage: $0 <target>" IFS="|" tmp=/tmp compilation_log="log/compilations.log" +LD_LIBRARY_PATH=../netsvcs/lib:$LD_LIBRARY_PATH #### #### Process command line arguments. diff --git a/tests/test_config.h b/tests/test_config.h index 122fea878ed..6b750e661f1 100644 --- a/tests/test_config.h +++ b/tests/test_config.h @@ -373,7 +373,9 @@ randomize (int array[], size_t size) for (i = 0; i < size; i++) array [i] = i; - ACE_OS::srand (ACE_OS::time (0L)); + // See with a fixed number so that we can produce "repeatable" + // random numbers. + ACE_OS::srand (0); // Generate an array of random numbers from 0 .. size - 1. |