]> git.phdru.name Git - mimedecode.git/blobdiff - test/test_all
Tests: Install ~/.mime.types for tests if the current user doesn't have it
[mimedecode.git] / test / test_all
index df65454df9050d52c121c78a67a7c7bac33ba7fe..83fd08b847162361030476c926a3d61901da5121 100755 (executable)
@@ -10,6 +10,8 @@ export LC_CTYPE &&
 MAILCAPS="`pwd`"/.mailcap &&
 export MAILCAPS &&
 
+test -r "$HOME"/.mime.types || cp -p .mime.types "$HOME"/.mime.types &&
+
 : ${PYTHON:=python}
 RC=0