upload-archive: allow user to turn off filters
[gitweb.git] / t / t9500-gitweb-standalone-no-errors.sh
index f5648a669481e66f3cbbb87b769f0f939aad8fab..53297156a314a5b5e03385a3ad887eff959359c4 100755 (executable)
@@ -644,6 +644,14 @@ 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