diff --git a/include/tests_printers_spools b/include/tests_printers_spools index 34147e85..b28d157f 100644 --- a/include/tests_printers_spools +++ b/include/tests_printers_spools @@ -62,8 +62,9 @@ Register --test-no PRNT-2304 --weight L --network NO --description "Check cupsd status" if [ ${SKIPTEST} -eq 0 ]; then logtext "Test: Checking cupsd status" - FIND=`${PSBINARY} ax | grep "cupsd" | grep -v "grep" | grep -v apcupsd` - if [ ! "${FIND}" = "" ]; then + #FIND=`${PSBINARY} ax | grep "cupsd" | grep -v "grep" | grep -v apcupsd` + IsRunning cupsd + if [ ${RUNNING} -eq 1 ]; then Display --indent 2 --text "- Checking cups daemon" --result RUNNING --color GREEN logtext "Result: cups daemon running" CUPSD_RUNNING=1; PRINTING_DAEMON="cups"