]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/tests/comment-test
regress: add function to create many dirs
[bacula/bacula] / regress / tests / comment-test
index 9f266a3573c60cf6eb7b4f081ff1a4adaf985890..887e7f5e7da6bdaea7e49f665dda1527d7be5f61 100755 (executable)
@@ -99,4 +99,20 @@ check_two_logs
 #
 rm -f ${tmpsrc}/*.c
 check_restore_tmp_build_diff
+
+grep "This is a comment for $JobName" $tmp/log3.out >/dev/null
+if [ $? != 0 ]; then
+    print_debug "ERR: Can't find comment"
+    estat=1
+fi
+grep "Ticket #1220 requested by toto@bacula.org" $tmp/log3.out >/dev/null
+if [ $? != 0 ]; then
+    print_debug "ERR: Can't find comment"
+    estat=1
+fi
+grep "This is the incremental job" $tmp/log3.out >/dev/null
+if [ $? != 0 ]; then
+    print_debug "ERR: Can't find comment"
+    estat=1
+fi
 end_test