Merge branch 'ak/gcc46-profile-feedback'
[gitweb.git] / t / t9500-gitweb-standalone-no-errors.sh
index 71ef0acb1ba64d36a7909b5308ab6b6e89c31466..53297156a314a5b5e03385a3ad887eff959359c4 100755 (executable)
@@ -644,4 +644,20 @@ test_expect_success \
        'ctags: search projects by non existent tag' \
        'gitweb_run "by_tag=non-existent"'
 
+test_expect_success \
+       'ctags: malformed tag weights' \
+       'mkdir -p .git/ctags &&
+        echo "not-a-number" > .git/ctags/nan &&
+        echo "not-a-number-2" > .git/ctags/nan2 &&
+        echo "0.1" >.git/ctags/floating-point &&
+        gitweb_run'
+
+# ----------------------------------------------------------------------
+# categories
+
+test_expect_success \
+       'categories: projects list, only default category' \
+       'echo "\$projects_list_group_categories = 1;" >>gitweb_config.perl &&
+        gitweb_run'
+
 test_done