gitweb/lib - Very simple file based cache
[git/jnareb-git.git] / t / t9503-gitweb-caching-interface.sh
blob819da1d6da44f6922a6d236e17cb5cf634bc8192
1 #!/bin/sh
3 # Copyright (c) 2010 Jakub Narebski
6 test_description='gitweb caching interface
8 This test checks caching interface used in gitweb caching, and caching
9 infrastructure (GitwebCache::* modules).'
11 # for now we are running only cache interface tests
12 . ./test-lib.sh
14 # this test is present in gitweb-lib.sh
15 if ! test_have_prereq PERL; then
16 skip_all='perl not available, skipping test'
17 test_done
20 "$PERL_PATH" -MTest::More -e 0 >/dev/null 2>&1 || {
21 skip_all='perl module Test::More unavailable, skipping test'
22 test_done
25 # ----------------------------------------------------------------------
27 # The external test will outputs its own plan
28 test_external_has_tap=1
30 test_external \
31 'GitwebCache::* Perl API (in gitweb/lib/)' \
32 "$PERL_PATH" "$TEST_DIRECTORY"/t9503/test_cache_interface.pl
34 test_done