diff --git a/tests/.urchin b/tests/.urchin_root similarity index 100% rename from tests/.urchin rename to tests/.urchin_root diff --git a/tests/Cross-shell testing/.test-TEST_SHELL-passed-through/.urchin b/tests/Cross-shell testing/.test-TEST_SHELL-passed-through/.urchin_root similarity index 100% rename from tests/Cross-shell testing/.test-TEST_SHELL-passed-through/.urchin rename to tests/Cross-shell testing/.test-TEST_SHELL-passed-through/.urchin_root diff --git a/tests/Cross-shell testing/.test-TEST_SHELL-undefined_or_empty/.urchin b/tests/Cross-shell testing/.test-TEST_SHELL-undefined_or_empty/.urchin_root similarity index 100% rename from tests/Cross-shell testing/.test-TEST_SHELL-undefined_or_empty/.urchin rename to tests/Cross-shell testing/.test-TEST_SHELL-undefined_or_empty/.urchin_root diff --git a/tests/Cross-shell testing/.test-run-by-specified-shell/.urchin b/tests/Cross-shell testing/.test-run-by-specified-shell/.urchin_root similarity index 100% rename from tests/Cross-shell testing/.test-run-by-specified-shell/.urchin rename to tests/Cross-shell testing/.test-run-by-specified-shell/.urchin_root diff --git a/tests/Errors/.test/.urchin b/tests/Errors/.test/.urchin_root similarity index 100% rename from tests/Errors/.test/.urchin rename to tests/Errors/.test/.urchin_root diff --git a/tests/Flags/.test_-e,--exit-on-fail/.urchin b/tests/Flags/.test_-e,--exit-on-fail/.urchin_root similarity index 100% rename from tests/Flags/.test_-e,--exit-on-fail/.urchin rename to tests/Flags/.test_-e,--exit-on-fail/.urchin_root diff --git a/tests/Flags/.testsuite/.urchin b/tests/Flags/.testsuite/.urchin_root similarity index 100% rename from tests/Flags/.testsuite/.urchin rename to tests/Flags/.testsuite/.urchin_root diff --git a/tests/Molly guard/.chainsaw/.urchin b/tests/Molly guard/.chainsaw/.urchin_root similarity index 100% rename from tests/Molly guard/.chainsaw/.urchin rename to tests/Molly guard/.chainsaw/.urchin_root diff --git a/tests/Setup and Teardown/.test/.urchin b/tests/Setup and Teardown/.test/.urchin_root similarity index 100% rename from tests/Setup and Teardown/.test/.urchin rename to tests/Setup and Teardown/.test/.urchin_root diff --git a/urchin b/urchin index 5e59e92..0170ca1 100755 --- a/urchin +++ b/urchin @@ -136,7 +136,7 @@ urchin_root() { return 1 elif test -f "${current}"; then urchin_root "$(dirname -- "${current}")" "${orig}" - elif test -f "${current}"/.urchin; then + elif test -f "${current}"/.urchin_root; then remove_trailing_slash "${current}" else urchin_root "${current}"/.. "${orig}"