Repository: deadc0de6/dotdrop (language: python)

Issue:
[bug] Temporary file not cleaned up after running tests
Dotdrop commit: [b53f939](https://github.com/deadc0de6/dotdrop/commit/b53f9396eceafc12b77709d3afb60c244db10bae)

**Describe the bug**

Running the tests creates a file named `.dotdrop.test` in the home directory.

**Steps to Reproduce**

Steps to reproduce the behavior:
1. Make sure `.dotdrop.test` doesn't already exist in the home directory
2. Run `tests.sh`
3. Check that `.dotdrop.test` now exists in the home directory

**Expected behavior**

Running the tests should not affect the home directory or if it does, it should clean up after itself.

**Additional information**

`.dotdrop.test` contains a single word: `modified`

#447 describes a similar kind of problem.



Discussion / hints:

Fix patch:
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 3822d930..9d3bc03e 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -209,7 +209,7 @@ for a match with the ignore patterns.
 
 Dotdrop is tested with the use of the [tests.sh](/tests.sh) script.
 
-* Test for PEP8 compliance with `pylint`, `pycodestyle` and `pyflakes` (see [check-syntax.sh](/scripts/test-syntax.sh))
+* Test for PEP8 compliance with `pylint`, `pycodestyle` and `pyflakes` (see [check-syntax.sh](/scripts/check-syntax.sh))
 * Test the documentation and links (see [check-doc.sh](/scripts/check-doc.sh))
 * Run the unittests in [tests directory](/tests) with pytest (see [check-unittest.sh](/scripts/check-unittests.sh))
 * Run the blackbox bash script tests in [tests-ng directory](/tests-ng) (see [check-tests-ng.sh](/scripts/check-tests-ng.sh))


Test patch:
diff --git a/tests-ng/re-import.sh b/tests-ng/re-import.sh
index 96ffc34a..7db28ea6 100755
--- a/tests-ng/re-import.sh
+++ b/tests-ng/re-import.sh
@@ -35,7 +35,7 @@ tmpd=$(mktemp -d --suffix='-dotdrop-tests' || mktemp -d)
 
 clear_on_exit "${tmps}"
 clear_on_exit "${tmpd}"
-clear_on_exit "${HOME}/.dotdrop-test"
+clear_on_exit "${HOME}/.dotdrop.test"
 
 # create the dotfile
 echo "original" > "${tmpd}"/testfile