diff options
Diffstat (limited to 'pr/tests/runtests.ksh')
-rwxr-xr-x | pr/tests/runtests.ksh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pr/tests/runtests.ksh b/pr/tests/runtests.ksh index c4d027ad..6c64cb4a 100755 --- a/pr/tests/runtests.ksh +++ b/pr/tests/runtests.ksh @@ -39,7 +39,7 @@ SYSTEM_INFO=`uname -a` OS_ARCH=`uname -s` -if [ $OS_ARCH = "Windows_NT" ] +if [ $OS_ARCH = "Windows_NT" ] || [ $OS_ARCH = "OS/2" ] then NULL_DEVICE=nul else @@ -132,6 +132,7 @@ joinuk joinuu layer lazyinit +libfilename lltest lock lockfile @@ -224,7 +225,7 @@ echo "\nNSPR Test Results - $OBJDIR\n" echo "BEGIN\t\t\t`date`" echo "NSPR_TEST_LOGFILE\t${LOGFILE}\n" echo "Test\t\t\tResult\n" -if [ $OS_PLATFORM = "Windows_95" ] || [ $OS_PLATFORM = "Windows_98" ] || [ $OS_PLATFORM = "Windows_NT" ] ; then +if [ $OS_PLATFORM = "Windows_95" ] || [ $OS_PLATFORM = "Windows_98" ] || [ $OS_PLATFORM = "Windows_NT" ] || [ $OS_PLATFORM = "OS/2" ] ; then for prog in $TESTS do echo "$prog\c" @@ -254,7 +255,7 @@ else fi wait $test_pid test_rval=$? - [ sleep_pid -eq 0 ] || kill $sleep_pid >/dev/null 2>&1 + [ $sleep_pid -eq 0 ] || kill $sleep_pid >/dev/null 2>&1 if [ 0 = $test_rval ] ; then echo "\t\t\tPassed"; else |