- Check for validity period in notification listings to distinguish from job listing
test_done
fi
+ printf "Checking for validity period (to distinguis from job listing)... "
+ $SYS_GREP -E "Valid until:</th><td>[0-9 :-]+</td>" https.$$.tmp > /dev/null 2> /dev/null
+
+ if [ "$?" != "0" ]; then
+ test_failed
+ print_error "Validity period inot listed"
+ else
+ test_done
+ fi
+
$SYS_RM https.$$.tmp
fi
test_done
#Start listening for notifications
- ${LBNOTIFY} receive -i 10 ${notifid} > $$_notifications.txt &
+ ${LBNOTIFY} receive ${notifid} > $$_notifications.txt &
recpid=$!
disown $recpid