Fix broken test

Related: #1963135
This commit is contained in:
Coty Sutherland 2021-08-02 20:36:07 -04:00
parent 5de042e124
commit c2e03d3eb7
2 changed files with 5 additions and 2 deletions

View File

@ -4,7 +4,7 @@
%global version_minor 2
%global version_micro 48
%global commitid 1c14fc065bc133887fdde55cab954691b3dc3aac
%global serial 17
%global serial 18
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
@ -200,6 +200,9 @@ command="s|/usr/local/bin\b|%{_bindir}|"
%endif
%changelog
* Mon Aug 02 2021 Coty Sutherland <csutherl@redhat.com> - 1.2.48-18
- Fix broken test
* Mon Aug 02 2021 Coty Sutherland <csutherl@redhat.com> - 1.2.48-17
- Fix typo in tests.yml filename

View File

@ -7,7 +7,7 @@
tests:
- verify_httpd_up:
dir: .
run: "curl http://localhost/ &> testfile.log || true && grep '<h1>Fedora Webserver <strong>Test Page</strong></h1>' testfile.log"
run: "curl http://localhost/ &> testfile.log || true && grep '<strong>Test Page</strong>' testfile.log"
- check_error_log:
dir: .
run: "! sudo grep -i error /var/log/httpd/error_log | grep -v \"AH01276\""