From: Mike Rylander Date: Tue, 29 Aug 2017 18:42:03 +0000 (-0400) Subject: Fix the "404 asset" test X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=23886b41105ee0e901a29fd113684a24ffd02852;p=working%2FEvergreen.git Fix the "404 asset" test Signed-off-by: Mike Rylander Signed-off-by: Kathy Lussier --- 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 334778f69a..afecee3601 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,6 +2,7 @@ use Test::More tests => 1; -my $command = = 'wget --no-check-certificate -m https://localhost/eg/staff/offline-interface/session 2>&1 |grep -B 2 404|grep https|grep -v robots.txt|wc -l' -is(`$command`, '0', "No missing assets required by the offline interface"); +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");