]> git.cameronkatri.com Git - cgit.git/blobdiff - tests/t0109-gitconfig.sh
ui-blob: set CSP just in case
[cgit.git] / tests / t0109-gitconfig.sh
index 24b2942f260d8201782f2c82d1cf0b1e7fff9120..5a842581069f988dd796e378f0535ea07a44a290 100755 (executable)
@@ -22,7 +22,7 @@ test_no_home_access () {
        test_must_fail grep "$non_existant_path" strace.out
 }
 
-function test_no_home_access_success() {
+test_no_home_access_success() {
        test_expect_success "do not access \$HOME: $1" "
                test_no_home_access '$1'
        "
@@ -37,5 +37,6 @@ test_no_home_access_success foo/tree/file-1
 test_no_home_access_success foo/commit
 test_no_home_access_success foo/diff
 test_no_home_access_success foo/patch
+test_no_home_access_success foo/snapshot/master.tar.gz
 
 test_done