t7004: ship trustdb to avoid gpg warnings
[gitweb.git] / t / t3001-ls-files-others-exclude.sh
index db7a847a5dd13ece7a4ec22d795b8407631d7d4c..fcfcfbba7df50b55df7d002bf9745b912cfcae9b 100755 (executable)
@@ -79,4 +79,24 @@ test_expect_success \
        >output &&
      git diff expect output'
 
+cat > excludes-file << EOF
+*.[1-8]
+e*
+EOF
+
+git-config core.excludesFile excludes-file
+
+git-runstatus | grep "^#       " > output
+
+cat > expect << EOF
+#      .gitignore
+#      a.6
+#      one/
+#      output
+#      three/
+EOF
+
+test_expect_success 'git-status honours core.excludesfile' \
+       'diff -u expect output'
+
 test_done