Changeset 415 for trunk/test/testrun_2.sh
- Timestamp:
- Nov 1, 2012, 7:45:54 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/testrun_2.sh
r369 r415 537 537 fi 538 538 539 cp $HTML ${HTML}.tmp 540 539 541 kill $PROC_Y 540 542 five_sec_sleep … … 568 570 fi 569 571 570 egrep '<!-- head -->' $ HTML>/dev/null 2>&1572 egrep '<!-- head -->' ${HTML}.tmp >/dev/null 2>&1 571 573 if [ $? -ne 0 ]; then 572 574 [ -z "$verbose" ] || log_msg_fail "head.html"; 573 575 return 1 574 576 fi 575 egrep '<!-- ehead -->' $ HTML>/dev/null 2>&1577 egrep '<!-- ehead -->' ${HTML}.tmp >/dev/null 2>&1 576 578 if [ $? -ne 0 ]; then 577 579 [ -z "$verbose" ] || log_msg_fail "end head.html"; … … 579 581 fi 580 582 581 egrep '<!-- entry -->' $ HTML>/dev/null 2>&1583 egrep '<!-- entry -->' ${HTML}.tmp >/dev/null 2>&1 582 584 if [ $? -ne 0 ]; then 583 585 [ -z "$verbose" ] || log_msg_fail "entry.html"; 584 586 return 1 585 587 fi 586 egrep '<!-- eentry -->' $ HTML>/dev/null 2>&1588 egrep '<!-- eentry -->' ${HTML}.tmp >/dev/null 2>&1 587 589 if [ $? -ne 0 ]; then 588 590 [ -z "$verbose" ] || log_msg_fail "end entry.html"; … … 590 592 fi 591 593 592 egrep '<!-- foot -->' $ HTML>/dev/null 2>&1594 egrep '<!-- foot -->' ${HTML}.tmp >/dev/null 2>&1 593 595 if [ $? -ne 0 ]; then 594 596 [ -z "$verbose" ] || log_msg_fail "foot.html"; 595 597 return 1 596 598 fi 597 egrep '<!-- efoot -->' $ HTML>/dev/null 2>&1599 egrep '<!-- efoot -->' ${HTML}.tmp >/dev/null 2>&1 598 600 if [ $? -ne 0 ]; then 599 601 [ -z "$verbose" ] || log_msg_fail "end foot.html"; … … 609 611 fi; 610 612 } 613 614 rm ${HTML}.tmp 611 615 612 616 return 0
Note:
See TracChangeset
for help on using the changeset viewer.