From 23886b41105ee0e901a29fd113684a24ffd02852 Mon Sep 17 00:00:00 2001 From: Mike Rylander Date: Tue, 29 Aug 2017 14:42:03 -0400 Subject: [PATCH] Fix the "404 asset" test Signed-off-by: Mike Rylander Signed-off-by: Kathy Lussier --- Open-ILS/src/perlmods/live_t/24-offline-all-assets.t | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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"); -- 2.11.0