X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=t%2F004_cache_dir.t;fp=t%2F004_cache_dir.t;h=d3dfa3beb5070b127ec6415e219d17d6c2987fb3;hb=7debf8b5eda2ad917af8ccb06f987a1ce8cb14cd;hp=4998b3cb3cf2b802458ac68c5b10f5508219356d;hpb=c53d4d77fccfdd4da51b57d78d86e3347df79dfb;p=deb_pkgs%2Flibapache-gallery-perl.git diff --git a/t/004_cache_dir.t b/t/004_cache_dir.t index 4998b3c..d3dfa3b 100644 --- a/t/004_cache_dir.t +++ b/t/004_cache_dir.t @@ -42,12 +42,12 @@ sub request { } my $r=request(undef, 1); -is(Apache::Gallery::cache_dir($r, 1), '/var/tmp/Apache-Gallery/hostname/uripath1/uripath2'); -is(Apache::Gallery::cache_dir($r, 0), '/var/tmp/Apache-Gallery/hostname/uripath1/uripath2/urifile'); +is(Apache::Gallery::cache_dir($r, 1), '/var/cache/www/hostname/uripath1/uripath2'); +is(Apache::Gallery::cache_dir($r, 0), '/var/cache/www/hostname/uripath1/uripath2/urifile'); $r=request(undef, 0); -is(Apache::Gallery::cache_dir($r, 1), '/var/tmp/Apache-Gallery/location/uripath1/uripath2'); -is(Apache::Gallery::cache_dir($r, 0), '/var/tmp/Apache-Gallery/location/uripath1/uripath2/urifile'); +is(Apache::Gallery::cache_dir($r, 1), '/var/cache/www/location/uripath1/uripath2'); +is(Apache::Gallery::cache_dir($r, 0), '/var/cache/www/location/uripath1/uripath2/urifile'); $r=request('t/cachetest', 1); is(Apache::Gallery::cache_dir($r, 1), 't/cachetest/uripath1/uripath2');