[open-ils-commits] [GIT] Evergreen ILS branch master updated. a150021887df4898aec00057bb2ab81f8b417fd4

Evergreen Git git at git.evergreen-ils.org
Fri Jun 28 08:12:25 EDT 2019


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, master has been updated
       via  a150021887df4898aec00057bb2ab81f8b417fd4 (commit)
      from  ffcde0b99035f4afee7e527becdf1aa913af6d70 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit a150021887df4898aec00057bb2ab81f8b417fd4
Author: Jason Boyer <JBoyer at library.in.gov>
Date:   Fri Jun 28 07:42:40 2019 -0400

    Correct False Positive on Offline Test
    
    Now that we have filenames with hashes in them
    the likelyhood of finding the numbers 4, 0, and 4
    not as an http status are much higher, leading to
    a false negative on tests that look at the http
    status code. Looking for the string ' 404 ' narrows
    the search to actual 404 errors (at least until we
    have a file that's exactly 404 bytes long in the
    offline interface).
    
    Signed-off-by: Jason Boyer <JBoyer at library.in.gov>
    Signed-off-by: Chris Sharp <csharp at georgialibraries.org>

diff --git a/Open-ILS/src/perlmods/live_t/24-offline-all-assets.t b/Open-ILS/src/perlmods/live_t/24-offline-all-assets.t
index afecee3601..fe61feafe9 100644
--- a/Open-ILS/src/perlmods/live_t/24-offline-all-assets.t
+++ b/Open-ILS/src/perlmods/live_t/24-offline-all-assets.t
@@ -2,7 +2,7 @@
 
 use Test::More tests => 1;
 
-my $command = 'wget --no-check-certificate -m https://localhost/eg/staff/offline-interface 2>&1 |grep -B 2 404|grep https|grep -v robots.txt|wc -l';
+my $command = 'wget --no-check-certificate -m https://localhost/eg/staff/offline-interface 2>&1 |grep -B 2 " 404 "|grep https|grep -v robots.txt|wc -l';
 chomp(my $output = `$command`);
 is($output, '0', "No missing assets required by the offline interface");
 

-----------------------------------------------------------------------

Summary of changes:
 Open-ILS/src/perlmods/live_t/24-offline-all-assets.t | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list