diff options
Diffstat (limited to 'systemtest/testcases_mandatory/test_manipulation/test.sh')
-rwxr-xr-x | systemtest/testcases_mandatory/test_manipulation/test.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/systemtest/testcases_mandatory/test_manipulation/test.sh b/systemtest/testcases_mandatory/test_manipulation/test.sh index 63e778a..47d70aa 100755 --- a/systemtest/testcases_mandatory/test_manipulation/test.sh +++ b/systemtest/testcases_mandatory/test_manipulation/test.sh @@ -78,11 +78,11 @@ echo "Test by:"$PROGNAME" at "`date`|tee $LOG #---------------------------Precondition------------------------------------------ # check the Postgres -ps -e | grep --quiet postmaster +ps -e | grep --quiet -w postgres if [ $? -ne 0 ] then - echo no postmaster available|tee -a $LOG - exit $CODE_FAIL + echo no postgres available|tee -a $LOG + exit $CODE_FAIL fi # check the Rasdaman @@ -186,7 +186,7 @@ NUM_TOTAL=$(($NUM_SUC + $NUM_FAIL)) if [ $NUM_TOTAL = $NUM_SUC ] then - exit $CODE_OK 0 + exit $CODE_OK else - exit $CODE_FAIL 255 + exit $CODE_FAIL fi |